pyservx 1.0.4__py3-none-any.whl → 1.1.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.

Potentially problematic release.


This version of pyservx might be problematic. Click here for more details.

@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyservx
3
+ Version: 1.1.0
4
+ Summary: A simple Python server package for file sharing with a retro UI.
5
+ Author-email: Subz3r0x01 <subz3r0x01@protonmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/yourusername/pyservx
8
+ Project-URL: Repository, https://github.com/yourusername/pyservx
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.6
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: qrcode
15
+ Dynamic: license-file
16
+
17
+ # PyServeX
18
+
19
+ A simple HTTP server for file sharing with a retro-styled web interface.
20
+
21
+ ## Installation
22
+
23
+ Install using pip:
24
+
25
+ ```bash
26
+ pip install pyservx
27
+ ```
28
+
29
+ Or use pipx for an isolated environment (recommended for Linux):
30
+
31
+ ```bash
32
+ pipx install pyservx
33
+ ```
34
+
35
+ Ensure you have Python 3.6 or higher installed.
36
+
37
+ ## Usage
38
+
39
+ Run the server:
40
+
41
+ ```bash
42
+ python3 run.py
43
+ ```
44
+
45
+ - Follow the prompt to select a shared folder.
46
+ - The server will start at `http://localhost:8088` and other network IPs.
47
+ - Access the web interface to browse, download, or upload files.
48
+ - Use `Ctrl+C` to stop the server.
49
+
50
+ ## Features
51
+
52
+ - File and folder browsing with a retro "hacker" UI.
53
+ - Download entire folders as ZIP files.
54
+ - Upload files via the web interface.
55
+ - Accessible via localhost (`127.0.0.1`) and network IPs.
56
+ - **QR Code for Easy Access:** Scan a QR code in the terminal to quickly access the server from your mobile device on the same network.
57
+ - **Real-time Progress Bars:** Enjoy real-time progress updates for both uploads and downloads, including ETA, transfer speed, and file size.
58
+ - **Multiple File Uploads:** Upload multiple files simultaneously through the web interface.
59
+ - **No File Size Restriction:** Upload files of any size without limitations.
60
+ - **Enhanced Web Interface:**
61
+ - **Search Functionality:** Quickly find files with the new search bar.
62
+ - **File Sorting:** Sort files by name, size, or date for better organization.
63
+ - **Modern & Responsive UI:** A refreshed, responsive design for seamless use across all devices.
64
+ - **Automated `robots.txt`:** A `robots.txt` file is automatically generated to prevent search engines from indexing your file server, enhancing privacy.
65
+ - **Modular Codebase:** The `server.py` file has been refactored into smaller, more maintainable modules (`request_handler.py`, `html_generator.py`, `file_operations.py`).
66
+
67
+ ## Requirements
68
+
69
+ - Python 3.6+
70
+ - `qrcode` library (automatically installed with pip)
71
+
72
+ ## License
73
+
74
+ MIT License
@@ -0,0 +1,11 @@
1
+ pyservx/__init__.py,sha256=P46sCZCW1SAUson0VT-PllU42gLB5p1DFWEt12Kdn38,43
2
+ pyservx/file_operations.py,sha256=KQoU_XhG-_-hYCJLAUfYOwCjJmUP5pRWWm_QfMORSnM,1664
3
+ pyservx/html_generator.py,sha256=bd0eR0kAhUnYP96zJKqW1bzWb7vSXYT7m9j4O0rhPmw,15782
4
+ pyservx/request_handler.py,sha256=8pF03SddBv0Pn4cVRL3NNAcS91FY_DJk9Xiu9lTI1_c,6482
5
+ pyservx/server.py,sha256=AAq4rMw5Qda0rVvhNTfj0XNTJHnk8uMEX76wpJTxodI,5602
6
+ pyservx-1.1.0.dist-info/licenses/LICENSE,sha256=RQfbbgFORXVcSaR2_p6XSOR7k0yw1iGfpnW7mg1NW9c,1074
7
+ pyservx-1.1.0.dist-info/METADATA,sha256=Uh5G5sxSjlgpBs9vafbSNklgdIVW7kLB9_OVmIeXsmE,2516
8
+ pyservx-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ pyservx-1.1.0.dist-info/entry_points.txt,sha256=tRdMhIAJUa2bpIJ5h9ZkKPdSSp8fnYlPDGcJhdh01TY,48
10
+ pyservx-1.1.0.dist-info/top_level.txt,sha256=lns7pTcCmrrfUXLVStCYJVqE6lglEqT1xABDpuTEF-Y,8
11
+ pyservx-1.1.0.dist-info/RECORD,,
@@ -1,72 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pyservx
3
- Version: 1.0.4
4
- Summary: A simple Python server package
5
- Author-email: Your Name <your.email@example.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2025 SubZ3r0x01
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
- Project-URL: Homepage, https://github.com/yourusername/pyservx
16
- Project-URL: Repository, https://github.com/yourusername/pyservx
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: License :: OSI Approved :: MIT License
19
- Classifier: Operating System :: OS Independent
20
- Requires-Python: >=3.6
21
- Description-Content-Type: text/markdown
22
- License-File: LICENSE
23
- Dynamic: license-file
24
-
25
- # PyServeX
26
-
27
- A simple HTTP server for file sharing with a retro-styled web interface.
28
-
29
- ## Installation
30
-
31
- Install using pip:
32
-
33
- ```bash
34
- pip install pyservx
35
- ```
36
-
37
- Or use pipx for an isolated environment (recommended for Linux):
38
-
39
- ```bash
40
- pipx install pyservx
41
- ```
42
-
43
- Ensure you have Python 3.6 or higher installed.
44
-
45
- ## Usage
46
-
47
- Run the server:
48
-
49
- ```bash
50
- pyservx
51
- ```
52
-
53
- - Follow the prompt to select a shared folder.
54
- - The server will start at `http://localhost:8088` and other network IPs.
55
- - Access the web interface to browse, download, or upload files.
56
- - Use `Ctrl+C` to stop the server.
57
-
58
- ## Features
59
-
60
- - File and folder browsing with a retro "hacker" UI.
61
- - Download entire folders as ZIP files.
62
- - Upload files via the web interface.
63
- - Accessible via localhost (`127.0.0.1`) and network IPs.
64
-
65
- ## Requirements
66
-
67
- - Python 3.6+
68
- - No external dependencies
69
-
70
- ## License
71
-
72
- MIT License
@@ -1,8 +0,0 @@
1
- pyservx/__init__.py,sha256=P46sCZCW1SAUson0VT-PllU42gLB5p1DFWEt12Kdn38,43
2
- pyservx/server.py,sha256=V7MSs3HNC4PZ7rwKDFQURQyvaUFv_x31UFjawz_G_NU,21948
3
- pyservx-1.0.4.dist-info/licenses/LICENSE,sha256=RQfbbgFORXVcSaR2_p6XSOR7k0yw1iGfpnW7mg1NW9c,1074
4
- pyservx-1.0.4.dist-info/METADATA,sha256=d6dowSd2X4CbiY6O2Jvl-HSFNNOqIp0XIoCB9LWspSc,2595
5
- pyservx-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- pyservx-1.0.4.dist-info/entry_points.txt,sha256=tRdMhIAJUa2bpIJ5h9ZkKPdSSp8fnYlPDGcJhdh01TY,48
7
- pyservx-1.0.4.dist-info/top_level.txt,sha256=lns7pTcCmrrfUXLVStCYJVqE6lglEqT1xABDpuTEF-Y,8
8
- pyservx-1.0.4.dist-info/RECORD,,