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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 599e8b4bf51d016e8aba3db8011ee745e39da18a14e85594012fb225a9c808f1
MD5 2464914fce715f08a936f9c28dbf2274
BLAKE2b-256 0019e65454936d025c66a05d7b2b41f4a8cd8a2b095dcdc3a2e2ef34fdf7357f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for naboo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08e18e9e79cfdaed5bf5446ef9cb77bf22a7e694f35d0b6735239d86d59b4d44
MD5 5db4f01f87138aa8f09c5516932676f7
BLAKE2b-256 f50623fdc2523b824048041d5bddfd693c39e81fc30ea9a402f6bd966552a9c4

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