Core components of the Dharitri Python SDK.
Project description
drt-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.6.tar.gz
(46.8 kB
view details)
Built Distribution
File details
Details for the file dharitri_sdk_core-0.0.6.tar.gz
.
File metadata
- Download URL: dharitri_sdk_core-0.0.6.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbdbd117607adedf1d047a5bef4464aa4e127ee8ea352598e71bbbd5cdab9386 |
|
MD5 | fd080fd151a677edfb2a297a324aab9f |
|
BLAKE2b-256 | 4c4257d37542def0216da0346423ae9782daf6f3ba518856ec04bdab2759301f |
File details
Details for the file dharitri_sdk_core-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: dharitri_sdk_core-0.0.6-py3-none-any.whl
- Upload date:
- Size: 74.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 | 669ed1212fc568d9e340994bb0048abf9c2c750bc64e2fbb16129da7a86e3d2b |
|
MD5 | 38371a6bab16e78380f1fa5f0fd4d983 |
|
BLAKE2b-256 | 26904e1265e46dfa195896b12f30e6e1fde949be82bfa4c43bbe72a83e3e6df5 |