Skip to main content

MD.ai Python client library

Project description

mdai-client-py

MD.ai Python client library

Currently pre-alpha -- API may change significantly in future releases.

Development

Python version

Pyenv is recommended for managing python versions. Currently, python 3.6 is used for development.

Dependencies

Pipenv

For initial setup, run:

# Install virtualenv in local directory
export PIPENV_VENV_IN_PROJECT=1

pipenv install --dev --three

VSCode should automatically load the virtualenv located in the current directory. If not, go to Python: Select Interpreter from the command palette.

Formatting

black

Installed as dev dependencies in Pipenv. To use, add the following to user settings:

{
  // ...
  "python.formatting.provider": "black",
  "python.formatting.blackArgs": ["--line-length=100"]
  // ...
}

Linting

Pycodestyle

Installed as dev dependencies in Pipenv. To use, add the following to user settings:

{
  // ...
  "python.linting.enabled": true,
  "python.linting.pylintEnabled": false,
  "python.linting.flake8Enabled": false,
  "python.linting.pep8Enabled": true,
  "python.linting.pep8Path": "pycodestyle",
  "python.linting.pep8Args": ["--max-line-length=100"]
  // ...
}

© 2018 MD.ai, Inc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mdai-0.0.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file mdai-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mdai-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mdai-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2056d6326f55c093abd27942dc6f5614844c3835fb4f8afa6d93567f114b8c98
MD5 a8cf2f86d46f187e8b2b7749f0a60dd4
BLAKE2b-256 4a2aa2c09391afdd5c2349bb39c8c9dbf2b064cd9fc5c6551ff481ad6761b2e4

See more details on using hashes here.

Supported by

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