benchdog 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- benchdog/__init__.py +30 -0
- benchdog/admin_api.py +872 -0
- benchdog/approvals.py +65 -0
- benchdog/audit.py +52 -0
- benchdog/bucket.py +8 -0
- benchdog/client.py +100 -0
- benchdog/evaluate.py +220 -0
- benchdog/expression.py +136 -0
- benchdog/flag.schema.json +419 -0
- benchdog/py.typed +0 -0
- benchdog/schedule.py +42 -0
- benchdog/store.py +177 -0
- benchdog/store_contract.py +141 -0
- benchdog/values.py +64 -0
- benchdog-0.1.0.dist-info/METADATA +76 -0
- benchdog-0.1.0.dist-info/RECORD +18 -0
- benchdog-0.1.0.dist-info/WHEEL +4 -0
- benchdog-0.1.0.dist-info/licenses/LICENSE +21 -0
benchdog/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Feature flags for Python. See https://joegaudet.com/benchdog/."""
|
|
2
|
+
|
|
3
|
+
from typing import Final
|
|
4
|
+
|
|
5
|
+
from . import audit
|
|
6
|
+
from .bucket import bucket
|
|
7
|
+
from .client import Client, client_payload
|
|
8
|
+
from .evaluate import Result, apply_schedule, evaluate
|
|
9
|
+
from .store import FlagStore, MemoryStore, NotFoundError
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"SPEC_VERSION",
|
|
13
|
+
"Client",
|
|
14
|
+
"FlagStore",
|
|
15
|
+
"MemoryStore",
|
|
16
|
+
"NotFoundError",
|
|
17
|
+
"Result",
|
|
18
|
+
"apply_schedule",
|
|
19
|
+
"audit",
|
|
20
|
+
"bucket",
|
|
21
|
+
"client_payload",
|
|
22
|
+
"evaluate",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
SPEC_VERSION: Final = "1"
|
|
26
|
+
"""The version of spec/VERSION that this package follows.
|
|
27
|
+
|
|
28
|
+
The TypeScript and Ruby cores have the same constant, and each test suite checks it against
|
|
29
|
+
that file.
|
|
30
|
+
"""
|