Skip to main content

Yet another collection of Python utility functions

Project description

Pyng is a collection of Python utility functions I’ve written over the years, and that I keep wishing were available everywhere. Sadly, in many cases I’ve simply pasted copies of individual functions as needed. But no more!

It’s organized as follows:

  • exc: manipulate exceptions, e.g. reraise, retry

  • iters: generic iterator functionality, akin to itertools

  • genio: generator-based file I/O, loosely related to Java file streams

  • relwalk: os.walk() filtered to produce pathnames relative to the starting directory

  • replacefile: filter a text file in-place

Please see the individual docstrings for more information.

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

Pyng-0.4.0.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file Pyng-0.4.0.tar.gz.

File metadata

  • Download URL: Pyng-0.4.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Pyng-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e9e1a58ce478a4638eeb989add8023c04b8f0d4ef509a5a40acf8c64f6ff0e4e
MD5 a15636d0cfb2613f79f2da902d6e9fe4
BLAKE2b-256 19d3c9c5dcccfe3aa012ff0ff5ac19510e3b1240bb6c4c7c18edb80139325c5c

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