Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imio/imio.pyutils
Python useful methods
https://github.com/imio/imio.pyutils
Last synced: 5 days ago
JSON representation
Python useful methods
- Host: GitHub
- URL: https://github.com/imio/imio.pyutils
- Owner: IMIO
- Created: 2014-06-02T10:00:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-19T13:48:55.000Z (17 days ago)
- Last Synced: 2024-12-19T14:11:26.827Z (17 days ago)
- Language: Python
- Size: 120 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
Awesome Lists containing this project
README
.. image:: https://github.com/IMIO/imio.pyutils/actions/workflows/main.yml/badge.svg?branch=master
:target: https://github.com/IMIO/imio.pyutils/actions/workflows/main.yml.. image:: https://coveralls.io/repos/github/IMIO/imio.pyutils/badge.svg
:target: https://coveralls.io/github/IMIO/imio.pyutils.. image:: http://img.shields.io/pypi/v/imio.pyutils.svg
:alt: PyPI badge
:target: https://pypi.org/project/imio.pyutils.. contents::
Introduction
============This package provides python useful methods.
It relates to following kinds of operations:
1) 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.2) Various python helpers (utils.py)
About:
* ordereddict and dict manipulations
* list manipulations
* duration recording3) BeautifulSoup methods (bs.py)
* remove elements
* remove attributes
* remove comments
* replace entire strings
* unwrap tags4) Postgres level operations (postgres.py). It requires psycopg2 egg !
It provides helper methods to:
* single or multiple select,
* insert, update, delete rows,
* etc.Tests
=====Can be run with: `bin/python -m unittest discover`