# TXP
## Development
The following tools are used for this project:
- [Poetry](https://python-poetry.org/) is used for dependency and package managment
- [Nox](https://nox.thea.codes/en/stable/) is used as automation tool, mainly for testing
- [Black](https://black.readthedocs.io/en/stable/) is the mandatory formatter tool
- [PyEnv](https://github.com/pyenv/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](https://github.com/pyenv/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](https://python-poetry.org/docs/managing-environments#displaying-the-environment-information).
### Testing
Raw data
{
"_id": null,
"home_page": "https://github.com/Traxpert/txp",
"name": "txp",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "IOT,IIOT,Predictive Maintenance",
"author": "Tranxpert",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/26/62/74f63cd5085f778031de9b5ba006d4faf7cca7653562550da172f5f3e268/txp-0.3.4.tar.gz",
"platform": null,
"description": "# TXP\n\n## Development\nThe following tools are used for this project:\n\n- [Poetry](https://python-poetry.org/) is used for dependency and package managment\n- [Nox](https://nox.thea.codes/en/stable/) is used as automation tool, mainly for testing\n- [Black](https://black.readthedocs.io/en/stable/) is the mandatory formatter tool\n- [PyEnv](https://github.com/pyenv/pyenv) is recommended as a tool to handle multiple python versions in developers machines. \n\n### Setup the development environment\n\n1. Install a supported Python version on your machine (compatible Python versions ^3.8). The recommended way is to use [PyEnv](https://github.com/pyenv/pyenv).\n\n2. Install the global Python required dependencies: \n\n ```\n pip install poetry nox\n ```\n\n3. Clone this repository, and execute the following command in the repository root folder:\n\n ```\n poetry install\n ``` \n This will install all the dependencies for `txp` in a virtual enviroment created by Poetry for your project. \n All the required dependencies for development are installed in that virtual enviroment. \n\n4. Configure your IDE to work with the virtual enviroment or the command line if you use an editor. \n\n To activate the virtual enviroment on your terminal (MacOS, Linux) you can execute:\n ```\n source /path/to/poetry/cache/virtualenvs/test-O3eWbxRl-py3.7/bin/activate\n ```\n\n The path to your virtual enviroment location can be found with `poetry env info` [command](https://python-poetry.org/docs/managing-environments#displaying-the-environment-information). \n\n### Testing\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Txp is the main Python Package from Tranxpert predictive maintenance solution",
"version": "0.3.4",
"project_urls": {
"Homepage": "https://github.com/Traxpert/txp",
"Repository": "https://github.com/Traxpert/txp"
},
"split_keywords": [
"iot",
"iiot",
"predictive maintenance"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f65afed9ca1e31557c8678797d091637eeaccb5d4e7e814fcd1be9946f16f772",
"md5": "4695e86838b532146a4cb2ed26f46c2f",
"sha256": "f3953f7573c9fbd812afb269f7dca19c210e6f1eacf2a8d8b3d3597b6692c70c"
},
"downloads": -1,
"filename": "txp-0.3.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4695e86838b532146a4cb2ed26f46c2f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 21528634,
"upload_time": "2023-01-11T17:52:55",
"upload_time_iso_8601": "2023-01-11T17:52:55.341588Z",
"url": "https://files.pythonhosted.org/packages/f6/5a/fed9ca1e31557c8678797d091637eeaccb5d4e7e814fcd1be9946f16f772/txp-0.3.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "266274f63cd5085f778031de9b5ba006d4faf7cca7653562550da172f5f3e268",
"md5": "4a846522dba1f8d3476dcc85d2cc675e",
"sha256": "76dcd089ceacd775f1d1d3afccf0fab861560fee18d455eb686762fff9fc59f8"
},
"downloads": -1,
"filename": "txp-0.3.4.tar.gz",
"has_sig": false,
"md5_digest": "4a846522dba1f8d3476dcc85d2cc675e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 21363957,
"upload_time": "2023-01-11T17:53:00",
"upload_time_iso_8601": "2023-01-11T17:53:00.657215Z",
"url": "https://files.pythonhosted.org/packages/26/62/74f63cd5085f778031de9b5ba006d4faf7cca7653562550da172f5f3e268/txp-0.3.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-11 17:53:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Traxpert",
"github_project": "txp",
"github_not_found": true,
"lcname": "txp"
}