Files
ddns-service/src/ddns_service/__init__.py

29 lines
529 B
Python

"""
DDNS Service - Dynamic DNS update service.
A daemon that accepts HTTP(S) requests to dynamically update DNS entries.
Includes CLI administration tools for user and hostname management.
"""
__version__ = "1.0.0"
__author__ = "Thomas Oettli <spacefreak@noop.ch>"
__all__ = [
"app",
"cleanup",
"cli",
"config",
"datetime_str",
"dns",
"email",
"logging",
"main",
"models",
"ratelimit",
"server",
]
def datetime_str(datetime):
return datetime.strftime("%Y-%m-%d %H:%M:%S")