{"id":35125665,"url":"https://github.com/austinhyde/rowhouse","last_synced_at":"2026-04-28T04:37:55.918Z","repository":{"id":57462834,"uuid":"74313566","full_name":"austinhyde/rowhouse","owner":"austinhyde","description":"A SQLAlchemy wrapper that stays out of your way","archived":false,"fork":false,"pushed_at":"2017-05-13T20:29:19.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-28T04:37:54.075Z","etag":null,"topics":["database","python","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/austinhyde.png","metadata":{"files":{"readme":"README.rst","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":"2016-11-21T01:03:05.000Z","updated_at":"2017-05-17T14:27:57.000Z","dependencies_parsed_at":"2022-09-05T17:22:08.950Z","dependency_job_id":null,"html_url":"https://github.com/austinhyde/rowhouse","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/austinhyde/rowhouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhyde%2Frowhouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhyde%2Frowhouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhyde%2Frowhouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhyde%2Frowhouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austinhyde","download_url":"https://codeload.github.com/austinhyde/rowhouse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhyde%2Frowhouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32367021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["database","python","sql"],"created_at":"2025-12-28T02:35:49.188Z","updated_at":"2026-04-28T04:37:55.910Z","avatar_url":"https://github.com/austinhyde.png","language":"Python","readme":"Rowhouse\n##############################################\n\n|version| |build|\n\n*For when you just want to write SQL*\n\nRowhouse is a SQLAlchemy wrapper that attempts to strike a happy medium between using raw database bindings like\npsycopg2 and using the full SQLAlchemy API.\n\nUse it when:\n\n* You don't want to mess with connections, cursors, sessions, etc\n* You don't need or want an ORM or repository\n* You don't want to look up SQLAlchemy's expression language every time you need a non-trivial query\n* You just want to write some SQL, and work with plain old dicts and lists\n* You want some convenient helper functions for common operations\n\nInstall\n=======\n\n.. code-block:: bash\n\n    pip install rowhouse\n\n\nBasic Usage\n===========\n\n.. code-block:: python\n\n    from rowhouse import Connection\n    db = Connnection('postgresql://localhost/mydatabase')\n\n    # Run some SQL\n    row = db.fetchone('SELECT * FROM users WHERE username = %s', ('mreynolds',))\n    print('Name = ' + row['fullname'])\n\n    for row in db.fetchiter('SELECT * FROM users'):\n        print('User: ' + row['fullname'])\n\n    db.begin()\n    db.execute('CREATE TABLE groups (...)')\n    db.execute('INSERT INTO groups VALUES (%s, %s)', ('firefly', 'mreynolds'))\n    db.commit()\n\n    # Some convenient helpers\n    with db.transaction():\n        row = db.findone('users', username='mreynolds')\n        db.update('users', {\n            'role': 'captain'\n        }, id=row['id'])\n        newrow = db.insert('users', {\n            'fullname': 'Zoe Washburne',\n            'username': 'zwashburne',\n            'role': 'first_mate'\n        })\n\n\nTo Do\n=====\n\n- [x] Implement find* methods\n- [x] Implement insert/update/delete/upsert methods\n- [x] Add tests and CI\n- [x] Add packaging and publish to pypi\n- [ ] More configurability - constructor, setters, etc\n- [ ] **Simple** model support - little more than classes with a Connection baked in and some convenience methods\n\n\n.. |version| image:: https://img.shields.io/badge/version-1.0.3-blue.svg\n\n.. |build| image:: https://img.shields.io/travis/austinhyde/rowhouse/master.svg\n    :target: https://travis-ci.org/austinhyde/rowhouse\n    :alt: Build status of master branch\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinhyde%2Frowhouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustinhyde%2Frowhouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinhyde%2Frowhouse/lists"}