Life is short, use `lis`
Project description
lis
life's short, avoid stupid duplicate coding.
lis
a python library including vairous state-of-art tools, enjoy!
Install
pip install lis
Import
# import all
import lis
# import specific module or function
from lis.decorators import safe_or
API Reference
Decorators
lis.decorators.safe_or
lis.decorators.timeit
Collections
lis.collections.objectize
lis.collections.objectize(data, recursive=True)
Convert a dictionary to object, and access the keys via attributes.
Parameters:
- data: dict Input dictionary
- recursive: bool, optional convert the data recursively if this is set as True.
streaming
lis.streaming.streaming
Tests
python -m pytest tests -s
Contribution
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lis-0.0.5.tar.gz
(2.9 kB
view hashes)
Built Distribution
lis-0.0.5-py3-none-any.whl
(7.7 kB
view hashes)