pysentry-rs 0.3.13__cp310-cp310-manylinux_2_28_aarch64.whl
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.
- pysentry/__init__.py +24 -0
- pysentry/_internal.cpython-310-aarch64-linux-gnu.so +0 -0
- pysentry_rs-0.3.13.dist-info/METADATA +939 -0
- pysentry_rs-0.3.13.dist-info/RECORD +7 -0
- pysentry_rs-0.3.13.dist-info/WHEEL +4 -0
- pysentry_rs-0.3.13.dist-info/entry_points.txt +2 -0
- pysentry_rs-0.3.13.dist-info/licenses/LICENSE +674 -0
pysentry/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""pysentry-rs: Security vulnerability auditing tool for Python packages."""
|
|
2
|
+
|
|
3
|
+
from ._internal import get_version, run_cli
|
|
4
|
+
|
|
5
|
+
__version__ = get_version()
|
|
6
|
+
__all__ = ["get_version", "run_cli", "main"]
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def main():
|
|
10
|
+
"""CLI entry point that provides the exact same interface as the Rust binary."""
|
|
11
|
+
import sys
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
# Pass all arguments directly to the Rust CLI - this ensures perfect compatibility
|
|
15
|
+
exit_code = run_cli(sys.argv)
|
|
16
|
+
sys.exit(exit_code)
|
|
17
|
+
|
|
18
|
+
except Exception as e:
|
|
19
|
+
print(f"Error: {e}", file=sys.stderr)
|
|
20
|
+
sys.exit(1)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
if __name__ == "__main__":
|
|
24
|
+
main()
|
|
Binary file
|