Skip to main content

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.

Files for lis, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size lis-0.0.5-py3-none-any.whl (7.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lis-0.0.5.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page