New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

txp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

txp

Txp is the main Python Package from Tranxpert predictive maintenance solution

0.3.4
PyPI
Maintainers
1

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

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

  • Install the global Python required dependencies:

    pip install poetry nox
    
  • 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.

  • 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

Keywords

IOT

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts