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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.10.tar.gz
Algorithm Hash digest
SHA256 40833b5926753a4d13a43e6e28ecce0dc91f544cb1cbc2490e123eef4c98c429
MD5 0b4161ddbc672f1b511c9254afd85de2
BLAKE2b-256 7b4291ef12b8609e49846221e44000d134c697509e9f8ed11b7bc80ca1939fc8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0aadf7629685a9e5174625fc82bc648d091ffe9032432c256eefbbaed1be955c
MD5 5215df5fd224b5a393a518fe29167c64
BLAKE2b-256 925c344f290cd72ff941aa5893591b2c792870aff24c96688dd2dc06aff8dd5c

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