Miscellaneous functions written in short forms.
Project description
Omnitools
Miscellaneous functions written in short forms. ❤ UTF8
Hierarchy
omnitools
|---- p()
|---- charenc()
'---- Obj()
Example
python
from omnitools import *
# print and always flush buffer
p("abc")
# abc
#
# detect character encoding
p(charenc(b"\xe3\x81\x82"))
# utf-8
# turn (nested) dict into an object
p(Obj({"a":{"b":{"c":123}}}).a.b.c)
# 123
shell
rem omnitools.exe <function name> [argument] ...
omnitools.exe p abc
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
omnitools-0.0.33.tar.gz
(3.3 kB
view hashes)
Built Distribution
omnitools-0.0.33-py3-none-any.whl
(17.3 kB
view hashes)
Close
Hashes for omnitools-0.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef08f55d21d9a92a8120cae908bb38f01b2268676c8c0d5c43753b732ce24de4 |
|
MD5 | 1a3362e9cc92ffa76d123f06533c2ca9 |
|
BLAKE2b-256 | d6f8d84d2ff1466100cad958e3481b4c940527336c129534797a84599170f838 |