qintel-core 0.0.1__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.
- qintel_core-0.0.1/LICENSE +0 -0
- qintel_core-0.0.1/PKG-INFO +37 -0
- qintel_core-0.0.1/README.md +28 -0
- qintel_core-0.0.1/pyproject.toml +6 -0
- qintel_core-0.0.1/setup.cfg +4 -0
- qintel_core-0.0.1/src/qcore/__init__.py +11 -0
- qintel_core-0.0.1/src/qcore/config.py +13 -0
- qintel_core-0.0.1/src/qcore/exceptions.py +5 -0
- qintel_core-0.0.1/src/qcore/logging.py +13 -0
- qintel_core-0.0.1/src/qcore/validation.py +9 -0
- qintel_core-0.0.1/src/qintel_core.egg-info/PKG-INFO +37 -0
- qintel_core-0.0.1/src/qintel_core.egg-info/SOURCES.txt +15 -0
- qintel_core-0.0.1/src/qintel_core.egg-info/dependency_links.txt +1 -0
- qintel_core-0.0.1/src/qintel_core.egg-info/top_level.txt +1 -0
- qintel_core-0.0.1/tests/test_config.py +6 -0
- qintel_core-0.0.1/tests/test_logging.py +6 -0
- qintel_core-0.0.1/tests/test_validation.py +9 -0
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qintel-core
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Core utilities for the Q Intelligence ecosystem
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Dynamic: license-file
|
|
9
|
+
|
|
10
|
+
# qintel-core
|
|
11
|
+
|
|
12
|
+
Core utilities for the Q Intelligence ecosystem.
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- Configuration management
|
|
17
|
+
- Validation helpers
|
|
18
|
+
- Logging utilities
|
|
19
|
+
- Common exceptions
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install qintel-core
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Status
|
|
28
|
+
|
|
29
|
+
Early development (v0.0.1).
|
|
30
|
+
|
|
31
|
+
Part of the Q Intelligence ecosystem:
|
|
32
|
+
|
|
33
|
+
- qintel-safeai
|
|
34
|
+
- qintel-redact
|
|
35
|
+
- qintel-support
|
|
36
|
+
- qintel-journals
|
|
37
|
+
- qintel-sentiment
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# qintel-core
|
|
2
|
+
|
|
3
|
+
Core utilities for the Q Intelligence ecosystem.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Configuration management
|
|
8
|
+
- Validation helpers
|
|
9
|
+
- Logging utilities
|
|
10
|
+
- Common exceptions
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install qintel-core
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Status
|
|
19
|
+
|
|
20
|
+
Early development (v0.0.1).
|
|
21
|
+
|
|
22
|
+
Part of the Q Intelligence ecosystem:
|
|
23
|
+
|
|
24
|
+
- qintel-safeai
|
|
25
|
+
- qintel-redact
|
|
26
|
+
- qintel-support
|
|
27
|
+
- qintel-journals
|
|
28
|
+
- qintel-sentiment
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
class Config:
|
|
2
|
+
"""
|
|
3
|
+
Simple configuration container.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
def __init__(self, **kwargs):
|
|
7
|
+
self._values = kwargs
|
|
8
|
+
|
|
9
|
+
def get(self, key, default=None):
|
|
10
|
+
return self._values.get(key, default)
|
|
11
|
+
|
|
12
|
+
def set(self, key, value):
|
|
13
|
+
self._values[key] = value
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def get_logger(name: str) -> logging.Logger:
|
|
5
|
+
logger = logging.getLogger(name)
|
|
6
|
+
|
|
7
|
+
if not logger.handlers:
|
|
8
|
+
logging.basicConfig(
|
|
9
|
+
level=logging.INFO,
|
|
10
|
+
format="%(asctime)s %(levelname)s %(name)s %(message)s"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
return logger
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qintel-core
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Core utilities for the Q Intelligence ecosystem
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Dynamic: license-file
|
|
9
|
+
|
|
10
|
+
# qintel-core
|
|
11
|
+
|
|
12
|
+
Core utilities for the Q Intelligence ecosystem.
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- Configuration management
|
|
17
|
+
- Validation helpers
|
|
18
|
+
- Logging utilities
|
|
19
|
+
- Common exceptions
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install qintel-core
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Status
|
|
28
|
+
|
|
29
|
+
Early development (v0.0.1).
|
|
30
|
+
|
|
31
|
+
Part of the Q Intelligence ecosystem:
|
|
32
|
+
|
|
33
|
+
- qintel-safeai
|
|
34
|
+
- qintel-redact
|
|
35
|
+
- qintel-support
|
|
36
|
+
- qintel-journals
|
|
37
|
+
- qintel-sentiment
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
src/qcore/__init__.py
|
|
5
|
+
src/qcore/config.py
|
|
6
|
+
src/qcore/exceptions.py
|
|
7
|
+
src/qcore/logging.py
|
|
8
|
+
src/qcore/validation.py
|
|
9
|
+
src/qintel_core.egg-info/PKG-INFO
|
|
10
|
+
src/qintel_core.egg-info/SOURCES.txt
|
|
11
|
+
src/qintel_core.egg-info/dependency_links.txt
|
|
12
|
+
src/qintel_core.egg-info/top_level.txt
|
|
13
|
+
tests/test_config.py
|
|
14
|
+
tests/test_logging.py
|
|
15
|
+
tests/test_validation.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
qcore
|