Skip to main content

nextline-rdb

PyPI - Version PyPI - Python Version

Test Status Test Status codecov

A plugin for nextline-graphql. A relational database for nextline-graphql.


Table of Contents

Installation

pip install nextline-rdb

Nextline-graphql automatically detects this package as a plugin.

Configuration

Environment variable Default value Description
NEXTLINE_DB__URL sqlite+aiosqlite:// The DB URL of SQLAlchemy

Note: Only tested on SQLite + aiosqlite.

Examples

How to run Nextline-graphql with Nextline RDB

In a virtual environment

Create a virtual environment and install packages.

python -m venv venv
source venv/bin/activate
pip install nextline-graphql
pip install nextline-rdb
pip install uvicorn

Specify the database URL.

export NEXTLINE_DB__URL="sqlite+aiosqlite:///db.sqlite3"

Run on the port 8080.

uvicorn --lifespan on --factory --port 8080 nextlinegraphql:create_app

Check with a web browser at http://localhost:8080/.

In a Docker container

Create a Docker image.

git clone git@github.com:simonsobs/nextline-rdb.git
cd nextline-rdb
docker image build --tag nextline-rdb .

Run on the port 8080 with a file on the host machine db/db.sqlite3 as the persistent DB. The directory db/ and the file db.sqlite3 will be created if they don't exist.

docker run -p 8080:8000 --env NEXTLINE_DB__URL='sqlite+aiosqlite:////db/db.sqlite3' -v "$(pwd)/db:/db" nextline-rdb

Check with a web browser at http://localhost:8080/.

Metadata

Release files for nextline-rdb 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextline-rdb 0.7.1
File Size Uploaded
nextline_rdb-0.7.1.tar.gz 88.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nextline-rdb 0.7.1
File Interpreter ABI Platform
nextline_rdb-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 283.7 kB

Release files / nextline_rdb-0.7.1.tar.gz

Download URL nextline_rdb-0.7.1.tar.gz
Size 88.6 kB
Tags Source
SHA-256 checksum
How to use checksums
207aa1b3366309c01b6cecd83e3c88889a3ffb6cbc128f71437fff944bdbbf2e
BLAKE2b-256 checksum
How to use checksums
ea6508d059dcaec391e9e1ab3c652ffdb021ab87c95637d9bda37c4d355624c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2025.

Transparency log

Release files / nextline_rdb-0.7.1-py3-none-any.whl

Download URL nextline_rdb-0.7.1-py3-none-any.whl
Size 195.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db42169ae48ab8b91e378e44fefca98f2b84d1c034de95582cd921eee54247a1
BLAKE2b-256 checksum
How to use checksums
5f7b1fb4f0557fc53518724b7494cbb67c970b5315f087ba073c9c9e69c9f8ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page