Skip to main content

Package for managing Unix hosts

This module aims to manage Unix-likes operating systems. It manage both local or remote host in the same way. Commands can be executed interactively or not, and the result is a list of three elements:

  • the status of the command (boolean based on return code)

  • the standard output (stdout)

  • the error output (stderr)

For executed commands on localhost, the module used is subprocess and for remotes hosts, the module used is paramiko.

Code is available on Github (http://github.com/fmenabe/python-unix)

Releases notes

1.0 (2015-07-02)

  • Manage localhost (subprocess) and remote hosts (SSH; paramiko) uniformly.

  • Use controls for managing some behaviour (decoding outputs, locale, …).

  • Implements basic commands for manipulating files and directories (open, copy, mkdir, …).

  • Organize commands in objects accessible via properties:
    • path API (exists, isfile, …)

    • remote API for copying file using from one host to another

    • users and groups API

  • Manage Linux hosts:
    • chroot

    • autodetecting the distribution

    • manage arch, debian, ubuntu, redhat, centos, …

0.1 (2015-03-05)

  • Initial version.

Metadata

Release files for unix 1.0

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

Source distribution (sdist)

Source distribution for unix 1.0
File Size Uploaded Provenance Actions
unix-1.0.tar.gz 17.1 kB Without provenance Details for unix-1.0.tar.gz

Release files / unix-1.0.tar.gz

Download URL unix-1.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
10ac9c5aabc7cc77294fcf6f6df9a4a41d8016d3681b5c29f732a47c631cddd3
BLAKE2b-256 checksum
How to use checksums
eae11cd04f5cb9fe020315c6caf6cba3d85aca0107f48038c6b0261aa7e85009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for unix 1.0

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.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

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