Contents
This package provides python useful methods.
It relates to following kinds of operations:
- System level operations (system.py)
It provides helper methods to:
- read and write files,
- read directories,
- execute commands,
- store and load list and dict,
- trace printing,
- creating temporary files,
- etc.
- Various python helpers (utils.py)
About:
- ordereddict and dict manipulations
- list manipulations
- duration recording
- BeautifulSoup methods (bs.py)
- remove elements
- remove attributes
- remove comments
- replace entire strings
- unwrap tags
- Postgres level operations (postgres.py). It requires psycopg2 egg !
It provides helper methods to:
- single or multiple select,
- insert, update, delete rows,
- etc.
Can be run with: bin/python -m unittest discover