Simple document-oriented library for PostgresSql and Pydantic. High performance w/ support for large jsonb objects and fast querying using native b-tree indexes.
Project description
nc-db
The nc-db package provides an easy way to use the document/object oriented capabilites of Postgres while maintaining good performance with large object by using B-tree indexes instead of GINs.
Serialization and deserialization is handled for you with pydantic.
Contents
nc_db/ # Python source: Db, handlers, queries, metadata classes, etc.
tests/ # Pytest suite and fixtures (isolated schemas)
k8s/ # K8s StatefulSet, init SQL, and ops scripts
pyproject.toml # Poetry + pytest configuration
.github/ # Issue and PR templates
README.md # This file (schema diagram below)
Run Tests
cd nc_db
poetry run pytest
Publish
python -m build
python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nc_db-0.1.5.tar.gz.
File metadata
- Download URL: nc_db-0.1.5.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86b14f8567abec3a1dac1fe2e59db8d296333f2db9dd953771b0172bc58a7ea1
|
|
| MD5 |
8380e60ed7af8123a6380ea4a69ca71c
|
|
| BLAKE2b-256 |
b82b23cd12f5d6d75aa4d1c5e98382d950b0d021736b77d52220a2c449c23eb1
|
File details
Details for the file nc_db-0.1.5-py3-none-any.whl.
File metadata
- Download URL: nc_db-0.1.5-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71c2573ccc3e3f2130fdba52e53efb87bb8bcbd0597e094b1cabceaeb792523b
|
|
| MD5 |
5cec1928b1e09081170a2cf0c9f38432
|
|
| BLAKE2b-256 |
b6185cde01285e4a94b21e4e6b55d45726171e14f8708842e39b19d242119128
|