Skip to main content

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 blur
  • rotate_bound rotate image bounded, preserving the original dimensions and cutting all rotated content that doesn't fit into original image size
  • rotate_free rotate image freely, changing dimensions to make sure all rotated content fits inside
  • deskew 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tekleo-common-utils-0.0.0.4.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

tekleo_common_utils-0.0.0.4-py3-none-any.whl (14.5 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