Getting Started
To get started with chainbase for your application, visit the docs at https://chainbase.erob.io/
To contribute to chainbase, see the contributing section below.
Contributing
Getting Started Locally
-
Launch postgres and pgadmin via docker-compose
docker-compose up --build. -
Keeping your containers running, open a new terminal with the root of this repo as the working directory. Install
poetry:pip install poetry(or usepipxon link here if you prefer isolated envs, or consider usingconda). -
Create and enter the virtual environment:
poetry shell -
Install the dependencies
poetry install -
Start the app:
uvicorn examples.example_app:auto_app --reload. -
Open
localhost:8000/v1/docsand start interacting with swagger! -
You can shut down and your db / minio data will persist via docker volumes.
MinIO
- The MinIO console is available at
localhost:9001. Login with user:miniouserand password:minioadminif you launched the containers withdocker-compose up --build.
Hooks and Tests
-
Set up the precommit hook with
pre-commit install. -
Run tests and get coverage with
pytest --cov, and get html reports for vs code live server (or any server) withpytest --cov --cov-report=html:coverage_re -
Open a pull request against the repo! Please write tests, your coverage will automatically be added as a comment to any PR via GH actions.
Viewing Docs Locally
- Install docs dependencies with
pip install -r requirements-docs.txt. - Install
mkdocswithpip install mkdocs-material. - Move into the
docs/endirectory viacd docs/en. - Run
mkdocs serveto start a local server.
Metadata
Release files for chainbase 0.0.3
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 |
|---|---|---|---|---|
| chainbase-0.0.3.tar.gz | 1.8 kB | Without provenance | Details for chainbase-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chainbase-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for chainbase-0.0.3-py3-none-any.whl |
Total release size: 3.8 kB
Release files / chainbase-0.0.3.tar.gz
| Download URL | chainbase-0.0.3.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd560e7ddad5c7f3c7e3d430ef846df35566a0045b66dfd4d5d3836a61d0a23b
|
|
BLAKE2b-256 checksum How to use checksums |
e8fc7c6408ddc065852599b07af1c1898e2a0bcc02118ac37e8348fd9b1947bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.2 Linux/6.2.0-1014-azure
|
Release files / chainbase-0.0.3-py3-none-any.whl
| Download URL | chainbase-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4c12806ea7ae26e4e0f93ebde961383fb23b4e18731a09eaeeb7c770896b062
|
|
BLAKE2b-256 checksum How to use checksums |
1f1c184767226583959a4f93ffc1fd6395da6735260231db31a380cc296fdbfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.2 Linux/6.2.0-1014-azure
|
Security for chainbase 0.0.3
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.