2023-01-12 01:04:47 +00:00
|
|
|
"""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,
|
|
|
|
)
|
|
|
|
|
2023-01-13 02:38:21 +00:00
|
|
|
__version__ = VERSION = '4.0.0'
|
2023-01-12 01:04:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
"__version__",
|
|
|
|
"activate",
|
|
|
|
"apnumber",
|
|
|
|
"clamp",
|
|
|
|
"deactivate",
|
|
|
|
"fractional",
|
|
|
|
"intcomma",
|
|
|
|
"intword",
|
|
|
|
"naturaldate",
|
|
|
|
"naturalday",
|
|
|
|
"naturaldelta",
|
|
|
|
"naturalsize",
|
|
|
|
"naturaltime",
|
|
|
|
"ordinal",
|
|
|
|
"precisedelta",
|
|
|
|
"scientific",
|
|
|
|
"thousands_separator",
|
|
|
|
"VERSION",
|
|
|
|
]
|