Some helpers-methods for often repeating and general purposes, to be used of other eggs.
Project description
Introduction
============
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.
Changelog
=========
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)
-----------
- Adjust MANIFEST
0.2 (150920)
-----------
- Add MANIFEST
0.1 (150920)
-----------
- Initial release
============
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.
Changelog
=========
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)
-----------
- Adjust MANIFEST
0.2 (150920)
-----------
- Add MANIFEST
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.
Source Distribution
adi.commons-1.1.tar.gz
(12.7 kB
view hashes)