Sultan

Latest version: v0.9.1

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.6.4

- BUG FIXED: Fixed a bug where environment variable was being set to {} instead of None

0.6.3

- Argh, I need to update the damn changelog
- FEATURE: Added support for dashes '-' in commands like 'apt-get'
- FEATURE: Added a Result object that contains STDOUT, STDERR and TRACEBACK.
- FEATURE: Added 'SSHConfig' class for configuring SSH Sessions. Includes config for port and identity file.
- BUG-FIXED: Fixed bug where we were calling 'sudo su - root' instead of just 'sudo'
- DOCS: Added documentation for SSH commands.
- DOCS: Added documentation for getting STDOUT, STDERR and TRACEBACK from a command.

0.2.3

- Fixed issue where Sultan could not be installed. This is because VERSION file was
not included with the PyPi artifact. Fix was to add `MANIFEST.in` to resolve this.

0.2.2

- Minor bug fixes

0.2.1

- Fixed bug where too many file descriptors were openned when `run()` was called.

0.2

- Better color schemes. Right now DEBUG is just white and it makes it odd to read.
The color schemes should reflect what the level implies.
- Errors and Stdout should be better formatted with logging. If an exception happens,
we see a traceback, which is useless. The stderr and stdout should be more nicely
formatted and presented to the user when an error occurs.
- We can use `raw_input` to get input via `stdin`, but it would be nice if the
Sultan API also supported it.
- Context Management:
- `sudo=<True/False>`: Set a command should be run as sudo with Context Management.
- `user=<username>`: Set a user to run command as
- `host=<hostname>`: Should be able to run a command on a remote host, by setting a

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.