{"id":28559237,"url":"https://github.com/toastdriven/bitty","last_synced_at":"2025-08-09T19:22:56.980Z","repository":{"id":57415456,"uuid":"436598","full_name":"toastdriven/bitty","owner":"toastdriven","description":"A tiny storage layer. (v0.4) Serious Python Programmers™ with Enterprise Requirements need not apply.","archived":false,"fork":false,"pushed_at":"2013-12-03T10:12:47.000Z","size":111,"stargazers_count":26,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T16:54:55.976Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toastdriven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-12-14T14:47:32.000Z","updated_at":"2024-09-13T08:36:36.000Z","dependencies_parsed_at":"2022-08-27T18:10:22.113Z","dependency_job_id":null,"html_url":"https://github.com/toastdriven/bitty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fbitty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fbitty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fbitty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fbitty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toastdriven","download_url":"https://codeload.github.com/toastdriven/bitty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fbitty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039719,"owners_count":22796903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T08:36:19.685Z","updated_at":"2025-06-10T08:36:32.447Z","avatar_url":"https://github.com/toastdriven.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"bitty.py\n========\n\nA tiny storage layer.\n\n\nWhy another storage layer?\n--------------------------\n\nI wanted one that was small (both in terms of a single file and in actual kloc),\ntested and could handle multiple data stores. And because it was fun.\n\nExample\n-------\n\n`bitty` supports the usual CRUD methods. For example::\n\n    from bitty import *\n    \n    bit = Bitty('sqlite:///home/code/my_database.db')\n    \n    bit.add('people', name='Claris', says='Moof!', age=37)\n    bit.add('people', name='John Doe', says='No comment.', age=37)\n    \n    # Select all.\n    for row in bit.find('people'):\n        print row['name']\n    \n    bit.close()\n\nSee `examples/` and `tests.py` for more usages.\n\n\nSupported Backends\n------------------\n\n* SQLite\n* Postgres\n* MySQL\n\n\nSchema\n------\n\nYou're responsible for your own schema. bitty does the smallest amount of\nintrospection it can to get by.\n\n\nWhen to use bitty?\n------------------\n\n`bitty` is best used in environments like resource-based APIs and when \nintegrating with other software (like a bigger web framework).\n\nTastes great when used with [itty][1].\n\nSerious Python Programmers™ with Enterprise Requirements need not apply.\n\n[1]: http://github.com/toastdriven/itty\n\n*author: Daniel Lindsley*\n\n*date: 2010-01-20*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fbitty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoastdriven%2Fbitty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fbitty/lists"}