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
- Host: GitHub
- URL: https://github.com/idf/commons-util-py
- Owner: idf
- License: apache-2.0
- Created: 2015-01-18T06:33:53.000Z (over 11 years ago)
- Default Branch: develop
- Last Pushed: 2017-05-05T21:12:35.000Z (about 9 years ago)
- Last Synced: 2025-01-20T21:16:28.765Z (over 1 year ago)
- Language: Python
- Size: 48.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)