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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 505c7b726a115048d795dbcfb4ff8ddc4ccbf33c6763be13c580bb8816891fce |
|
MD5 | 47a4709e4aeb16d6f012bad72ffdd876 |
|
BLAKE2b-256 | 18716a3bdc48a264d4dd636a0c747d94e1a5a8e5c4722fba32ff1d9503a80c02 |
Close
Hashes for tekleo_common_utils-0.0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75490dbb0b131d2176b029f15b92f0635eaca8690ebd2fc78b954f3362fb2384 |
|
MD5 | 85db263e51e2c44efd24425cc7723aa4 |
|
BLAKE2b-256 | c0a8b74d8a7b10d27f7d5dd4eac132b6ce46b048b90a6f1df8fd5308afa84ad7 |