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;

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.3.tar.gz (10.3 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.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naboo-0.1.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-45-generic

File hashes

Hashes for naboo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 009f38684d115e49421ee3364de3eeb5dfc35eeeaa58b59f9abe4ba899fa4026
MD5 c4be74072d81c1fdbc376e610824421e
BLAKE2b-256 a533cba596103cf5f29c0f9a32eec313f5f87540233dc9c965d52dcf39e9b4a9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e19ee7ac595034d6d1ca71e76c8ff213ba781463fa94a1806c47721cccad69e5
MD5 c80b9e957860ccf87e2a7c6af92fe974
BLAKE2b-256 34238c59cc5bc63849c00b314462e96b7f0f5038e4ede29ea0130ca4831490a1

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