KE-chain Python SDK
Project description
About pykechain
pykechain is a python library for advanced users of KE-chain. It will enable users to connect and fully interact to all features of KE-chain, the digital verification and high tech systems design platform of KE-works. With it you can interact with KE-chain, its parts, projects, activities and all other aspects of KE-chain from within python scripts or iPython / Jupyter notebooks.
It requires a normal user access to a KE-chain (version 3) instance for it to work.
Basic usage
Ensure you have member access to a KE-chain instance and login:
from pykechain import Client kec = Client(url='https://<domain>.ke-chain.com') kec.login(username='demo_user', password='pastaplease')
Now interact with it:
project = kec.scope('Bike Project') for part in project.parts(): print(part.name)
Installation
pykechain is easily installed using pip. pykechain is Python 3.6, 3.7, 3.8, 3.9, 3.10 and pypy3 compatible:
pip install pykechain
Or if you want to live on the edge, install the latest and greatest from the master branch:
pip install https://github.com/KE-works/pykechain/archive/main.zip
In scripts you can either use Pipenv or a pip requirements.txt file to install pykechain as a requirement
in a Pipfile:
[packages] pykechain = "*" # or when you want to install a certain branch pykechain = {ref = "main", git = "https://github.com/KE-works/pykechain"}
in a pip requirements.txt:
pykechain # or when you want to install a certain branch i.e. `master` git+https://github.com/KE-works/pykechain.git@main#egg=pykechain
Changelog
A proper changelog is maintained in the Changelog
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
Built Distribution
File details
Details for the file pykechain-3.17.1.tar.gz
.
File metadata
- Download URL: pykechain-3.17.1.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba416686b0a3c599fcb6e33c57956a6ed6d207b6d1022b71edecc19ac96fa0df |
|
MD5 | 791a5109102c7edc442937df2027db91 |
|
BLAKE2b-256 | 543f388e60dd187813470c0a9d0c5796941254e443fceb3cfa6972db6dedd763 |
File details
Details for the file pykechain-3.17.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pykechain-3.17.1-py2.py3-none-any.whl
- Upload date:
- Size: 186.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72ae40449b17c51b288fe9d3c5987d307d8d54676a6a856305453e4100c9057f |
|
MD5 | 06209942ce7728220103145c6ce76f96 |
|
BLAKE2b-256 | 020810beb42c60de8631fe8bf1f9074d0703ce1710e2607bb71fbce881f10eaf |