Skip to main content

cleaning-utils is a collection of small Python functions and classes for formatting persian texts.

Project description

cleaning-utils

cleaning-utils version Python Version coverage report static analysis vulnerabilities lint report Dependencies Status

interrogate maintainability complexity Code style: black Security: bandit Pre-commit License

cleaning-utils is a collection of small Python functions and classes which make cleaning pipelines shorter and easier.

Install

pip3 install cleaning-utils

Contributing

Testing:

make install
make test && make coverage && make check-codestyle && make mypy && make check-safety && make extrabadges

Checks on various versions:

python3.8 -m venv .venv_38
. .venv_38/bin/activate
python3 -m pip install --upgrade pip
make install
make test && make coverage && make check-codestyle && make mypy && make check-safety
deactivate

python3.9 -m venv .venv_39
. .venv_39/bin/activate
python3 -m pip install --upgrade pip
make install
make test && make coverage && make check-codestyle && make mypy && make check-safety
deactivate

Build Package:

pre-commit run --all-files

First, change the version in setup.py, pyproject.toml, and change the __version__ in __init__.py. Then:

python3 setup.py sdist bdist_wheel

Commit Changes:

pre-commit run --all-files
git add .
git commit -m ":sparkles: new feature"
git pull
git push -u origin master

Make a release:

git tag -a <write the version e.g., v0.1.2> -m "message of release"
git push --tags
make release

Commit Changes to README.md:

pre-commit run --all-files
git add .
git commit -m ":books: README.md updated"
git pull
git push -u origin master
Icon made from Icon Fonts is licensed by CC BY 3.0

Credits 🚀 Your next Python package needs a bleeding-edge project structure.

This project was generated with python-package-template

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

cleaning-utils-0.1.5.tar.gz (14.6 kB view hashes)

Uploaded Source

Built Distribution

cleaning_utils-0.1.5-py3-none-any.whl (18.3 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