{"id":16156849,"url":"https://github.com/saghul/pysophia","last_synced_at":"2025-03-18T20:30:45.863Z","repository":{"id":66099525,"uuid":"13022487","full_name":"saghul/pysophia","owner":"saghul","description":"WIP: Python (CFFI) bindings for Sophia","archived":false,"fork":false,"pushed_at":"2014-05-20T09:12:31.000Z","size":152,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T12:07:00.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/saghul.png","metadata":{"files":{"readme":"README.rst","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":"2013-09-22T23:00:11.000Z","updated_at":"2016-08-27T14:16:24.000Z","dependencies_parsed_at":"2023-02-19T22:30:44.168Z","dependency_job_id":null,"html_url":"https://github.com/saghul/pysophia","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/saghul%2Fpysophia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2Fpysophia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2Fpysophia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2Fpysophia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saghul","download_url":"https://codeload.github.com/saghul/pysophia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950792,"owners_count":20373664,"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-10T01:46:47.935Z","updated_at":"2025-03-18T20:30:45.548Z","avatar_url":"https://github.com/saghul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\npysophia\n========\n\nOverview\n========\n\npysophia is a Python (CFFI based) library wrapping the `Sophia library \u003chttp://sphia.org\u003e`_.\n\n    Sophia is a modern embeddable key-value database designed for a high load environment.\n\n    It has unique architecture that was created as a result of research and rethinking of primary algorithmical\n    constraints, associated with a getting popular Log-file based data structures, such as LSM-tree.\n\n\nNOTE: pysophia is still in early development, not all features all implemented yet, see below.\n\n\nNot (yet) implemented features\n==============================\n\n* Cursors\n* Transactions\n* Maybe some of the options from sp_ctl\n\n\nAPI\n===\n\nThe entire API is contained in a single class, unsurprisingly, ``Sophia``.\n\nCreating (or opening an existing) database::\n\n    db = Sophia('myDB', flags=Sophia.FL_CREAT|Sofia.FL_RDWR)\n\nSetting a value for a given key::\n\n    db.set('foo', 'bar')\n\nGetting the value assigned to a key::\n\n    db.get('foo')\n\nDeleting a key::\n\n    db.delete('foo')\n\nClosing the database, all further operations will raise an exception::\n\n    db.close()\n\n\nAuthor\n======\n\nSaúl Ibarra Corretgé \u003csaghul@gmail.com\u003e\n\n\nLicense\n=======\n\nUnless stated otherwise on-file pysophia uses the MIT license, check LICENSE and NOTICE files.\n\n\nContributing\n============\n\nIf you'd like to contribute, fork the project, make a patch and send a pull\nrequest. Have a look at the surrounding code and please, make yours look\nalike :-) If you intend to contribute a new feature please contact the maintainer\nbeforehand in order to discuss the design.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaghul%2Fpysophia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaghul%2Fpysophia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaghul%2Fpysophia/lists"}