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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.17.tar.gz
Algorithm Hash digest
SHA256 dd25b733a7ce73358e8b5eef145649806cddb416bc8815345d61f48d4d7a16a2
MD5 1ce96a95b0fef86e6d875555a970de07
BLAKE2b-256 463d07b9d09115736ed1e3ec6b176294eceb48833f8b64c4ca80ad820e89745c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 590cf68d06acd3ed8ed47d7730fb93d4ae089269cbc40faad484e66fd6d30de4
MD5 0a6195534920d6a66b5bd854a3c0cf11
BLAKE2b-256 a5f6687d4af61be0e2c0f046e64f56e8a386dfae1f120223703481af69beb65a

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