powertrace-hooks 0.1.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Quinten Roets
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.1
2
+ Name: powertrace-hooks
3
+ Version: 0.1.0
4
+ Summary: Automated stack trace logging and visualization
5
+ Author-email: Quinten Roets <qdr2104@columbia.edu>
6
+ License: MIT
7
+ Project-URL: Source Code, https://github.com/quintenroets/powertrace-hooks
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: powertrace<1,>=0.1.1
12
+ Provides-Extra: dev
13
+ Requires-Dist: package-dev-tools<1,>=0.5.11; extra == "dev"
14
+ Requires-Dist: package-dev-utils<1,>=0.1.6; extra == "dev"
15
+
16
+ # Powertrace Hooks
17
+ [![PyPI version](https://badge.fury.io/py/powertrace-hooks.svg)](https://badge.fury.io/py/powertrace-hooks)
18
+ ![Python version](https://img.shields.io/badge/python-3.10+-brightgreen)
19
+ ![Operating system](https://img.shields.io/badge/os-linux%20%7c%20macOS%20%7c%20windows-brightgreen)
20
+ ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
21
+
22
+ Detailed stack trace logging and visualization.
23
+ * Rich traceback visualization
24
+ * Also works for headless scripts
25
+ * Easy to reproduce visualization
26
+
27
+ ## Usage
28
+ Run
29
+ ```python
30
+ import powertrace
31
+
32
+ powertrace.visualize_traceback()
33
+ ```
34
+ To visualize the current traceback.
35
+
36
+ ## Installation
37
+ Run
38
+ ```shell
39
+ pip install powertrace-hooks
40
+ ```
41
+ to enable automated detailed stack trace logging and visualization for all Python scripts.
@@ -0,0 +1,26 @@
1
+ # Powertrace Hooks
2
+ [![PyPI version](https://badge.fury.io/py/powertrace-hooks.svg)](https://badge.fury.io/py/powertrace-hooks)
3
+ ![Python version](https://img.shields.io/badge/python-3.10+-brightgreen)
4
+ ![Operating system](https://img.shields.io/badge/os-linux%20%7c%20macOS%20%7c%20windows-brightgreen)
5
+ ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
6
+
7
+ Detailed stack trace logging and visualization.
8
+ * Rich traceback visualization
9
+ * Also works for headless scripts
10
+ * Easy to reproduce visualization
11
+
12
+ ## Usage
13
+ Run
14
+ ```python
15
+ import powertrace
16
+
17
+ powertrace.visualize_traceback()
18
+ ```
19
+ To visualize the current traceback.
20
+
21
+ ## Installation
22
+ Run
23
+ ```shell
24
+ pip install powertrace-hooks
25
+ ```
26
+ to enable automated detailed stack trace logging and visualization for all Python scripts.
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.1
2
+ Name: powertrace-hooks
3
+ Version: 0.1.0
4
+ Summary: Automated stack trace logging and visualization
5
+ Author-email: Quinten Roets <qdr2104@columbia.edu>
6
+ License: MIT
7
+ Project-URL: Source Code, https://github.com/quintenroets/powertrace-hooks
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: powertrace<1,>=0.1.1
12
+ Provides-Extra: dev
13
+ Requires-Dist: package-dev-tools<1,>=0.5.11; extra == "dev"
14
+ Requires-Dist: package-dev-utils<1,>=0.1.6; extra == "dev"
15
+
16
+ # Powertrace Hooks
17
+ [![PyPI version](https://badge.fury.io/py/powertrace-hooks.svg)](https://badge.fury.io/py/powertrace-hooks)
18
+ ![Python version](https://img.shields.io/badge/python-3.10+-brightgreen)
19
+ ![Operating system](https://img.shields.io/badge/os-linux%20%7c%20macOS%20%7c%20windows-brightgreen)
20
+ ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
21
+
22
+ Detailed stack trace logging and visualization.
23
+ * Rich traceback visualization
24
+ * Also works for headless scripts
25
+ * Easy to reproduce visualization
26
+
27
+ ## Usage
28
+ Run
29
+ ```python
30
+ import powertrace
31
+
32
+ powertrace.visualize_traceback()
33
+ ```
34
+ To visualize the current traceback.
35
+
36
+ ## Installation
37
+ Run
38
+ ```shell
39
+ pip install powertrace-hooks
40
+ ```
41
+ to enable automated detailed stack trace logging and visualization for all Python scripts.
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ powertrace_hooks.egg-info/PKG-INFO
5
+ powertrace_hooks.egg-info/SOURCES.txt
6
+ powertrace_hooks.egg-info/dependency_links.txt
7
+ powertrace_hooks.egg-info/entry_points.txt
8
+ powertrace_hooks.egg-info/requires.txt
9
+ powertrace_hooks.egg-info/top_level.txt
10
+ tests/test_testing.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ powertrace-hooks = powertrace_hooks.cli:entry_point
@@ -0,0 +1,5 @@
1
+ powertrace<1,>=0.1.1
2
+
3
+ [dev]
4
+ package-dev-tools<1,>=0.5.11
5
+ package-dev-utils<1,>=0.1.6
@@ -0,0 +1 @@
1
+ sitecustomize
@@ -0,0 +1,69 @@
1
+ [project]
2
+ name = "powertrace-hooks"
3
+ version = "0.1.0"
4
+ description = "Automated stack trace logging and visualization"
5
+ authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
6
+ license = {text = "MIT"}
7
+ readme = "README.md"
8
+ requires-python = ">=3.10"
9
+ dependencies = [
10
+ "powertrace >=0.1.1, <1",
11
+ ]
12
+
13
+ [project.optional-dependencies]
14
+ dev = [
15
+ "package-dev-tools >=0.5.11, <1",
16
+ "package-dev-utils >=0.1.6, <1",
17
+ ]
18
+
19
+ [project.urls]
20
+ "Source Code" = "https://github.com/quintenroets/powertrace-hooks"
21
+
22
+ [project.scripts]
23
+ powertrace-hooks = "powertrace_hooks.cli:entry_point"
24
+
25
+ [build-system]
26
+ requires = ["setuptools"]
27
+ build-backend = "setuptools.build_meta"
28
+
29
+ [tool.coverage.run]
30
+ command_line = "-m pytest tests"
31
+
32
+ [tool.coverage.report]
33
+ precision = 4
34
+ fail_under = 100
35
+
36
+ [tool.mypy]
37
+ strict = true
38
+ no_implicit_reexport = false
39
+
40
+ [tool.pytest.ini_options]
41
+ pythonpath = [
42
+ "src", ".",
43
+ ]
44
+
45
+ [tool.setuptools]
46
+ py-modules = [
47
+ "sitecustomize"
48
+ ]
49
+
50
+ [tool.ruff]
51
+ fix = true
52
+
53
+ [tool.ruff.lint]
54
+ select = [
55
+ "E", # pycodestyle errors
56
+ "W", # pycodestyle warnings
57
+ "F", # pyflakes
58
+ "I", # isort
59
+ "UP", # pyupgrade
60
+ ]
61
+
62
+ [tool.ruff.lint.isort]
63
+ known-first-party = ["src"]
64
+
65
+ [tool.ruff.lint.per-file-ignores]
66
+ "__init__.py" = ["F401"]
67
+
68
+ [tool.setuptools.package-data]
69
+ powertrace_hooks = ["py.typed"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+ def test_testing() -> None:
2
+ pass