Skip to main content

Command and Rule over your Shell

Project description

sultan logo

Command and Rule over your Shell

PyPI Version Travis Build Status MIT License Documentation Status

Note

1. Sultan currently supports Python 2.7.x. Version 0.3 of Sultan is slated to support Python 3.0.

2. Your input is welcome! Please provide your feedback by creating issues on Github

Documentation

Documentation Status

Documentation is available on ReadTheDocs: http://sultan.readthedocs.io/en/latest/

What is Sultan?

Sultan is a Python package for interfacing with command-line utilities, like yum, apt-get, or ls, in a Pythonic manner. It lets you run command-line utilities using simple function calls.

The simplest way to use Sultan is to just call it:

Sultan's Simple usage

The recommended way of using Sultan is to use it in Context Management mode. Here is how to use Sultan with Context Management:

Sultan's Context Manager

What if we want to install this command on a remote machine? You can easily achieve this using context management:

Sultan's Context Manager for SSH access

If you enter a wrong command, Sultan will print out details you need to debug and find the problem quickly.

Here, the same command was run on a Mac:

Sultan's Error Management

Want to get started? Simply install Sultan, and start writing your clean code:

pip install --upgrade sultan

If you have more questions, check the docs! http://sultan.readthedocs.io/en/latest/

Download files

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

Files for sultan, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size sultan-0.2.3.tar.gz (296.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page