SickGear/lib/humanize/__init__.py

45 lines
759 B
Python
Raw Normal View History

"""Main package for humanize."""
from humanize.filesize import naturalsize
from humanize.i18n import activate, deactivate, thousands_separator
from humanize.number import (
apnumber,
clamp,
fractional,
intcomma,
intword,
ordinal,
scientific,
)
from humanize.time import (
naturaldate,
naturalday,
naturaldelta,
naturaltime,
precisedelta,
)
__version__ = VERSION = '3.5.0'
__all__ = [
"__version__",
"activate",
"apnumber",
"clamp",
"deactivate",
"fractional",
"intcomma",
"intword",
"naturaldate",
"naturalday",
"naturaldelta",
"naturalsize",
"naturaltime",
"ordinal",
"precisedelta",
"scientific",
"thousands_separator",
"VERSION",
]