Install
pip install rlstatsdb
Description
rlstatsdb is a simple and easy-to-implement SQLite database manager equipped for storing and fetching Rocket League replay data (as returned from ballchasing.com's API). When fetching data from the database (through the manager) is incredibly easy to navigate, meaning you don't need to memorize the entire dictionary structure of ballchasing's get-replay response.
Usage
For the below example, replay_data is the response dict from https://ballchasing.com/api/replays/<replay_id>. In reality, this can be acquired through various means, such as requests and aiohttp, or through API wrappers such as pychasing and python-ballchasing.
import rlstatsdb
# The database file needs to either be non-existant, empty, or a valid
# SQLite database. If the file is non-existant, a new file will be created
sdb = rlstatsdb.Manager("path_to_database_file")
manifest_id = sdb.add(replay_data)
game = sdb.get(manifest_id)
game.replay_id
game.max_rank.division
game.orange.players[0].stats.core.goals
game.blue.color
# etc.
Metadata
Release files for rlstatsdb 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rlstatsdb-0.0.4.tar.gz | 10.7 kB | Without provenance | Details for rlstatsdb-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rlstatsdb-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for rlstatsdb-0.0.4-py3-none-any.whl |
Total release size: 22.3 kB
Release files / rlstatsdb-0.0.4.tar.gz
| Download URL | rlstatsdb-0.0.4.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3c508f1bd0d1a8ed65e92f199394407ee53d97cd6d7358ab80a75938412b3a8
|
|
BLAKE2b-256 checksum How to use checksums |
c3bbafdbf155cb367f86e884edcede133c8a007ec5e0ef286528314e6fc51eac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Release files / rlstatsdb-0.0.4-py3-none-any.whl
| Download URL | rlstatsdb-0.0.4-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee123dc7a741cae03393a3d1be9dcecefe3a150004561001238170b63b8a5188
|
|
BLAKE2b-256 checksum How to use checksums |
9ce820272c506d9574d400b50392b0714774915923abef6eb5222b3c0a96cfa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Security for rlstatsdb 0.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.