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.18.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.18-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naboo-0.1.18.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.18.tar.gz
Algorithm Hash digest
SHA256 db533002c97337ec67645efa01d89e155c3b6ec1262bd8d9ea98b7c64202c8f2
MD5 0bbbbcbb9c5eed206271156e408da73a
BLAKE2b-256 8d35217173c5e32359ece78e3ffa180bd5fddccb7fcdd662ec9fab9c2f238725

See more details on using hashes here.

File details

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

File metadata

  • Download URL: naboo-0.1.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 3bce83209a9861ab0ccc920374cfae5a01801e8d507f80d7f8df7a56bee52f8f
MD5 613e48c207efc14f9239b90ec94da7bd
BLAKE2b-256 203ebe454efaf7e243ace5f1fe7312fa5e5bcdc2984514e8993f734cd32a87a9

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