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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a3d9c7f32c67ec797027c4be820f5f99504c402a41475dfb2b3e6e9e7dc42b |
|
MD5 | a2c8a9e1bb550b8c9664502039e0ea1a |
|
BLAKE2b-256 | 7ae1acdfbf556999cc954fee3b85cf482e2d264410f7a213dc97e61667fdcb85 |
Close
Hashes for tekleo_common_utils-0.0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ce270df19119d5c20d5df5cdd9719afce85bd595b97ec8d6faba2beac683d9 |
|
MD5 | 854afa09e325a42f71752151626a8be2 |
|
BLAKE2b-256 | 55e5f3fd771ae0b56d90a223b0dddf42647aa25b09f11c8ec7334b72085b4bf3 |