Skip to main content

Core components of the Dharitri Python SDK.

Project description

mx-sdk-py-core

Core components of the Dharitri Python SDK.

Distribution

  • GitHub: git+https://git@github.com/Dharitri-org/drt-sdk-py-core.git@v{Version}#egg=dharitri_sdk_core
  • PyPi

Documentation

docs.dharitri.com

Development setup

Virtual environment

Create a virtual environment and install the dependencies:

python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade

Install development dependencies, as well:

pip install -r ./requirements-dev.txt --upgrade

Above, requirements.txt should mirror the dependencies section of pyproject.toml.

If using VSCode, restart it or follow these steps:

  • Ctrl + Shift + P
  • Select Interpreter
  • Choose ./venv/bin/python.

Tests

Run the tests as follows:

pytest .

Linting

First, install pyright as follows:

npm install --global pyright

Run pyright:

pyright

Run flake8:

flake8 dharitri_sdk_core

Project details


Download files

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

Source Distribution

dharitri_sdk_core-0.0.5.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

dharitri_sdk_core-0.0.5-py3-none-any.whl (69.1 kB view details)

Uploaded Python 3

File details

Details for the file dharitri_sdk_core-0.0.5.tar.gz.

File metadata

  • Download URL: dharitri_sdk_core-0.0.5.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for dharitri_sdk_core-0.0.5.tar.gz
Algorithm Hash digest
SHA256 452bfc71acc1f414fdc65922eb7a3c05904f94e309e9eaaabe13d0597745a7c3
MD5 080511906adf42495f5e75f6962f745d
BLAKE2b-256 f350e93fa8dbe53e52cfd828fdbaf3807c7b109fe92897949542e091e1e48c58

See more details on using hashes here.

File details

Details for the file dharitri_sdk_core-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for dharitri_sdk_core-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 be1f89938055d2f3b1dfbbd604ca18a92b372158a41b298f6b89043d087bb9db
MD5 7a5bf6f7254cf5224b34d3cc8607661a
BLAKE2b-256 1cb11f0f770f51bd34f043d1217f072418d234b595de882907865eb0d1a1f5f0

See more details on using hashes here.

Supported by

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