Skip to main content

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.monitor import monitor

@monitor
def my_predict_function():

Development

  1. Clone the repo locally, and switch to a branch other than master.
  2. Create and activate a virtual environment:
$ python3 -m venv env_name
  1. 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.

  1. Increment the version in setup.py, using these rules (or newer).
  2. Install/update some modules:
$ pip3 install --user --upgrade setuptools wheel twine
  1. From the directory containing setup.py, create the wheel:
$ python3 setup.py sdist bdist_wheel
  1. Upload the wheel to PyPI:
$ python3 -m twine upload dist/*

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

dcyd-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

dcyd-0.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page