Skip to main content

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


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.6.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

naboo-0.1.6-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file naboo-0.1.6.tar.gz.

File metadata

  • Download URL: naboo-0.1.6.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-9-generic

File hashes

Hashes for naboo-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d0265abbe1e929a8be40b20a8fb1f490edc5c4afae8d4b2d56e11e8426016b85
MD5 ddff7899ff97b6863e9d695a68b86689
BLAKE2b-256 8165cb17a423dd0fd1d5f00aca0a07c74d0248902ee3f22e75e422fe18127a4c

See more details on using hashes here.

File details

Details for the file naboo-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: naboo-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-9-generic

File hashes

Hashes for naboo-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 08f24c9d20872ad809502d0e568383503fd754f807e71fda057d689d38fc49c5
MD5 e91d0b6c1dd952301ad221946f4d8481
BLAKE2b-256 ee8a988d5de099ff93f4ae168b355e6c034bf5c2adb9ddedba25d8e3824b0eb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page