Skip to main content

Python SDK for interacting with the ENLYZE platform https://www.enlyze.com

Project description

Python SDK for interacting with the ENLYZE platform

Getting started with development

We use tox to manage most of the tasks in a development workflow.

To start developing locally, we suggest that you have tox installed in your environment (you can install it globally or in a virtualenv) and then you can run the following command to create a development virtualenv for the project with the required dependencies installed.

$ tox --devenv .venv -e dev

which will create a virtualenv for you under the .venv directory. Afterwards you can activate the virtualenv and start hacking away

$ source .venv/bin/activate

Running the test suite

$ tox

Running the linters

$ tox p -e flake8,black,isort,bandit,tox-fmt,pyproject-fmt

Running mypy

$ tox -e mypy

Generating the documentation

$ tox -e docs

Note that this requires the Enchant C library <https://pyenchant.github.io/pyenchant/install.html> to be installed.

Note for M1 users, the Enchant library doesn’t work out of the box and the workaround in the official docs is brittle, I suggest installing the library from homebrew and setting the environment variable PYENCHANT_LIBRARY_PATH like so:

$ export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib

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

enlyze-1.3.0.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

enlyze-1.3.0-py3-none-any.whl (18.6 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