MRCL2 1.0.0__py3-none-any.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.
- MRCL2/__init__.py +1 -0
- MRCL2/core.py +27 -0
- mrcl2-1.0.0.dist-info/METADATA +16 -0
- mrcl2-1.0.0.dist-info/RECORD +6 -0
- mrcl2-1.0.0.dist-info/WHEEL +5 -0
- mrcl2-1.0.0.dist-info/top_level.txt +1 -0
MRCL2/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .core import package_status
|
MRCL2/core.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import subprocess
|
|
3
|
+
|
|
4
|
+
def package_status():
|
|
5
|
+
return "Running"
|
|
6
|
+
|
|
7
|
+
def main():
|
|
8
|
+
print("=== Current User ===")
|
|
9
|
+
try:
|
|
10
|
+
# Run whoami safely
|
|
11
|
+
whoami_output = subprocess.check_output(["whoami"], text=True)
|
|
12
|
+
print(whoami_output.strip())
|
|
13
|
+
except Exception as e:
|
|
14
|
+
print(f"Error running whoami: {e}")
|
|
15
|
+
|
|
16
|
+
print("\n=== Files in Current Directory ===")
|
|
17
|
+
try:
|
|
18
|
+
# List all files and folders in the current directory
|
|
19
|
+
for item in os.listdir("."):
|
|
20
|
+
print(item)
|
|
21
|
+
except Exception as e:
|
|
22
|
+
print(f"Error listing directory: {e}")
|
|
23
|
+
|
|
24
|
+
if __name__ == "__main__":
|
|
25
|
+
print(f"Package Status: {package_status()}")
|
|
26
|
+
print("-" * 30)
|
|
27
|
+
main()
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: MRCL2
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Document integrity utility
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
|
|
8
|
+
# My Signatureu
|
|
9
|
+
|
|
10
|
+
A Python package for document integrity demonstrations.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install MRCL2
|
|
16
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
MRCL2/__init__.py,sha256=3GLRUkf0DXzOpi9L2YLAGUoLZMzMz9KtnmyKS81_VHs,32
|
|
2
|
+
MRCL2/core.py,sha256=8KuQ28jv9MvNJTTd7zu6rZzmqbHObELzPOtFdnIDdUs,725
|
|
3
|
+
mrcl2-1.0.0.dist-info/METADATA,sha256=Tm4Fick5kedAKz2pJlxqA_FKN9H9r6IILgmwmRjcXa4,286
|
|
4
|
+
mrcl2-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
5
|
+
mrcl2-1.0.0.dist-info/top_level.txt,sha256=MGM1bgHyfc4kMIkzeSBRlp4VqxEccLPoUP2XvT8DQAo,6
|
|
6
|
+
mrcl2-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MRCL2
|