rcoder 1.0.4__tar.gz → 2.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.
Files changed (33) hide show
  1. rcoder-2.0.0/LICENSE +67 -0
  2. rcoder-2.0.0/MANIFEST.in +13 -0
  3. rcoder-2.0.0/PKG-INFO +97 -0
  4. rcoder-2.0.0/README.md +214 -0
  5. {rcoder-1.0.4 → rcoder-2.0.0}/pyproject.toml +50 -50
  6. rcoder-2.0.0/rcoder/__init__.py +9 -0
  7. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/async_proxy.py +555 -553
  8. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/auto_optimizer.py +76 -1
  9. rcoder-2.0.0/rcoder/cli.py +517 -0
  10. rcoder-2.0.0/rcoder/cli_enhanced.py +387 -0
  11. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/core.py +16 -0
  12. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/process_manager.py +443 -443
  13. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/utils.py +213 -217
  14. rcoder-2.0.0/rcoder.egg-info/PKG-INFO +97 -0
  15. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder.egg-info/SOURCES.txt +2 -2
  16. rcoder-1.0.4/LICENSE +0 -21
  17. rcoder-1.0.4/PKG-INFO +0 -442
  18. rcoder-1.0.4/README.md +0 -164
  19. rcoder-1.0.4/README_RCODER.md +0 -384
  20. rcoder-1.0.4/rcoder/__init__.py +0 -8
  21. rcoder-1.0.4/rcoder/cli.py +0 -149
  22. rcoder-1.0.4/rcoder.egg-info/PKG-INFO +0 -442
  23. rcoder-1.0.4/setup.py +0 -75
  24. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/async_feedback.py +0 -0
  25. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/conversational_config.py +0 -0
  26. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/core_optimized.py +0 -0
  27. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/remote_tools.py +0 -0
  28. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder/server_installer.py +0 -0
  29. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder.egg-info/dependency_links.txt +0 -0
  30. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder.egg-info/entry_points.txt +0 -0
  31. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder.egg-info/requires.txt +0 -0
  32. {rcoder-1.0.4 → rcoder-2.0.0}/rcoder.egg-info/top_level.txt +0 -0
  33. {rcoder-1.0.4 → rcoder-2.0.0}/setup.cfg +0 -0
