Python library for the ProKnow API.
Project description
ProKnow DS - Python SDK
The ProKnow DS - Python SDK library provides convenient access to the ProKnow API from applications written in the Python language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.
Development
Mac OSX
- Install the latest version of python. This will be installed alongside the version that your operating system provides.
- Run the following to install/upgrade
pip
,setuptools
andwheel
.
python3 -m pip install --upgrade pip setuptools wheel
- Create a virtual environment. Note that this will create the directories
bin/
,include/
, and/lib
and the file pyvenv.cfg. These files should be ignored in your distribution
python3 -m venv ./
- Activate the virtual environment. You'll need to do this again each time you open the project in a new terminal window.
source ./bin/activate
Once the virtual environment has been activated, you can use python
and pip
to refer to python3
and pip3
. For example, the following command can be used to install the current directory as a development package allowing you to continue to develop the package without reinstalling it after each change is made.
pip install -e ./
To make the documentation, you'll need to install sphinx with the following command (after initializing your development environment with source ./bin/activate
).
pip install sphinx
Then run make
in the docs/
directory to build the documentation.
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 Distributions
Built Distribution
Hashes for proknow-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7145d589c3b8e0e7beccb0eb94af5df499b60653e95472faf4f7da8adafc56dc |
|
MD5 | 22da404912cde0da6f05d2d21a99dd51 |
|
BLAKE2b-256 | 767de99d0a8079851d2a90dfd9c0bb3d9745d89ae3a6a40502748b801a83377a |