Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marrow/util
Commonly shared Python utility subclasses and functions.
https://github.com/marrow/util
Last synced: about 2 months ago
JSON representation
Commonly shared Python utility subclasses and functions.
- Host: GitHub
- URL: https://github.com/marrow/util
- Owner: marrow
- License: mit
- Created: 2010-05-13T04:57:10.000Z (over 14 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-01T15:57:18.000Z (about 2 years ago)
- Last Synced: 2024-11-08T06:49:48.693Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 7
- Watchers: 2
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: LICENSE
Awesome Lists containing this project
README
h2. Marrow Utilities Collection
This package contains many commonly reimplemented utility classes and functions covering the following major areas:
* attribute, partial/subset, case-insensitive, and multi-value dicts
* py3k source compatibility (without using 2to3)
* string to rich datatype conversion of bools, simple arrays, and complex keyword/tag parsing
* rich OOP helpers: nested list flattening, a NoDefault implementation, dot-notation object loading, and a LRU cache
* path manipulation
* UTC, universal time constants, english to numerical month and DotW conversion, and date field range constantsThis package will likely grow to include a number of additional nifty things in the future.
Currently (as of 0.1.0 release) @marrow.util@ boasts 100% unit test coverage under Python 2.6 and 100% test success under Python 3.1 without any pre-processing of source files using the @2to3@ utility. This package demonstrates its own capability to give your applications true source-level compatibility with py3k.