Skip to main content

Python library for LastMile AI API

Project description

Running Locally

  1. Create a conda environment
  2. Navigate to the aiconfig_tools directory
  3. Install required testing dependencies pip install -r requirements.txt
  4. "install" the aiconfig source package with pip install -e . The -e flag links the package to your local src. Any changes made are automatically updated.

Testing

To run the tests in this repo,

  1. Navigate to the aiconfig_tools directory
  2. Install required testing dependencies pip install -r requirements_dev.txt
  3. "install" the aiconfig source package with pip install -e . The -e flag links the package to your local src. Any changes made are automatically updated.
  4. run tests pytest
  5. run linter flake8

feel free to run black <path_to_src> or black . , to format code, but this is not required. It is easier to use a vscode extension which will automatically format your code on save.

TODO: build a github action workflow to automatically test and lint code.

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

python-aiconfig-1.0.0.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

python_aiconfig-1.0.0-py3-none-any.whl (12.3 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