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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 658b01f4ed20d9aa2ed2cc6d6b45907e50d633718cce3c6e28c518b6262d67ba |
|
MD5 | f443156bb884db1d18d466a06059f812 |
|
BLAKE2b-256 | b3016017a17feaa390ea4d9258652b5ab5ef798c0ea2bc87951860ba1075c894 |
Close
Hashes for tekleo_common_utils-0.0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14bdf652df2ef234a2d6ffd45cdab2299cca0ea68629adaa7be3c499f5e23f51 |
|
MD5 | e7bb42b40e352bbecb6c88099d9ba136 |
|
BLAKE2b-256 | d5440d0b28bcd8740cae6a1534940b4fce87ed1304d9377ff55bda6a1dd70eae |