# 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/96/c2/f6f8d56c5f6d86c413493608f21aaa7990a133676478fc3fe9d33ccb87b6/naboo-0.1.7.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.7",
"project_urls": {
"Homepage": "https://github.com/bdoms/naboo",
"Repository": "https://github.com/bdoms/naboo"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "83c8f7dd427d85063e397b1fad839deab386815749a5a7234d0caf28911081d0",
"md5": "240671c1ccf6ea24dad75f9ff119313d",
"sha256": "fe4e95ef62f7add762351cfc0375ab769bfac34ae3d9026c77da69ed3d03af25"
},
"downloads": -1,
"filename": "naboo-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "240671c1ccf6ea24dad75f9ff119313d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 10837,
"upload_time": "2024-12-08T20:25:21",
"upload_time_iso_8601": "2024-12-08T20:25:21.213884Z",
"url": "https://files.pythonhosted.org/packages/83/c8/f7dd427d85063e397b1fad839deab386815749a5a7234d0caf28911081d0/naboo-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "96c2f6f8d56c5f6d86c413493608f21aaa7990a133676478fc3fe9d33ccb87b6",
"md5": "66afc0c87104e48b0829378ca727db04",
"sha256": "1e3a396969f961f92f61737be5576b0e27db832c256e69fb4b7494b688371ca9"
},
"downloads": -1,
"filename": "naboo-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "66afc0c87104e48b0829378ca727db04",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 10776,
"upload_time": "2024-12-08T20:25:22",
"upload_time_iso_8601": "2024-12-08T20:25:22.287270Z",
"url": "https://files.pythonhosted.org/packages/96/c2/f6f8d56c5f6d86c413493608f21aaa7990a133676478fc3fe9d33ccb87b6/naboo-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-08 20:25:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bdoms",
"github_project": "naboo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "naboo"
}