dcyd model performance monitoring client
Project description
MPM Model Performance Monitoring client
Installation
$ pip3 install dcyd $ dcyd-config AN_ALPHANUMERIC_USERNAME $ export DCYD_CONFIG_FILE=/some/path/dcyd-key.json
Usage
from dcyd.mpm import mpm @mpm def my_predict_function(some args, some kwargs): ... return some scalar
Development
- Clone the repo locally, and switch to a branch other than
master
. - Create and activate a virtual environment:
$ python3 -m venv my_env_name
- From the directory containing
setup.py
:
$ pip3 install .
or
$ pip3 install -e .
(These are in place of python3 setup.py install
and python3 setup.py develop
, for reasons explained here.
Distributing the package in PyPI
This process comes from this turorial.
- Increment the version in
setup.py
, using these rules (or newer). - Install/update some modules:
$ pip3 install --user --upgrade setuptools wheel twine
- From the directory containing
setup.py
(and not in a virtual environment), create the wheel:
$ python3 setup.py sdist bdist_wheel
- Upload the wheel to PyPI:
$ python3 -m twine upload dist/*
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
dcyd-0.0.3.tar.gz
(3.8 kB
view hashes)
Built Distribution
dcyd-0.0.3-py3-none-any.whl
(5.6 kB
view hashes)