Skip to main content

Txp is the main Python Package from Tranxpert predictive maintenance solution

Project description

TXP

Development

The following tools are used for this project:

  • Poetry is used for dependency and package managment
  • Nox is used as automation tool, mainly for testing
  • Black is the mandatory formatter tool
  • PyEnv is recommended as a tool to handle multiple python versions in developers machines.

Setup the development environment

  1. Install a supported Python version on your machine (compatible Python versions ^3.8). The recommended way is to use PyEnv.

  2. Install the global Python required dependencies:

    pip install poetry nox
    
  3. Clone this repository, and execute the following command in the repository root folder:

    poetry install
    

    This will install all the dependencies for txp in a virtual enviroment created by Poetry for your project. All the required dependencies for development are installed in that virtual enviroment.

  4. Configure your IDE to work with the virtual enviroment or the command line if you use an editor.

    To activate the virtual enviroment on your terminal (MacOS, Linux) you can execute:

    source /path/to/poetry/cache/virtualenvs/test-O3eWbxRl-py3.7/bin/activate
    

    The path to your virtual enviroment location can be found with poetry env info command.

Testing

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

txp-0.3.4.tar.gz (21.4 MB view hashes)

Uploaded Source

Built Distribution

txp-0.3.4-py3-none-any.whl (21.5 MB 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