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:
sudo -u postgres psql
Then setup the test database and permissions (or modify the environment variables in pytest.ini instead):
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:
uv run pytest
Lint:
uv run ruff check .
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
naboo-0.1.23.tar.gz
(16.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
naboo-0.1.23-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file naboo-0.1.23.tar.gz.
File metadata
- Download URL: naboo-0.1.23.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71e81d937e91e2075e4828bd8e5ad403d264af30f4c01ac79c8a8c02d703de8e
|
|
| MD5 |
61061af62d6ecafca961c03506a91d8f
|
|
| BLAKE2b-256 |
16c2f43933956b7a6568df077965346a9674d07082e6e6ee28419dd6c10838da
|
File details
Details for the file naboo-0.1.23-py3-none-any.whl.
File metadata
- Download URL: naboo-0.1.23-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a50d08c83a50fc3fbe8710e30b5cf113b08878df057671d1594880480defe678
|
|
| MD5 |
b6daa9232e8bffd3a30fb9e2c2c2d2cd
|
|
| BLAKE2b-256 |
69b4dd93b2d3e4fae985a52bbbba441f6b6bdffae1542c6c4600a5cc19653bfe
|