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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

someutils-0.4.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file someutils-0.4.3.tar.gz.

File metadata

  • Download URL: someutils-0.4.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for someutils-0.4.3.tar.gz
Algorithm Hash digest
SHA256 0481b364b1484c9469fb7014e88e3947d3c0bdd2855004971e777f6e2ebebb93
MD5 5058031d08de069748085b1ed95a2c4e
BLAKE2b-256 fa6c8ab78ccb47e96e3986da64bff8ab95c8d916b4419336b288c7123ad9f395

See more details on using hashes here.

File details

Details for the file someutils-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: someutils-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for someutils-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8207bc008fefe48040d40833d094fdd8b5e1cd97a97ad7ac1f86f836041ac041
MD5 dfb988b9ec4e52a28deac73e139cc798
BLAKE2b-256 0a1da87220b32229536519d496f5f77dcb9b488a17458bdc384d66d1fb4d0f83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page