Skip to main content

Some helpers-methods for often repeating and general purposes, to be used of other eggs.

Project description


Some very common filesystem-operations, wrapped into functions with names to
be easily remembered, and adjustments for wanted default behaviours, such as:
When attempting to delete a file which doesn't exist, fail silently.


1.1 (2017-06-06)

- Add isUpcomingWord().

- Add aliases of existing defs: read(), write(), append(), prepend(), contains().

- Sort defs alphabetically.

1.0 (2016-10-21)

- Add newlinesToTags() and iterToTags().

0.9 (2016-07-10)

- Add isEven() and isOdd().

0.8 (2016-05-19)

- Add removeLinesContainingPattern().

0.7 (2016-05-14)

- Add writeFile(), appendToFile() and prependToFile().

0.6 (2015-11-22)

- Add insertAfterNthLine().

0.5 (1509201)

- Let addDirs() fail silently, if the directory to create, exists already.
- Better hlp-msgs.

0.4 (150920)

- Really adjust MANIFEST (good morning Kreuzberg)

0.3 (150920)


0.2 (150920)


0.1 (150920)

- Initial release

Project details

Download files

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

Files for adi.commons, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size adi.commons-1.1.tar.gz (12.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page