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.32.tar.gz
(2.8 kB
view hashes)
Built Distribution
omnitools-0.0.32-py3-none-any.whl
(17.0 kB
view hashes)
Close
Hashes for omnitools-0.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1e9c2d3e734067b854fdd51c037bff5af78494125f3c444c559dd3fc60d87ac |
|
MD5 | 70ceacd55e3174de2b62c354015bab53 |
|
BLAKE2b-256 | df3819c8f96a99bedff19547d4b028282e35d8b513de7ca2557d0757a8533a93 |