Skip to main content

Dcentralab Pypi packages

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.6.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcentrapi-0.6.1.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcentrapi-0.6.1-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file dcentrapi-0.6.1.tar.gz.

File metadata

  • Download URL: dcentrapi-0.6.1.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for dcentrapi-0.6.1.tar.gz
Algorithm Hash digest
SHA256 f742756c4b60c6e3b395ebbfd4575b665e870f186cf8099d1c863a64582128d2
MD5 5bac95fb86b3ef5d1648496b2b0bcbbf
BLAKE2b-256 5d6be10ac48f7e6f5c6ecbd20da0cd24e2f0d0578e920aabdc05a0caf49edf52

See more details on using hashes here.

File details

Details for the file dcentrapi-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: dcentrapi-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for dcentrapi-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5baf5bf4679e5a7a77251b25d6c4c839efd4ab67cb82d05b402a1a14e48d04bb
MD5 230fbdf57a33035f19ed49a02b49cd3e
BLAKE2b-256 ce7b34cc932ceffeaa484f208e520e1acff22bc1f8a851ee4bd8a0aa3285be71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page