Execute remote code fetched from a URL
Project description
remote-execute
Execute remote code fetched from a URL
Example 1:
remote_code_urls = [
'https://example.com/code1.py',
'https://example.com/code2.py',
'https://example.com/code3.py',
]
execute_remote_code(remote_code_urls)
Example 2:
remote_code_urls = [
'https://example.com/code1.py',
'https://example.com/code2.py',
'https://example.com/code3.py',
]
auth_tokens = [
'your_auth_token_1',
None, # No token for the 2nd URL
'your_auth_token_3',
]
user_agents = [
'your_user_agent_1',
'your_user_agent_2',
None, # No user agent for the 3rd URL
]
execute_remote_code(remote_code_urls, auth_tokens, user_agents)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
remote_execute-1.6.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file remote_execute-1.6.tar.gz
.
File metadata
- Download URL: remote_execute-1.6.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2e975dfe84dd02ea641fb2ccbcb867351ab0fca53f5a94ec776a02e1e694b7 |
|
MD5 | f3d1c180c4c3a3c174890fdbdd9cc933 |
|
BLAKE2b-256 | 2ad5944abea85d9a059301178a22ee82a1ae7f6b00706659d66f0e01653c25e7 |
File details
Details for the file remote_execute-1.6-py3-none-any.whl
.
File metadata
- Download URL: remote_execute-1.6-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b46d188c9785e2a4eff21be3a9b9cf2d235863eeeb93aa90b0c053df5701c7e9 |
|
MD5 | 082efc0b73670a059e8221b0390cc263 |
|
BLAKE2b-256 | 03740578d5faf9c037d9f9f32b8022c20a5617fef3da9a63031c472c31dea2b3 |