Skip to main content

Miscellaneous useful bits for python 3.

Project description

misk

Miscellaneous useful bits for python 3.

pip install misk



Changelog

v0.8.0 - 2023-08-03

  • Fixed replace_metavar erroneously treating \ as regex escapes
  • Added repeat_pattern()
  • Added reflow_text()
  • Added to_snake_case()
  • Added to_pascal_case()
  • Added remove_duplicates()

v0.7.1 - 2023-07-17

  • Fixed copy_file() not following symlinks

v0.7.0 - 2022-09-05

  • Added none filter to enumerate_files()
  • Added tabify()
  • Added untabify()
  • Added reindent()

v0.6.1 - 2022-08-13

  • Fixed typos in print_exception()

v0.6.0 - 2022-05-08

  • Added coerce_collection()
  • Added coerce_path()
  • Added enumerate_files()
  • Added enumerate_directories()
  • Added check argument to run_python_script()
  • Added function return type annotations

v0.5.0 - 2021-09-11

  • Added replace_metavar()

v0.4.0 - 2021-04-22

  • Fixed get_all_files() filtering on full paths instead of filenames only
  • Fixed print_exception() output missing a newline

v0.3.0 - 2021-04-20

  • Decoupled begin and end logger for ScopeTimer

v0.2.0 - 2021-04-18

  • Fixed incorrect boolean logic in assert_existing_XXXXX()

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

misk-0.8.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

misk-0.8.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file misk-0.8.1.tar.gz.

File metadata

  • Download URL: misk-0.8.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for misk-0.8.1.tar.gz
Algorithm Hash digest
SHA256 1daac3d5f796b58176232a4ffb7adb9871a818576f5589c92d2fb00baaeba41a
MD5 d8fe5598c00e32844522d10134ad5d74
BLAKE2b-256 36d278cbcec653c88134ab6ad93aa7de19ea1ea6b5e08871371a6c521f3f62b8

See more details on using hashes here.

File details

Details for the file misk-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: misk-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for misk-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da59994e785d5743ddaeb1986b31e1e05af7ba27bb5bbbe1fc2a0d480ba16620
MD5 ebace8dda72fde184a23870366d78004
BLAKE2b-256 867e4bf2f67da87abdcf545d23351b8ac55854852f6896bce16a6b5003501eea

See more details on using hashes here.

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