GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fmenabe/python-unix: Package for managing (executing commands, manipulating files, ...) Unix-like systems.

BranchesTags
Open more actions menu

Latest commit

 

History

187 Commits
187 Commits

Folders and files

NameName
Last commit message
Last commit date
unix
unix
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
setup.py
setup.py
 
 

Repository files navigation

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.

About

Package for managing (executing commands, manipulating files, ...) Unix-like systems.

Topics

localparamikopythonremotesshunix

Resources

Readme
MIT license
Activity

Stars

13 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.