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/DharitriOne/drt-sdk-py-core.git@v{Version}#egg=drt_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 drt_sdk_core
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drt_sdk_core-0.0.2.tar.gz
(49.4 kB
view hashes)
Built Distribution
Close
Hashes for drt_sdk_core-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c76488031cc383a06b362bee7982b8a6abb4e32dd6e0df9c2406eb871e9157a |
|
MD5 | 0c1a116d69019ceb5d7bc2c538d955c6 |
|
BLAKE2b-256 | 3a56153db5d1ab06e49db305ea0e24d678b53806d136729586d150092fc3316d |