# 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;
```
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/ca/89/39cf07184d1902a109ae5b1d73fd857889a061bcdfbd8ab07b18e5afda20/naboo-0.1.5.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```\n\nThen to run tests:\n\n```bash\npytest\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": null,
"version": "0.1.5",
"project_urls": {
"Homepage": "https://github.com/bdoms/naboo",
"Repository": "https://github.com/bdoms/naboo"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0ba23c2cdab5c0a485d69dcddc5e36ebd38d2da097fae27d48b7032f39dc059b",
"md5": "2bf5088b593a84b02b2e0708071fc09a",
"sha256": "96278edeea881ff68b80170ef65b0f3e77a4e53af193d4b2383bcd7f21c69c53"
},
"downloads": -1,
"filename": "naboo-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2bf5088b593a84b02b2e0708071fc09a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 10654,
"upload_time": "2024-11-05T03:17:25",
"upload_time_iso_8601": "2024-11-05T03:17:25.904654Z",
"url": "https://files.pythonhosted.org/packages/0b/a2/3c2cdab5c0a485d69dcddc5e36ebd38d2da097fae27d48b7032f39dc059b/naboo-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca8939cf07184d1902a109ae5b1d73fd857889a061bcdfbd8ab07b18e5afda20",
"md5": "646344d1a2e851ac8b8ac2a1ae363514",
"sha256": "f7a249a33eb0216b3ae4c94b0e3a1c2f57ca1f16afb6bf38de07d73f47707206"
},
"downloads": -1,
"filename": "naboo-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "646344d1a2e851ac8b8ac2a1ae363514",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 10563,
"upload_time": "2024-11-05T03:17:27",
"upload_time_iso_8601": "2024-11-05T03:17:27.856660Z",
"url": "https://files.pythonhosted.org/packages/ca/89/39cf07184d1902a109ae5b1d73fd857889a061bcdfbd8ab07b18e5afda20/naboo-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-05 03:17:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bdoms",
"github_project": "naboo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "naboo"
}