Skip to main content

Visor

Makes background process execution easy. Tested for unix-like operation systems.

Features:

  • No external dependencies
  • Minimal, if you don't want to install you can just copy/paste the code.
  • Supports logging

Installation

pip3 install -U visor

Usage

from visor import Visor

visor = Visor()

visor.add("sleep 20")
visor.add("sleep 20 && echo done")

visor.show() # print all added processes

visor.kill_all() # send SIGKILL to all running processed

visor.terminate_all() # send SIGTERM to all running processed

visor.active # List of all `added` processes

# Get log files for first added process (sleep 20)
stdout_path, stderr_path = visor.get_log_files(visor.active[0]) 

# Wait for all processes to exit
visor.wait()

Metadata

Release files for visor 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visor 0.1.2
File Size Uploaded Provenance
visor-0.1.2.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for visor 0.1.2
File Interpreter ABI Platform
visor-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / visor-0.1.2.tar.gz

Download URL visor-0.1.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ed4c1ae7b46f4621aaf94f9c4d83e210ace92de172ec33bae59f2acb7c3fe6f5
BLAKE2b-256 checksum
How to use checksums
c40525a9713a19c409856b8a5c5bb46b544c34ecd32b03c03c1ce9795d294276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.2.0 CPython/3.10.6

Release files / visor-0.1.2-py3-none-any.whl

Download URL visor-0.1.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b14ff73bc7256cc78d4ccd9a9a0555462addc486000772d573c37d31be9eede
BLAKE2b-256 checksum
How to use checksums
8927bb291221fca63d25e161161fa93b104c9e280149dcb29cfc3544f6323505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.2.0 CPython/3.10.6

Security for visor 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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