Skip to content

Commit d6c27fc

Browse files
committed
feat(api): expose configuration functions in public API
1 parent 148b27a commit d6c27fc

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

src/trueentropy/__init__.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# -----------------------------------------------------------------------------
4141
# Version Information
4242
# -----------------------------------------------------------------------------
43-
__version__ = "0.1.0"
43+
__version__ = "0.1.1"
4444
__author__ = "TrueEntropy Contributors"
4545
__license__ = "MIT"
4646

@@ -56,6 +56,12 @@
5656
# -----------------------------------------------------------------------------
5757
# Internal Module Imports
5858
# -----------------------------------------------------------------------------
59+
from trueentropy.config import (
60+
TrueEntropyConfig,
61+
configure,
62+
get_config,
63+
reset_config,
64+
)
5965
from trueentropy.health import HealthStatus, entropy_health
6066
from trueentropy.pool import EntropyPool
6167
from trueentropy.tap import EntropyTap
@@ -536,6 +542,10 @@ def get_tap() -> EntropyTap:
536542
"random_uuid",
537543
"random_token",
538544
"random_password",
545+
# Configuration
546+
"configure",
547+
"get_config",
548+
"reset_config",
539549
# Entropy management
540550
"health",
541551
"feed",
@@ -548,4 +558,5 @@ def get_tap() -> EntropyTap:
548558
"EntropyPool",
549559
"EntropyTap",
550560
"HealthStatus",
561+
"TrueEntropyConfig",
551562
]

0 commit comments

Comments
 (0)