acme-widget-layout-utils 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.
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: acme-widget-layout-utils
3
+ Version: 0.0.1
4
+ Summary: Benign pipeline hook probe — install/import hooks for authorized security testing
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+
8
+ # acme-widget-layout-utils
9
+
10
+ Authorized security probe for Improvado pipeline sandbox.
11
+
12
+ - **Install hook** (`setup.py`): writes `/tmp/pypi_install_hook_marker.txt`, prints `PYPI_INSTALL_HOOK_RAN`
13
+ - **Import hook** (`__init__.py`): socket connect to `127.0.0.1:1` (expected fail), prints markers
14
+
15
+ Not for production use.
@@ -0,0 +1,8 @@
1
+ # acme-widget-layout-utils
2
+
3
+ Authorized security probe for Improvado pipeline sandbox.
4
+
5
+ - **Install hook** (`setup.py`): writes `/tmp/pypi_install_hook_marker.txt`, prints `PYPI_INSTALL_HOOK_RAN`
6
+ - **Import hook** (`__init__.py`): socket connect to `127.0.0.1:1` (expected fail), prints markers
7
+
8
+ Not for production use.
@@ -0,0 +1,16 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "acme-widget-layout-utils"
7
+ version = "0.0.1"
8
+ description = "Benign pipeline hook probe — install/import hooks for authorized security testing"
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+
12
+ [tool.setuptools.packages.find]
13
+ where = ["src"]
14
+
15
+ [tool.setuptools]
16
+ py-modules = []
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,14 @@
1
+ from pathlib import Path
2
+
3
+ from setuptools import setup
4
+ from setuptools.command.install import install
5
+
6
+
7
+ class HookInstall(install):
8
+ def run(self) -> None:
9
+ Path("/tmp/pypi_install_hook_marker.txt").write_text("PYPI_INSTALL_HOOK_RAN\n")
10
+ print("PYPI_INSTALL_HOOK_RAN")
11
+ return super().run()
12
+
13
+
14
+ setup(cmdclass={"install": HookInstall})
@@ -0,0 +1,16 @@
1
+ """Import-hook probe: socket connect attempt on import (benign test target 127.0.0.1:1)."""
2
+
3
+ __version__ = "0.0.1"
4
+
5
+ import socket
6
+
7
+ print("PYPI_IMPORT_HOOK_START")
8
+ _sock = socket.socket()
9
+ _sock.settimeout(3)
10
+ try:
11
+ _sock.connect(("127.0.0.1", 1))
12
+ except Exception as _exc:
13
+ print("PYPI_IMPORT_HOOK_CONNECT", type(_exc).__name__, str(_exc)[:80])
14
+ finally:
15
+ _sock.close()
16
+ print("PYPI_IMPORT_HOOK_RAN")
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: acme-widget-layout-utils
3
+ Version: 0.0.1
4
+ Summary: Benign pipeline hook probe — install/import hooks for authorized security testing
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+
8
+ # acme-widget-layout-utils
9
+
10
+ Authorized security probe for Improvado pipeline sandbox.
11
+
12
+ - **Install hook** (`setup.py`): writes `/tmp/pypi_install_hook_marker.txt`, prints `PYPI_INSTALL_HOOK_RAN`
13
+ - **Import hook** (`__init__.py`): socket connect to `127.0.0.1:1` (expected fail), prints markers
14
+
15
+ Not for production use.
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ src/acme_widget_layout_utils/__init__.py
5
+ src/acme_widget_layout_utils.egg-info/PKG-INFO
6
+ src/acme_widget_layout_utils.egg-info/SOURCES.txt
7
+ src/acme_widget_layout_utils.egg-info/dependency_links.txt
8
+ src/acme_widget_layout_utils.egg-info/top_level.txt