rcoder-2.0.0/LICENSE ADDED
@@ -0,0 +1,67 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 YuKaiXu (yukaixu@outlook.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ ADDITIONAL LEGAL TERMS AND CONDITIONS:
16
+
17
+ 1. LAWFUL USE ONLY: This Software may only be used for lawful purposes with proper
18
+ authorization. Users must comply with all applicable local, national, and
19
+ international laws and regulations.
20
+
21
+ 2. NO UNAUTHORIZED ACCESS: Users must have explicit permission to access any
22
+ computer systems or networks they connect to using this Software.
23
+
24
+ 3. SECURITY RESPONSIBILITIES: Users are responsible for implementing appropriate
25
+ security measures, including but not limited to:
26
+ - Using strong passwords and SSH keys
27
+ - Configuring proper firewall rules
28
+ - Implementing access controls and monitoring
29
+ - Keeping software and dependencies updated
30
+
31
+ 4. NO MALICIOUS ACTIVITIES: Prohibited uses include, but are not limited to:
32
+ - Unauthorized access to computer systems
33
+ - Data theft or unauthorized data collection
34
+ - Network attacks or intrusion attempts
35
+ - Any activities that violate computer crime laws
36
+
37
+ 5. DISCLAIMER OF LIABILITY: The Software is provided "AS IS", without warranty
38
+ of any kind, express or implied. The authors and copyright holders shall not
39
+ be liable for any claims, damages, or other liability arising from the use
40
+ or misuse of this Software.
41
+
42
+ 6. USER RESPONSIBILITY: Users assume full responsibility for:
43
+ - Ensuring compliance with applicable laws
44
+ - Protecting authentication credentials
45
+ - Implementing appropriate security measures
46
+ - Monitoring and logging system access
47
+
48
+ 7. INDEMNIFICATION: Users agree to indemnify and hold harmless the developers,
49
+ authors, and copyright holders from any claims, damages, or legal actions
50
+ resulting from misuse of this Software.
51
+
52
+ 8. JURISDICTION: This license is governed by the laws of the People's Republic
53
+ of China. Any disputes shall be resolved in the courts of China.
54
+
55
+ 9. EXPORT COMPLIANCE: Users must comply with all applicable export control laws
56
+ and regulations when using or distributing this Software.
57
+
58
+ 10. TERMINATION: This license automatically terminates if you violate any of
59
+ these terms and conditions.
60
+
61
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
67
+ SOFTWARE.
@@ -0,0 +1,13 @@
1
+
2
+ include LICENSE
3
+ include README*.md
4
+ exclude trae_cert/*.crt
5
+ exclude trae_cert/*.key
6
+ exclude trae_cert/*.pem
7
+ exclude *.crt
8
+ exclude *.key
9
+ exclude *.pem
10
+ exclude .env
11
+ exclude .rcoder_config.json
12
+ exclude examples/*
13
+ exclude trae_skill/*
rcoder-2.0.0/PKG-INFO ADDED
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.4
2
+ Name: rcoder
3
+ Version: 2.0.0
4
+ Summary: 远程代码执行与管理系统,支持低带宽场景和中转服务器场景
5
+ Author-email: YuKaiXu <yukaixu@outlook.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 YuKaiXu (yukaixu@outlook.com)
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ ADDITIONAL LEGAL TERMS AND CONDITIONS:
21
+
22
+ 1. LAWFUL USE ONLY: This Software may only be used for lawful purposes with proper
23
+ authorization. Users must comply with all applicable local, national, and
24
+ international laws and regulations.
25
+
26
+ 2. NO UNAUTHORIZED ACCESS: Users must have explicit permission to access any
27
+ computer systems or networks they connect to using this Software.
28
+
29
+ 3. SECURITY RESPONSIBILITIES: Users are responsible for implementing appropriate
30
+ security measures, including but not limited to:
31
+ - Using strong passwords and SSH keys
32
+ - Configuring proper firewall rules
33
+ - Implementing access controls and monitoring
34
+ - Keeping software and dependencies updated
35
+
36
+ 4. NO MALICIOUS ACTIVITIES: Prohibited uses include, but are not limited to:
37
+ - Unauthorized access to computer systems
38
+ - Data theft or unauthorized data collection
39
+ - Network attacks or intrusion attempts
40
+ - Any activities that violate computer crime laws
41
+
42
+ 5. DISCLAIMER OF LIABILITY: The Software is provided "AS IS", without warranty
43
+ of any kind, express or implied. The authors and copyright holders shall not
44
+ be liable for any claims, damages, or other liability arising from the use
45
+ or misuse of this Software.
46
+
47
+ 6. USER RESPONSIBILITY: Users assume full responsibility for:
48
+ - Ensuring compliance with applicable laws
49
+ - Protecting authentication credentials
50
+ - Implementing appropriate security measures
51
+ - Monitoring and logging system access
52
+
53
+ 7. INDEMNIFICATION: Users agree to indemnify and hold harmless the developers,
54
+ authors, and copyright holders from any claims, damages, or legal actions
55
+ resulting from misuse of this Software.
56
+
57
+ 8. JURISDICTION: This license is governed by the laws of the People's Republic
58
+ of China. Any disputes shall be resolved in the courts of China.
59
+
60
+ 9. EXPORT COMPLIANCE: Users must comply with all applicable export control laws
61
+ and regulations when using or distributing this Software.
62
+
63
+ 10. TERMINATION: This license automatically terminates if you violate any of
64
+ these terms and conditions.
65
+
66
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
72
+ SOFTWARE.
73
+ Project-URL: Homepage, https://github.com/YKaiXu/rcoder
74
+ Project-URL: Documentation, https://github.com/YKaiXu/rcoder
75
+ Project-URL: Source, https://github.com/YKaiXu/rcoder
76
+ Project-URL: Tracker, https://github.com/YKaiXu/rcoder/issues
77
+ Keywords: remote,code,execution,management,proxy,low-bandwidth
78
+ Classifier: Development Status :: 5 - Production/Stable
79
+ Classifier: Intended Audience :: Developers
80
+ Classifier: Intended Audience :: System Administrators
81
+ Classifier: License :: OSI Approved :: MIT License
82
+ Classifier: Operating System :: OS Independent
83
+ Classifier: Programming Language :: Python :: 3
84
+ Classifier: Programming Language :: Python :: 3.7
85
+ Classifier: Programming Language :: Python :: 3.8
86
+ Classifier: Programming Language :: Python :: 3.9
87
+ Classifier: Programming Language :: Python :: 3.10
88
+ Classifier: Programming Language :: Python :: 3.11
89
+ Classifier: Topic :: System :: Systems Administration
90
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
91
+ Classifier: Topic :: Internet :: WWW/HTTP
92
+ Requires-Python: >=3.7
93
+ Description-Content-Type: text/markdown
94
+ License-File: LICENSE
95
+ Requires-Dist: psutil>=5.9.8
96
+ Requires-Dist: python-daemon>=3.0.1
97
+ Dynamic: license-file
rcoder-2.0.0/README.md ADDED
@@ -0,0 +1,214 @@
1
+ # rcoder - Remote Server Management & SSH Tunnel Connections
2
+
3
+ A Python package for remote server management and SSH tunnel connections with advanced features like HTTPS disguise, proxy support, and automatic optimization.
4
+
5
+ [![Version](https://img.shields.io/badge/version-1.0.5-blue.svg)](https://pypi.org/project/rcoder/)
6
+ [![Python](https://img.shields.io/badge/python-3.7+-green.svg)](https://www.python.org/downloads/)
7
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
8
+
9
+ ## ⚠️ Legal Disclaimer & Terms of Use
10
+
11
+ **IMPORTANT - READ BEFORE USE:**
12
+
13
+ This software is provided for legitimate system administration, development, and educational purposes only. Users are solely responsible for ensuring compliance with all applicable laws, regulations, and ethical guidelines in their jurisdiction.
14
+
15
+ ### 🔒 Security & Privacy Notice
16
+ - **No Hardcoded Credentials**: This package contains no hardcoded passwords, API keys, or authentication tokens
17
+ - **User Responsibility**: All authentication credentials must be provided by the user through secure configuration
18
+ - **Network Security**: Users must implement appropriate security measures for their network connections
19
+ - **Data Protection**: Users are responsible for protecting any data transmitted through this software
20
+
21
+ ### 📋 Terms of Use
22
+ 1. **Lawful Use Only**: This software may only be used for lawful purposes with proper authorization
23
+ 2. **No Malicious Activities**: Prohibited from using for unauthorized access, data theft, or any illegal activities
24
+ 3. **Compliance**: Users must comply with all applicable local, national, and international laws
25
+ 4. **Authorization**: Users must have explicit permission to access any systems they connect to
26
+ 5. **Liability**: Developers disclaim all liability for misuse or damages resulting from use of this software
27
+
28
+ ### 🚨 Security Warnings
29
+ - **SSH Security**: Always use strong passwords and SSH keys for authentication
30
+ - **Network Encryption**: Ensure all connections use proper encryption protocols
31
+ - **Access Control**: Implement proper access controls and monitoring
32
+ - **Regular Updates**: Keep the software and dependencies updated for security patches
33
+
34
+ ## 🚀 Features
35
+
36
+ - ✅ **Asynchronous SSH Connections** - Based on asyncssh for stable, long-term sessions
37
+ - ✅ **HTTPS Disguise** - Traffic disguised as HTTPS for better connectivity
38
+ - ✅ **Proxy Support** - Full support for proxy servers and relay connections
39
+ - ✅ **Auto-Optimization** - Intelligent command optimization for different network conditions
40
+ - ✅ **Concurrent Operations** - Support for multiple concurrent connections
41
+ - ✅ **Error Handling** - Comprehensive error handling and recovery mechanisms
42
+ - ✅ **File Transfer** - Secure file upload/download capabilities
43
+ - ✅ **Remote Management** - Complete remote server management toolkit
44
+
45
+ ## 📦 Installation
46
+
47
+ ```bash
48
+ pip install rcoder==1.0.5
49
+ ```
50
+
51
+ ## 🔧 Quick Start
52
+
53
+ ### Basic Usage
54
+
55
+ ```python
56
+ import asyncio
57
+ from rcoder.core import RcoderCore, RemoteHost
58
+
59
+ async def main():
60
+ # Create Rcoder core instance
61
+ rcoder_core = RcoderCore(
62
+ host="your-server.com",
63
+ port=22,
64
+ use_https_disguise=True,
65
+ proxy_server=("proxy.your-server.com", 443) # Optional proxy
66
+ )
67
+
68
+ # Create remote host instance
69
+ remote_host = RemoteHost(rcoder_core, server="my-server")
70
+
71
+ # Execute commands
72
+ result = remote_host.run("echo 'Hello from rcoder!' && hostname")
73
+ print(f"Result: {result}")
74
+
75
+ # List files
76
+ files = remote_host.ls("/tmp")
77
+ print(f"Files: {files}")
78
+
79
+ if __name__ == "__main__":
80
+ asyncio.run(main())
81
+ ```
82
+
83
+ ### Command Line Interface
84
+
85
+ ```bash
86
+ # Basic connection
87
+ rcoder connect --host your-server.com --username your-user
88
+
89
+ # With proxy
90
+ rcoder connect --host target-server.com --proxy proxy-server.com --port 443
91
+
92
+ # Execute command
93
+ rcoder exec --host your-server.com --command "ls -la /tmp"
94
+ ```
95
+
96
+ ## 🎯 Advanced Features
97
+
98
+ ### Network Optimization
99
+
100
+ ```python
101
+ from rcoder.auto_optimizer import AutoOptimizer
102
+
103
+ # Create optimizer for low bandwidth scenarios
104
+ optimizer = AutoOptimizer()
105
+
106
+ # Optimize commands for current network conditions
107
+ optimized_cmd = optimizer.optimize_command("ls -la /tmp/")
108
+ print(f"Optimized: {optimized_cmd}")
109
+ ```
110
+
111
+ ### Concurrent Operations
112
+
113
+ ```python
114
+ import asyncio
115
+ from rcoder.async_proxy import AsyncProxyManager
116
+
117
+ async def concurrent_tasks():
118
+ # Create proxy manager for multiple connections
119
+ proxy_manager = AsyncProxyManager(remote_host)
120
+
121
+ # Execute multiple tasks concurrently
122
+ tasks = [
123
+ proxy_manager.execute_async("task1", "uptime"),
124
+ proxy_manager.execute_async("task2", "df -h"),
125
+ proxy_manager.execute_async("task3", "free -m")
126
+ ]
127
+
128
+ results = await asyncio.gather(*tasks)
129
+ return results
130
+ ```
131
+
132
+ ## 🔒 Security Features
133
+
134
+ - **No Hardcoded Credentials**: All authentication is user-provided
135
+ - **SSL/TLS Encryption**: All connections use proper encryption
136
+ - **Input Validation**: Comprehensive input validation and sanitization
137
+ - **Error Handling**: Secure error handling without information leakage
138
+ - **Connection Pooling**: Efficient connection management with security
139
+
140
+ ## 📋 Configuration Options
141
+
142
+ ### Connection Configuration
143
+
144
+ ```python
145
+ config = {
146
+ "host": "your-server.com",
147
+ "port": 22, # or 443 for HTTPS disguise
148
+ "username": "your-username",
149
+ "use_https_disguise": True,
150
+ "proxy_server": ("proxy-host", 443),
151
+ "timeout": 30,
152
+ "retry_attempts": 3
153
+ }
154
+ ```
155
+
156
+ ### Network Optimization
157
+
158
+ ```python
159
+ optimizer_config = {
160
+ "scenario": "low_bandwidth", # or "high_latency", "unstable_network"
161
+ "enable_compression": True,
162
+ "max_output_lines": 1000,
163
+ "timeout_multiplier": 1.5
164
+ }
165
+ ```
166
+
167
+ ## 🚨 Important Security Notes
168
+
169
+ 1. **Always use strong passwords or SSH keys**
170
+ 2. **Configure proper firewall rules**
171
+ 3. **Monitor connection logs regularly**
172
+ 4. **Keep software and dependencies updated**
173
+ 5. **Use VPN or secure networks when possible**
174
+ 6. **Implement proper access controls**
175
+
176
+ ## 🛠️ Development
177
+
178
+ ### Setup Development Environment
179
+
180
+ ```bash
181
+ git clone https://github.com/YKaiXu/rcoder.git
182
+ cd rcoder
183
+ pip install -r requirements.txt
184
+ pip install -e .
185
+ ```
186
+
187
+ ### Running Tests
188
+
189
+ ```bash
190
+ python -m pytest tests/
191
+ ```
192
+
193
+ ## 📄 License
194
+
195
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
196
+
197
+ ## ⚖️ Legal Compliance
198
+
199
+ By using this software, you acknowledge and agree to:
200
+
201
+ 1. **Full Responsibility**: You are solely responsible for lawful use and compliance
202
+ 2. **No Liability**: Developers disclaim all liability for misuse or damages
203
+ 3. **Indemnification**: You agree to indemnify developers against any claims
204
+ 4. **Jurisdiction**: Usage is subject to your local laws and regulations
205
+
206
+ ## 🆘 Support & Issues
207
+
208
+ - **GitHub Issues**: [Report Issues](https://github.com/YKaiXu/rcoder/issues)
209
+ - **Security Issues**: Please report security vulnerabilities privately
210
+ - **Documentation**: See inline documentation and examples
211
+
212
+ ---
213
+
214
+ **⚠️ Final Warning**: This software is powerful and must be used responsibly. Unauthorized access to computer systems is illegal and unethical. Always ensure you have explicit permission before accessing any system.
@@ -1,50 +1,50 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0", "wheel"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "rcoder"
7
- version = "1.0.4"
8
- description = "远程代码执行与管理系统,支持低带宽场景和中转服务器场景"
9
- readme = "README_RCODER.md"
10
- authors = [
11
- { name = "YuKaiXu", email = "yukaixu@outlook.com" }
12
- ]
13
- license = { file = "LICENSE" }
14
- classifiers = [
15
- "Development Status :: 5 - Production/Stable",
16
- "Intended Audience :: Developers",
17
- "Intended Audience :: System Administrators",
18
- "License :: OSI Approved :: MIT License",
19
- "Operating System :: OS Independent",
20
- "Programming Language :: Python :: 3",
21
- "Programming Language :: Python :: 3.7",
22
- "Programming Language :: Python :: 3.8",
23
- "Programming Language :: Python :: 3.9",
24
- "Programming Language :: Python :: 3.10",
25
- "Programming Language :: Python :: 3.11",
26
- "Topic :: System :: Systems Administration",
27
- "Topic :: Software Development :: Libraries :: Python Modules",
28
- "Topic :: Internet :: WWW/HTTP",
29
- ]
30
- keywords = ["remote", "code", "execution", "management", "proxy", "low-bandwidth"]
31
- requires-python = ">=3.7"
32
- dependencies = [
33
- "psutil>=5.9.8",
34
- "python-daemon>=3.0.1"
35
- ]
36
-
37
- [project.urls]
38
- "Homepage" = "https://github.com/YKaiXu/rcoder"
39
- "Documentation" = "https://github.com/YKaiXu/rcoder"
40
- "Source" = "https://github.com/YKaiXu/rcoder"
41
- "Tracker" = "https://github.com/YKaiXu/rcoder/issues"
42
-
43
- [project.scripts]
44
- rcoder = "rcoder.cli:main"
45
-
46
- [tool.setuptools]
47
- packages = ["rcoder"]
48
-
49
- [tool.setuptools.package-data]
50
- rcoder = ["*.py"]
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "rcoder"
7
+ version = "2.0.0"
8
+ description = "远程代码执行与管理系统,支持低带宽场景和中转服务器场景"
9
+ readme = "README_RCODER.md"
10
+ authors = [
11
+ { name = "YuKaiXu", email = "yukaixu@outlook.com" }
12
+ ]
13
+ license = { file = "LICENSE" }
14
+ classifiers = [
15
+ "Development Status :: 5 - Production/Stable",
16
+ "Intended Audience :: Developers",
17
+ "Intended Audience :: System Administrators",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.7",
22
+ "Programming Language :: Python :: 3.8",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Topic :: System :: Systems Administration",
27
+ "Topic :: Software Development :: Libraries :: Python Modules",
28
+ "Topic :: Internet :: WWW/HTTP",
29
+ ]
30
+ keywords = ["remote", "code", "execution", "management", "proxy", "low-bandwidth"]
31
+ requires-python = ">=3.7"
32
+ dependencies = [
33
+ "psutil>=5.9.8",
34
+ "python-daemon>=3.0.1"
35
+ ]
36
+
37
+ [project.urls]
38
+ "Homepage" = "https://github.com/YKaiXu/rcoder"
39
+ "Documentation" = "https://github.com/YKaiXu/rcoder"
40
+ "Source" = "https://github.com/YKaiXu/rcoder"
41
+ "Tracker" = "https://github.com/YKaiXu/rcoder/issues"
42
+
43
+ [project.scripts]
44
+ rcoder = "rcoder.cli:main"
45
+
46
+ [tool.setuptools]
47
+ packages = ["rcoder"]
48
+
49
+ [tool.setuptools.package-data]
50
+ rcoder = ["*.py"]
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Rcoder - 远程代码执行与管理系统
4
+ """
5
+
6
+ __version__ = "2.0.0"
7
+ __author__ = "YuKaiXu"
8
+ __author_email__ = "yukaixu@outlook.com"
9
+ __description__ = "远程代码执行与管理系统,支持MCP、TLS加密、直连和中转模式"