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

Uploaded Source

File details

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

File metadata

  • Download URL: remote_execute-1.5.3.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

Hashes for remote_execute-1.5.3.tar.gz
Algorithm Hash digest
SHA256 bf86e3fe0f82f005ea02717720ab3d88bdff999fa317f7b62391c5314a00939d
MD5 e5075c0bf858f3987ecef88c76cfc933
BLAKE2b-256 8e93f7fd0c44f8344682631278e7ae4e30ba42f4658e333bdfd47dd7c75e234f

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