{"id":23381130,"url":"https://github.com/dasfmi/nosferatu","last_synced_at":"2025-04-08T08:19:52.011Z","repository":{"id":262617713,"uuid":"106230504","full_name":"dasfmi/nosferatu","owner":"dasfmi","description":"Access your postgres db as python objects","archived":false,"fork":false,"pushed_at":"2017-10-18T01:08:41.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T05:19:51.977Z","etag":null,"topics":["objects","oop","postgres","python"],"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/dasfmi.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-09T03:02:11.000Z","updated_at":"2019-04-12T11:46:20.000Z","dependencies_parsed_at":"2024-11-13T11:40:54.122Z","dependency_job_id":"cb8fdd96-e2a3-4882-8505-606b910c80a7","html_url":"https://github.com/dasfmi/nosferatu","commit_stats":null,"previous_names":["dasfmi/nosferatu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnosferatu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnosferatu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnosferatu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnosferatu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasfmi","download_url":"https://codeload.github.com/dasfmi/nosferatu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801160,"owners_count":20998339,"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":["objects","oop","postgres","python"],"created_at":"2024-12-21T20:39:47.839Z","updated_at":"2025-04-08T08:19:51.983Z","avatar_url":"https://github.com/dasfmi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nosferatu\n(this project is for learning purposes and still under heavy development and breaking changes)\n\nAccess your postgres db,tables,columns as objects\n\ne.g:\n\n```python\nfrom nosferatu import Nosferatu\n\ncon = {'host': localhost, 'database': 'your_db_name'}\ndb = Nosferatu.connect(con)\n# print list of tables that exists in the db\nfor t in db.tables:\n    print(t)\n\n# assuming there is a table called posts\ndb.posts.inspect() # retrieves list of columns\n# id\n# title\n# body\n# created_at\n\n# retreive list of posts\nposts = db.posts.filter(\"title LIKE '%hello%'\").all()\nfor p in posts:\n    print(p.title, p.created_at)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasfmi%2Fnosferatu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasfmi%2Fnosferatu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasfmi%2Fnosferatu/lists"}