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

Uploaded Source

File details

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

File metadata

  • Download URL: remote_execute-1.5.4.tar.gz
  • Upload date:
  • Size: 1.5 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.4.tar.gz
Algorithm Hash digest
SHA256 b97b38d330a2a7ba3d84e30d855a8d847e333cdffa0254da6dacf73d149b1c02
MD5 ba397905d6d55f889dc23fbcf1b2b8ab
BLAKE2b-256 6828ca33c978ab45961e5afd56943d87c859b88ef1ecd11a4f5a7ff59da87085

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