Helper files/functions/classes for generic Python processes
Project description
toolbox-python
Introduction
The purpose of this package is to provide some helper files/functions/classes for generic Python processes.
Key URLs
For reference, these URL's are used:
| Type | Source | URL |
|---|---|---|
| Git Repo | GitHub | https://github.com/data-science-extensions/toolbox-python |
| Python Package | PyPI | https://pypi.org/project/toolbox-python |
| Package Docs | Pages | https://data-science-extensions.com/python-toolbox/ |
Installation
You can install and use this package multiple ways by using pip, pipenv, or poetry.
Using pip:
-
In your terminal, run:
python3 -m pip install --upgrade pip python3 -m pip install toolbox-python
-
Or, in your
requirements.txtfile, add:toolbox-python
Then run:
python3 -m pip install --upgrade pip python3 -m pip install --requirement=requirements.txt
Using pipenv:
-
Install using environment variables:
In your
Pipfilefile, add:[[source]] url = "https://pypi.org/simple" verify_ssl = false name = "pypi" [packages] toolbox-python = "*"
Then run:
python3 -m pip install pipenv python3 -m pipenv install --verbose --skip-lock --categories=root index=pypi toolbox-python
-
Or, in your
requirements.txtfile, add:toolbox-python
Then run:
python3 -m run pipenv install --verbose --skip-lock --requirements=requirements.txt
-
Or just run this:
python3 -m pipenv install --verbose --skip-lock toolbox-python
Using poetry:
-
In your
pyproject.tomlfile, add:[tool.poetry.dependencies] toolbox-python = "*"
Then run:
poetry install -
Or just run this:
poetry add toolbox-python poetry install poetry sync
Contribution
Contribution is always welcome.
-
Clone your forked/branched repo.
-
Build your environment:
-
With
pipenvon Windows:if (-not (Test-Path .venv)) {mkdir .venv} python -m pipenv install --requirements requirements.txt --requirements requirements-dev.txt --skip-lock python -m poetry run pre-commit install python -m poetry shell
-
With
pipenvon Linux:mkdir .venv python3 -m pipenv install --requirements requirements.txt --requirements requirements-dev.txt --skip-lock python3 -m poetry run pre-commit install python3 -m poetry shell
-
With
poetryon Windows:python -m pip install --upgrade pip python -m pip install poetry python -m poetry init python -m poetry add $(cat requirements/root.txt) python -m poetry add --group=dev $(cat requirements/dev.txt) python -m poetry add --group=test $(cat requirements/test.txt) python -m poetry add --group=docs $(cat requirements/docs.txt) python -m poetry install python -m poetry run pre-commit install python -m poetry shell
-
With
poetryon Linux:python3 -m pip install --upgrade pip python3 -m pip install poetry python3 -m poetry init python3 -m poetry add $(cat requirements/root.txt) python3 -m poetry add --group=dev $(cat requirements/dev.txt) python3 -m poetry add --group=test $(cat requirements/test.txt) python3 -m poetry add --group=docs $(cat requirements/docs.txt) python3 -m poetry install python3 -m poetry run pre-commit install python3 -m poetry shell
-
-
Start contributing.
-
When you're happy with the changes, raise a Pull Request to merge with the main branch again.
Build and Test
To ensure that the package is working as expected, please ensure that:
- You write your code as per PEP8 requirements.
- You write a UnitTest for each function/feature you include.
- The CodeCoverage is 100%.
- All UnitTests are passing.
- MyPy is passing 100%.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toolbox_python-1.0.4.tar.gz.
File metadata
- Download URL: toolbox_python-1.0.4.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b958c6325935b2892b5681c26d7cf59e447ab5c25950a6069aad99e9939e7364
|
|
| MD5 |
70d936835438a06d13294a598818941d
|
|
| BLAKE2b-256 |
e3cba91aa147243c7216c0758429aa197f4fe545d2f1d80bbadcd7ae21762959
|
File details
Details for the file toolbox_python-1.0.4-py3-none-any.whl.
File metadata
- Download URL: toolbox_python-1.0.4-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3d8e60602ffe05b0d35e3cd2b27d97f91f4ad74ec4de6fa0dfec7461440ad86
|
|
| MD5 |
3f1c3cc085cad30ed91c8bd6dfb15164
|
|
| BLAKE2b-256 |
663e93277fb397fde491066c9599c3f8e7578847c4d9c4b7baf9f5d83f19234f
|