"""Main package for humanize.""" from __future__ import annotations import importlib.metadata from humanize.filesize import naturalsize from humanize.i18n import activate, deactivate, decimal_separator, thousands_separator from humanize.number import ( apnumber, clamp, fractional, intcomma, intword, metric, ordinal, scientific, ) from humanize.time import ( naturaldate, naturalday, naturaldelta, naturaltime, precisedelta, ) __version__ = importlib.metadata.version(__name__) __all__ = [ "__version__", "activate", "apnumber", "clamp", "deactivate", "decimal_separator", "fractional", "intcomma", "intword", "metric", "naturaldate", "naturalday", "naturaldelta", "naturalsize", "naturaltime", "ordinal", "precisedelta", "scientific", "thousands_separator", ]
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
locale | Folder | 0755 |
|
|
__init__.py | File | 896 B | 0644 |
|
filesize.py | File | 2.12 KB | 0644 |
|
i18n.py | File | 4.64 KB | 0644 |
|
number.py | File | 15.85 KB | 0644 |
|
py.typed | File | 0 B | 0644 |
|
time.py | File | 18.3 KB | 0644 |
|