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.3.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for om_helper-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c4c654030c760e25505fca7512262abdd3b49122e5aa82aead17e7f97171ce |
|
MD5 | 1b96ddb77fa924f92bf618ad9dd1d48d |
|
BLAKE2b-256 | af6fbf4ad31b5425e5868f02acda527ee104da1c8c8b1a2b9e891faa72b51937 |