bell-tag 1.0.8__tar.gz → 1.0.9__tar.gz
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.
- {bell_tag-1.0.8 → bell_tag-1.0.9}/PKG-INFO +1 -1
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag/utils.py +6 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag.egg-info/PKG-INFO +1 -1
- {bell_tag-1.0.8 → bell_tag-1.0.9}/pyproject.toml +1 -1
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag/__init__.py +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag/decorators.py +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag/exceptions.py +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag/middleware.py +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag/py.typed +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag.egg-info/SOURCES.txt +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag.egg-info/dependency_links.txt +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag.egg-info/requires.txt +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/bell_tag.egg-info/top_level.txt +0 -0
- {bell_tag-1.0.8 → bell_tag-1.0.9}/setup.cfg +0 -0
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
_verified = False # internal flag for verification
|
|
4
4
|
|
|
5
|
+
def load_env_config():
|
|
6
|
+
from dotenv import load_dotenv
|
|
7
|
+
import os
|
|
8
|
+
"""Load BELL_KEY from .env"""
|
|
9
|
+
load_dotenv() # loads .env from current working directory
|
|
10
|
+
return {"BELL_KEY": os.getenv("BELL_KEY")}
|
|
5
11
|
def verify_server_once(api_key):
|
|
6
12
|
"""Verify server with API once per process, fail silently if server is down"""
|
|
7
13
|
global _verified
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|