Skip to main content

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

Metadata

Release files for lis 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lis 0.0.5
File Size Uploaded Provenance
lis-0.0.5.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lis 0.0.5
File Interpreter ABI Platform
lis-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / lis-0.0.5.tar.gz

Download URL lis-0.0.5.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fe7f98211c37c5447a158616a2adb392a643c0b3f87ead9e35a5fb6ed030d7e5
BLAKE2b-256 checksum
How to use checksums
59ae7a7bf9c4c3c920917c254b99218f20b62a687dedf79479b0235c8140c7d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release files / lis-0.0.5-py3-none-any.whl

Download URL lis-0.0.5-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d372ef7e2952588c450082835021d217f33ce3f11e113daa88bf0be0082b5cb9
BLAKE2b-256 checksum
How to use checksums
f46d3021bcc984c6203f04ee974deb73658550d431c91387ba659108b2fa27fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Security for lis 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page