python-json-logger 3.2.0__tar.gz → 3.2.1.dev1__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.
- {python_json_logger-3.2.0/src/python_json_logger.egg-info → python_json_logger-3.2.1.dev1}/PKG-INFO +3 -7
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/README.md +2 -6
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/pyproject.toml +1 -1
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1/src/python_json_logger.egg-info}/PKG-INFO +3 -7
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/python_json_logger.egg-info/SOURCES.txt +1 -0
- python_json_logger-3.2.1.dev1/src/pythonjsonlogger/__init__.py +17 -0
- python_json_logger-3.2.1.dev1/src/pythonjsonlogger/jsonlogger.py +18 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/tests/test_deprecation.py +1 -1
- python_json_logger-3.2.0/src/pythonjsonlogger/__init__.py +0 -29
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/LICENSE +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/MANIFEST.in +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/NOTICE +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/setup.cfg +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/python_json_logger.egg-info/dependency_links.txt +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/python_json_logger.egg-info/requires.txt +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/python_json_logger.egg-info/top_level.txt +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/core.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/defaults.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/exception.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/json.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/msgspec.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/orjson.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/py.typed +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/utils.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/tests/__init__.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/tests/test_formatters.py +0 -0
- {python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/tests/test_missing.py +0 -0
{python_json_logger-3.2.0/src/python_json_logger.egg-info → python_json_logger-3.2.1.dev1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-json-logger
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.1.dev1
|
|
4
4
|
Summary: JSON Log Formatter for the Python Logging Package
|
|
5
5
|
Author-email: Zakaria Zajac <zak@madzak.com>, Nicholas Hairs <info+python-json-logger@nicholashairs.com>
|
|
6
6
|
Maintainer-email: Nicholas Hairs <info+python-json-logger@nicholashairs.com>
|
|
@@ -47,9 +47,9 @@ Requires-Dist: mkdocs-gen-files; extra == "dev"
|
|
|
47
47
|
Requires-Dist: mkdocs-literate-nav; extra == "dev"
|
|
48
48
|
Requires-Dist: mike; extra == "dev"
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
[](https://pypi.python.org/pypi/python-json-logger/)
|
|
51
51
|
[](https://pypi.python.org/pypi/python-json-logger/)
|
|
52
|
-
[](https://github.com/nhairs/python-json-logger)
|
|
52
|
+
[](https://github.com/nhairs/python-json-logger)
|
|
53
53
|
[](https://github.com/nhairs/python-json-logger)
|
|
54
54
|

|
|
55
55
|
#
|
|
@@ -60,10 +60,6 @@ Python JSON Logger enables you produce JSON logs when using Python's `logging` p
|
|
|
60
60
|
JSON logs are machine readable allowing for much easier parsing and ingestion into log aggregation tools.
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
### 🚨 Important 🚨
|
|
64
|
-
|
|
65
|
-
This repository is a maintained fork of [madzak/python-json-logger](https://github.com/madzak/python-json-logger) pending [a PEP 541 request](https://github.com/pypi/support/issues/3607) for the PyPI package. The future direction of the project is being discussed [here](https://github.com/nhairs/python-json-logger/issues/1).
|
|
66
|
-
|
|
67
63
|
## Documentation
|
|
68
64
|
|
|
69
65
|
- [Documentation](https://nhairs.github.io/python-json-logger/latest/)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://pypi.python.org/pypi/python-json-logger/)
|
|
2
2
|
[](https://pypi.python.org/pypi/python-json-logger/)
|
|
3
|
-
[](https://github.com/nhairs/python-json-logger)
|
|
3
|
+
[](https://github.com/nhairs/python-json-logger)
|
|
4
4
|
[](https://github.com/nhairs/python-json-logger)
|
|
5
5
|

|
|
6
6
|
#
|
|
@@ -11,10 +11,6 @@ Python JSON Logger enables you produce JSON logs when using Python's `logging` p
|
|
|
11
11
|
JSON logs are machine readable allowing for much easier parsing and ingestion into log aggregation tools.
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
### 🚨 Important 🚨
|
|
15
|
-
|
|
16
|
-
This repository is a maintained fork of [madzak/python-json-logger](https://github.com/madzak/python-json-logger) pending [a PEP 541 request](https://github.com/pypi/support/issues/3607) for the PyPI package. The future direction of the project is being discussed [here](https://github.com/nhairs/python-json-logger/issues/1).
|
|
17
|
-
|
|
18
14
|
## Documentation
|
|
19
15
|
|
|
20
16
|
- [Documentation](https://nhairs.github.io/python-json-logger/latest/)
|
{python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1/src/python_json_logger.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-json-logger
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.1.dev1
|
|
4
4
|
Summary: JSON Log Formatter for the Python Logging Package
|
|
5
5
|
Author-email: Zakaria Zajac <zak@madzak.com>, Nicholas Hairs <info+python-json-logger@nicholashairs.com>
|
|
6
6
|
Maintainer-email: Nicholas Hairs <info+python-json-logger@nicholashairs.com>
|
|
@@ -47,9 +47,9 @@ Requires-Dist: mkdocs-gen-files; extra == "dev"
|
|
|
47
47
|
Requires-Dist: mkdocs-literate-nav; extra == "dev"
|
|
48
48
|
Requires-Dist: mike; extra == "dev"
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
[](https://pypi.python.org/pypi/python-json-logger/)
|
|
51
51
|
[](https://pypi.python.org/pypi/python-json-logger/)
|
|
52
|
-
[](https://github.com/nhairs/python-json-logger)
|
|
52
|
+
[](https://github.com/nhairs/python-json-logger)
|
|
53
53
|
[](https://github.com/nhairs/python-json-logger)
|
|
54
54
|

|
|
55
55
|
#
|
|
@@ -60,10 +60,6 @@ Python JSON Logger enables you produce JSON logs when using Python's `logging` p
|
|
|
60
60
|
JSON logs are machine readable allowing for much easier parsing and ingestion into log aggregation tools.
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
### 🚨 Important 🚨
|
|
64
|
-
|
|
65
|
-
This repository is a maintained fork of [madzak/python-json-logger](https://github.com/madzak/python-json-logger) pending [a PEP 541 request](https://github.com/pypi/support/issues/3607) for the PyPI package. The future direction of the project is being discussed [here](https://github.com/nhairs/python-json-logger/issues/1).
|
|
66
|
-
|
|
67
63
|
## Documentation
|
|
68
64
|
|
|
69
65
|
- [Documentation](https://nhairs.github.io/python-json-logger/latest/)
|
|
@@ -13,6 +13,7 @@ src/pythonjsonlogger/core.py
|
|
|
13
13
|
src/pythonjsonlogger/defaults.py
|
|
14
14
|
src/pythonjsonlogger/exception.py
|
|
15
15
|
src/pythonjsonlogger/json.py
|
|
16
|
+
src/pythonjsonlogger/jsonlogger.py
|
|
16
17
|
src/pythonjsonlogger/msgspec.py
|
|
17
18
|
src/pythonjsonlogger/orjson.py
|
|
18
19
|
src/pythonjsonlogger/py.typed
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
### IMPORTS
|
|
2
|
+
### ============================================================================
|
|
3
|
+
## Future
|
|
4
|
+
|
|
5
|
+
## Standard Library
|
|
6
|
+
import warnings
|
|
7
|
+
|
|
8
|
+
## Installed
|
|
9
|
+
|
|
10
|
+
## Application
|
|
11
|
+
from . import json
|
|
12
|
+
from . import utils
|
|
13
|
+
|
|
14
|
+
### CONSTANTS
|
|
15
|
+
### ============================================================================
|
|
16
|
+
ORJSON_AVAILABLE = utils.package_is_available("orjson")
|
|
17
|
+
MSGSPEC_AVAILABLE = utils.package_is_available("msgspec")
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Stub module retained for compatibility.
|
|
2
|
+
|
|
3
|
+
It retains access to old names whilst sending deprecation warnings.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
# pylint: disable=wrong-import-position,unused-import
|
|
7
|
+
|
|
8
|
+
import warnings
|
|
9
|
+
|
|
10
|
+
## Throw warning
|
|
11
|
+
warnings.warn(
|
|
12
|
+
"pythonjsonlogger.jsonlogger has been moved to pythonjsonlogger.json",
|
|
13
|
+
DeprecationWarning,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
## Import names
|
|
17
|
+
from .json import JsonFormatter, JsonEncoder
|
|
18
|
+
from .core import RESERVED_ATTRS
|
|
@@ -16,7 +16,7 @@ import pythonjsonlogger
|
|
|
16
16
|
### ============================================================================
|
|
17
17
|
def test_jsonlogger_deprecated():
|
|
18
18
|
with pytest.deprecated_call():
|
|
19
|
-
pythonjsonlogger.jsonlogger
|
|
19
|
+
import pythonjsonlogger.jsonlogger
|
|
20
20
|
return
|
|
21
21
|
|
|
22
22
|
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
### IMPORTS
|
|
2
|
-
### ============================================================================
|
|
3
|
-
## Future
|
|
4
|
-
|
|
5
|
-
## Standard Library
|
|
6
|
-
import warnings
|
|
7
|
-
|
|
8
|
-
## Installed
|
|
9
|
-
|
|
10
|
-
## Application
|
|
11
|
-
import pythonjsonlogger.json
|
|
12
|
-
import pythonjsonlogger.utils
|
|
13
|
-
|
|
14
|
-
### CONSTANTS
|
|
15
|
-
### ============================================================================
|
|
16
|
-
ORJSON_AVAILABLE = pythonjsonlogger.utils.package_is_available("orjson")
|
|
17
|
-
MSGSPEC_AVAILABLE = pythonjsonlogger.utils.package_is_available("msgspec")
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### DEPRECATED COMPATIBILITY
|
|
21
|
-
### ============================================================================
|
|
22
|
-
def __getattr__(name: str):
|
|
23
|
-
if name == "jsonlogger":
|
|
24
|
-
warnings.warn(
|
|
25
|
-
"pythonjsonlogger.jsonlogger has been moved to pythonjsonlogger.json",
|
|
26
|
-
DeprecationWarning,
|
|
27
|
-
)
|
|
28
|
-
return pythonjsonlogger.json
|
|
29
|
-
raise AttributeError(f"module {__name__} has no attribute {name}")
|
|
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
|
{python_json_logger-3.2.0 → python_json_logger-3.2.1.dev1}/src/pythonjsonlogger/exception.py
RENAMED
|
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
|