No project description provided
Project description
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:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file naboo-0.1.10.tar.gz.
File metadata
- Download URL: naboo-0.1.10.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-24-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40833b5926753a4d13a43e6e28ecce0dc91f544cb1cbc2490e123eef4c98c429
|
|
| MD5 |
0b4161ddbc672f1b511c9254afd85de2
|
|
| BLAKE2b-256 |
7b4291ef12b8609e49846221e44000d134c697509e9f8ed11b7bc80ca1939fc8
|
File details
Details for the file naboo-0.1.10-py3-none-any.whl.
File metadata
- Download URL: naboo-0.1.10-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-24-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aadf7629685a9e5174625fc82bc648d091ffe9032432c256eefbbaed1be955c
|
|
| MD5 |
5215df5fd224b5a393a518fe29167c64
|
|
| BLAKE2b-256 |
925c344f290cd72ff941aa5893591b2c792870aff24c96688dd2dc06aff8dd5c
|