https://github.com/marcnuth/lis
🥰 life's short, enjoy lis!
https://github.com/marcnuth/lis
Last synced: about 1 year ago
JSON representation
🥰 life's short, enjoy lis!
- Host: GitHub
- URL: https://github.com/marcnuth/lis
- Owner: Marcnuth
- License: apache-2.0
- Created: 2020-02-22T09:52:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T11:39:12.000Z (over 6 years ago)
- Last Synced: 2025-02-20T16:42:38.515Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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