{"id":15896247,"url":"https://github.com/numberoverzero/basicdatabase","last_synced_at":"2025-06-15T11:08:33.477Z","repository":{"id":2984254,"uuid":"4000241","full_name":"numberoverzero/BasicDatabase","owner":"numberoverzero","description":"Basic Database ","archived":false,"fork":false,"pushed_at":"2013-03-14T05:54:04.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T18:32:12.168Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numberoverzero.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-12T01:30:14.000Z","updated_at":"2016-07-24T21:43:31.000Z","dependencies_parsed_at":"2022-08-26T19:21:41.508Z","dependency_job_id":null,"html_url":"https://github.com/numberoverzero/BasicDatabase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/numberoverzero/BasicDatabase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberoverzero%2FBasicDatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberoverzero%2FBasicDatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberoverzero%2FBasicDatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberoverzero%2FBasicDatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numberoverzero","download_url":"https://codeload.github.com/numberoverzero/BasicDatabase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberoverzero%2FBasicDatabase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259964331,"owners_count":22938725,"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":"2024-10-06T09:07:12.443Z","updated_at":"2025-06-15T11:08:33.463Z","avatar_url":"https://github.com/numberoverzero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"To run a session similar to those on \r\nhttp://www.thumbtack.com/challenges, simply ruin Main.py\r\n\r\nNote that this uses a deferred writer, so that responses to \r\ncommands are suppressed until you send \"END\" at which point,\r\nthe entire output is written to screen.\r\n\r\nExample session:\r\n\r\nSET a 50\r\nBEGIN\r\nGET a\r\nSET a 60\r\nBEGIN\r\nUNSET a\r\nGET a\r\nROLLBACK\r\nGET a\r\nCOMMIT\r\nGET a\r\nEND\r\n50\r\nNULL\r\n60\r\n60\r\n\r\n\r\nNote that there is no prompt symbol (as in the sample input/output),\r\nbut one can be specified when creating the DatabaseManager.\r\n\r\nThe following DatabaseManager:\r\nDBM = DatabaseManager.DatabaseManager(GENERIC_DB, '\u003e\u003e\u003e ')\r\n\r\nproduces the following session (same as above)\r\n\r\n\u003e\u003e\u003e SET a 50\r\n\u003e\u003e\u003e BEGIN\r\n\u003e\u003e\u003e GET a\r\n50\r\n\u003e\u003e\u003e SET a 60\r\n\u003e\u003e\u003e BEGIN\r\n\u003e\u003e\u003e UNSET a\r\n\u003e\u003e\u003e GET a\r\nNULL\r\n\u003e\u003e\u003e ROLLBACK\r\n\u003e\u003e\u003e GET a\r\n60\r\n\u003e\u003e\u003e COMMIT\r\n\u003e\u003e\u003e GET a\r\n60\r\n\u003e\u003e\u003e END\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumberoverzero%2Fbasicdatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumberoverzero%2Fbasicdatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumberoverzero%2Fbasicdatabase/lists"}