An open API service indexing awesome lists of open source software.

https://github.com/idf/commons-util-py

Common util functions for Python
https://github.com/idf/commons-util-py

Last synced: over 1 year ago
JSON representation

Common util functions for Python

Awesome Lists containing this project

README

          

# commons-util-py
Common util functions for Python

`dict` tries to encompass everything in Python.

# Usage
Note to rename the root folder to `util`
```bash
git clone git@github.com:idf/commons-util-py.git util
```

Use as subtree
```bash
git remote add -f util git@github.com:idf/commons-util-py.git
git subtree add --prefix util util develop --squash
git subtree pull --prefix util util develop --squash
git subtree push --prefix util util develop
```

Use as standalone project:
* Add parent folder of util to `PYTHONPATH`
* Or Wrap a dummy folder around the project root

# Interface
Compile-time enforcement of interface specifications helps in the construction of large programs. In Python you have to
write more tests. An appropriate testing discipline can help build large complex applications in Python as well as
having interface specifications would. [ref: Python Design](https://docs.python.org/2/faq/design.html)