Skip to main content
External Process Execution Wrapper
-----------------------------------

Allows you to execute external commands getting large outputs in real-time but also getting
all the output as a return variable.


Examples
--------

from py_execute import run_command
ret = run_command.execute('echo "Hello World"')
Hello World
ret
'Hello World
'

ret = run_command.execute('read -p "Do you like py-executor?" yn; case $yn in [yY]* ) echo "cool";; esac', user_input='y
')
cool
ret
'cool
'

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-execute-0.1.7.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file py-execute-0.1.7.tar.gz.

File metadata

  • Download URL: py-execute-0.1.7.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py-execute-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8684a1bbf13ce18ae3d7569569f553e9c39d111733eb12ad6251974907b4ce50
MD5 01f3b4fd58f6e297c9077d1ade3b0812
BLAKE2b-256 f640b87fe4f4605fc002e9496a347407fb861251d1173f21e6d513b699e2cc75

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.7 This release

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page