Skip to main content

Various utilities for Python

Project description

Someutils

Various utilities for Python projects.

Paths

Require pathlib.

remove_empty_directories(path)

Recursively remove the empty directories within a path.

is_existing directory(path)

Check is a path is an existing directory.

Images

Require pathlib, PIL and exifread.

is_image(path)

Check if a path is a valid image file.

get_tag(path, tag)

Get a specific tag from a path.

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

someutils-0.4.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

someutils-0.4.3-py3-none-any.whl (3.3 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