# Naboo
A light-weight, asynchronous ORM-like wrapper around `asyncpg` targeting Python 3.12+.
All records are returned as dictionaries, because you're just going to encode to JSON anyway.
## Testing
Get into postgres:
```bash
sudo -u postgres psql
```
Then setup the test database and permissions (or modify the environment variables in `pytest.ini` instead):
```sql
CREATE DATABASE naboo_test;
CREATE USER naboo_test_user WITH PASSWORD 'naboo_test_password';
GRANT ALL PRIVILEGES ON DATABASE naboo_test TO naboo_test_user;
\c naboo_test;
ALTER SCHEMA public OWNER TO naboo_test_user;
```
Then to run tests:
```bash
pytest
```
Raw data
{
"_id": null,
"home_page": "https://github.com/bdoms/naboo",
"name": "naboo",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": null,
"author": "Brendan Doms",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/f8/36/3a2fb7da747fdb209584abd27adfe9a083a795944da3af72f3c7d82cbd0b/naboo-0.1.8.tar.gz",
"platform": null,
"description": "# Naboo\n\nA light-weight, asynchronous ORM-like wrapper around `asyncpg` targeting Python 3.12+.\n\nAll records are returned as dictionaries, because you're just going to encode to JSON anyway.\n\n\n## Testing\n\nGet into postgres:\n\n```bash\nsudo -u postgres psql\n```\n\nThen setup the test database and permissions (or modify the environment variables in `pytest.ini` instead):\n\n```sql\nCREATE DATABASE naboo_test;\nCREATE USER naboo_test_user WITH PASSWORD 'naboo_test_password';\nGRANT ALL PRIVILEGES ON DATABASE naboo_test TO naboo_test_user;\n\\c naboo_test;\nALTER SCHEMA public OWNER TO naboo_test_user;\n```\n\nThen to run tests:\n\n```bash\npytest\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": null,
"version": "0.1.8",
"project_urls": {
"Homepage": "https://github.com/bdoms/naboo",
"Repository": "https://github.com/bdoms/naboo"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "adec0d70a7b938b4516179e494097681f9a1376649d5590c94e105e3823a9760",
"md5": "b8ea7c285428f2e3473bfea5de1d5ea6",
"sha256": "24246bd337b289bac55fb28a1cd1b762937f6016fc5153e9ad815e7ca6d8a403"
},
"downloads": -1,
"filename": "naboo-0.1.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b8ea7c285428f2e3473bfea5de1d5ea6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 11244,
"upload_time": "2025-02-09T22:44:48",
"upload_time_iso_8601": "2025-02-09T22:44:48.600707Z",
"url": "https://files.pythonhosted.org/packages/ad/ec/0d70a7b938b4516179e494097681f9a1376649d5590c94e105e3823a9760/naboo-0.1.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f8363a2fb7da747fdb209584abd27adfe9a083a795944da3af72f3c7d82cbd0b",
"md5": "d6e26347a2349c9b0a92f0266b25ff0f",
"sha256": "b658f670ad749f35096cd96a56c1f91884cd73ec7aa1a007107ae13954769315"
},
"downloads": -1,
"filename": "naboo-0.1.8.tar.gz",
"has_sig": false,
"md5_digest": "d6e26347a2349c9b0a92f0266b25ff0f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 11171,
"upload_time": "2025-02-09T22:44:50",
"upload_time_iso_8601": "2025-02-09T22:44:50.201134Z",
"url": "https://files.pythonhosted.org/packages/f8/36/3a2fb7da747fdb209584abd27adfe9a083a795944da3af72f3c7d82cbd0b/naboo-0.1.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-09 22:44:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bdoms",
"github_project": "naboo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "naboo"
}