No project description provided
Project description
TekLeo Common Utils
A python package with shared utils methods that can be used in a variety of python projects, but are mostly tailored towards web / ml applications.
Description
Under construction...
Utils OpenCV
blur_gaussian
apply Gaussian blurrotate_bound
rotate image bounded, preserving the original dimensions and cutting all rotated content that doesn't fit into original image sizerotate_free
rotate image freely, changing dimensions to make sure all rotated content fits insidedeskew
deskew (straighten) image, works best on text images, like page scans and etc.
Utils Random
get_random_user_agent
generate a random User-Agent for HTTP headers (using user_agent library)
Installation
Normal installation
pip install tekleo-common-utils
Development installation
git clone https://github.com/jpleorx/tekleo-common-utils.git
cd tekleo-common-utils
pip install --editable .
Links
In case you’d like to check my other work or contact me:
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
Close
Hashes for tekleo-common-utils-0.0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6afee1190e9ef5fed435cd5389d0603be6a25fddf442c8b98e450d8a248d1d01 |
|
MD5 | 321da7726b7cb66deed9f6663efa8b33 |
|
BLAKE2b-256 | 78d48a4fce7d901f4db7bb411c96d10036ee078d191067d6ae29bc6c5ad2087d |
Close
Hashes for tekleo_common_utils-0.0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee378f2c3321c4032192ea5bf9e495201fe144a04a72c98843cfe95832e1d59 |
|
MD5 | 2a55b5956e763f01cae03c7623fd693c |
|
BLAKE2b-256 | addd0d7934e95cb4cea5fd7e4928b4592bc93d1de2c6e8a9d426399db97dcc79 |