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
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
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
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
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
mdai-0.0.3.tar.gz
(13.1 kB
view hashes)
Built Distribution
mdai-0.0.3-py3-none-any.whl
(15.4 kB
view hashes)