DAPI
Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Use this link in order to set up the repository.
Development Setup
Install Dependencies
# Install UV if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install project dependencies
uv sync
# Install with testing dependencies
uv sync --extra test
Testing
The project includes comprehensive tests located in the tests/ directory. For detailed testing instructions, see tests/README_TESTING.md.
Quick Test Commands
# Run all tests
uv run pytest tests/
# Run with coverage
uv run pytest tests/ --cov=dcentrapi --cov-report=html --cov-report=term
# Run specific test categories
uv run pytest tests/ -m unit # Unit tests only
uv run pytest tests/ -m integration # Integration tests only
uv run pytest tests/ -m ethereum # Ethereum tests only
Test and Deploy
-
Make your changes on staging branch.
-
Change the package version in Base.py and setup.py. If you added a new file make sure to add it to init.py file.
-
Install the test package using your virtual environment. run
pip install --index-url https://test.pypi.org/simple/ dcentrapi==<the version you deployed> -
Create a local test.py file (do not add to git), import your changes and test them.
-
Once you finished testing, add the changes to main side branch and create a merge request.
Metadata
Release files for dcentrapi 0.6.1
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 |
|---|---|---|---|---|
| dcentrapi-0.6.1.tar.gz | 23.5 kB | Without provenance | Details for dcentrapi-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dcentrapi-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for dcentrapi-0.6.1-py3-none-any.whl |
Total release size: 54.1 kB
Release files / dcentrapi-0.6.1.tar.gz
| Download URL | dcentrapi-0.6.1.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f742756c4b60c6e3b395ebbfd4575b665e870f186cf8099d1c863a64582128d2
|
|
BLAKE2b-256 checksum How to use checksums |
5d6be10ac48f7e6f5c6ecbd20da0cd24e2f0d0578e920aabdc05a0caf49edf52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / dcentrapi-0.6.1-py3-none-any.whl
| Download URL | dcentrapi-0.6.1-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5baf5bf4679e5a7a77251b25d6c4c839efd4ab67cb82d05b402a1a14e48d04bb
|
|
BLAKE2b-256 checksum How to use checksums |
ce7b34cc932ceffeaa484f208e520e1acff22bc1f8a851ee4bd8a0aa3285be71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for dcentrapi 0.6.1
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.