a common helper
Project description
OmHelper
Dependence
nothing
Build
python -m build --no-isolation
Upload
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
OM.helper
- md5() -> hash
- rstr() -> random string
- rone() -> random one from list
- ip_to_int() -> convert ip string to int
- int_to_ip() -> convert int ip to ip string
- SingletonBase -> base singleton class
- async_loop() -> return a asyncio loop
- to_async() -> warp a sync func to async func
- SuperDict -> warp dict, more funcions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
om_helper-0.0.4.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for om_helper-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed7db469a2d87b90937f9af76df7a9b7eedf6e9b6f03c99969abb61d26495509 |
|
MD5 | 35f011eb563cd2e4d6d640c527273c7e |
|
BLAKE2b-256 | db38285bf5ce6fc802ead9e998489f19f88fcd200c48ab47d4bf727f7c3515c8 |