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.13.tar.gz (11.2 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.13-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naboo-0.1.13.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.7 Linux/6.14.0-15-generic

File hashes

Hashes for naboo-0.1.13.tar.gz
Algorithm Hash digest
SHA256 cddbcb93bfa91a90656fc0f37d7f36471e8416dd2dfc07e2ec716f9cdb15e181
MD5 095bbe5fc5043fece19509d8ebc9aca3
BLAKE2b-256 98dfbdbe9fb0e733caed0c61a08ac2a6a9c2581b90e1736b1892a14a40a66816

See more details on using hashes here.

File details

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

File metadata

  • Download URL: naboo-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.7 Linux/6.14.0-15-generic

File hashes

Hashes for naboo-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f0907d1d43761f0c72802f5468e8df0939324459bfda3a6fe2ab30c2f9f68c6b
MD5 2aa62a2280d8bfc2fcca6d3699c8d17c
BLAKE2b-256 a5aa9ecf0752bf53d259173c66ace2ae1c42c27bdd5e64fcc2d6bfff3539aa78

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