Name | naboo JSON |
Version |
0.1.19
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2025-08-08 03:24:46 |
maintainer | None |
docs_url | None |
author | Brendan Doms |
requires_python | >=3.12 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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": null,
"name": "naboo",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": null,
"author": "Brendan Doms",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/8c/63/df99ee1ac7c4408b3a9cf9a8cf71047cb102fafa85bf3c6cf1efc61fbf17/naboo-0.1.19.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.19",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f28e6aabc6bf1e7c123e0310594df9c131f67a692bd5f5412afb23223628c713",
"md5": "7de4a0d093e01bdebf74b34de8b97a14",
"sha256": "8ac09ed9ab09d8173c7ca13e827e91ca8c00a1261d5a8c28a157a3a32a654635"
},
"downloads": -1,
"filename": "naboo-0.1.19-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7de4a0d093e01bdebf74b34de8b97a14",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 11981,
"upload_time": "2025-08-08T03:24:45",
"upload_time_iso_8601": "2025-08-08T03:24:45.394500Z",
"url": "https://files.pythonhosted.org/packages/f2/8e/6aabc6bf1e7c123e0310594df9c131f67a692bd5f5412afb23223628c713/naboo-0.1.19-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8c63df99ee1ac7c4408b3a9cf9a8cf71047cb102fafa85bf3c6cf1efc61fbf17",
"md5": "5c1b8c6b9ba4a6f85af13473e57fc122",
"sha256": "fac62420aed00be6729175741d4cfc1678f06af65838eaa9ccdb66747424c5dc"
},
"downloads": -1,
"filename": "naboo-0.1.19.tar.gz",
"has_sig": false,
"md5_digest": "5c1b8c6b9ba4a6f85af13473e57fc122",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 11735,
"upload_time": "2025-08-08T03:24:46",
"upload_time_iso_8601": "2025-08-08T03:24:46.557748Z",
"url": "https://files.pythonhosted.org/packages/8c/63/df99ee1ac7c4408b3a9cf9a8cf71047cb102fafa85bf3c6cf1efc61fbf17/naboo-0.1.19.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-08 03:24:46",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "naboo"
}