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
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.2.tar.gz
(15.9 kB
view details)
Built Distribution
File details
Details for the file dharitri_sdk_core-0.0.2.tar.gz
.
File metadata
- Download URL: dharitri_sdk_core-0.0.2.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c5730baa7bcb76f2a62021692ef8f8494d29ac2f5a90f7a9d767f69b088f0c |
|
MD5 | 6cf147b2b5cc8bee0abb8f7903349f07 |
|
BLAKE2b-256 | 74ef623511ebc0a3794c203515495d0130cbf1fbb01d437d97dc30fe42e0ff89 |
File details
Details for the file dharitri_sdk_core-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: dharitri_sdk_core-0.0.2-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea4f3a5b83f7a4619b8fa9c8059ee343e9f944fa28b74b5ea26a5db714df99d |
|
MD5 | 3d7a47bf129c544b9ddfb1d1ab8fac2a |
|
BLAKE2b-256 | 6d05357884c2ec97fc969c978f8aa4731658a1ab680bfe56c419c882f23498b1 |