Skip to main content

JRDB-Model

ORM for JRDB with flask-sqlalchemy.
You can store jrdb dataset to your database.
This repository does not have fetching scripts.

Setup

set your environmental variable below.
e.g.
DB="sqlite:///tmp/jrdb.db"
https://flask-sqlalchemy.palletsprojects.com/en/2.x/config/

Usage

Install

pip install jrdb_model

Load dataset

from jrdb_model import KaisaiData, create_app

app = create_app()
with app.app_context():
    kaisais = KaisaiData.query.filter_by(ymd='20181118').all()

Engine options

create_app() enables pool_pre_ping by default, so connections closed by the server (e.g. wait_timeout or a DB restart) are replaced instead of raising "MySQL server has gone away". Pass engine_options to override it or to add other create_engine options.

app = create_app(engine_options={"pool_recycle": 3600})

Metadata

Release files for jrdb-model 0.2.15

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

Source distribution (sdist)

Source distribution for jrdb-model 0.2.15
File Size Uploaded Provenance Actions
jrdb_model-0.2.15.tar.gz 14.1 kB With provenance Details for jrdb_model-0.2.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jrdb-model 0.2.15
File Interpreter ABI Platform Actions
jrdb_model-0.2.15-py3-none-any.whl Python 3 none any Details for jrdb_model-0.2.15-py3-none-any.whl

Total release size: 32.3 kB

Release files / jrdb_model-0.2.15.tar.gz

Download URL jrdb_model-0.2.15.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9e52e8a9371e4cf4b8b1268537fe21d860f47c5f1532d9f5dd54ea9298ddcba5
BLAKE2b-256 checksum
How to use checksums
f609906550fbc5f1f348d7976a23fec3b7e27dd4036ffeb0e4289929fafc74f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / jrdb_model-0.2.15-py3-none-any.whl

Download URL jrdb_model-0.2.15-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf536d7b24ff1db58a64625d377345bab2a1f06adb07bdeddab3c8c5a6daeed3
BLAKE2b-256 checksum
How to use checksums
b52a1873880dc5bb86535fa1aef1e537f65e3d209632ec0b69b26e94cf8b925e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Security for jrdb-model 0.2.15

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jrdb_model-0.2.15.tar.gz

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 Oct 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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