Skip to main content

Manage Unix-like systems.

Project description

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.

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

unix-1.0.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file unix-1.0.tar.gz.

File metadata

  • Download URL: unix-1.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for unix-1.0.tar.gz
Algorithm Hash digest
SHA256 10ac9c5aabc7cc77294fcf6f6df9a4a41d8016d3681b5c29f732a47c631cddd3
MD5 83e01d30ce6dc523a1d65fffefed9ca5
BLAKE2b-256 eae11cd04f5cb9fe020315c6caf6cba3d85aca0107f48038c6b0261aa7e85009

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