Skip to main content

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


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.5.2.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file remote_execute-1.5.2.tar.gz.

File metadata

  • Download URL: remote_execute-1.5.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for remote_execute-1.5.2.tar.gz
Algorithm Hash digest
SHA256 1411894a510838067273f5947c8a6d02451319f6eabc2c31ed01d7990d31d708
MD5 32530937252d4c73a92995288dacc6cb
BLAKE2b-256 3c13301d20c34c543b994de677260152ed1d2b6c4ad0188663f64a961600e853

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page