Skip to main content
[<img src="https://travis-ci.org/seanchon/simple_terminal.svg?branch=master">](https://travis-ci.org/seanchon/simple_terminal)
[<img src="https://img.shields.io/pypi/pyversions/simple-terminal.svg">](https://pypi.python.org/pypi/simple_terminal)

# simple_terminal
A simple way to run terminal commands within a Python script.


## Code Example
```python
from simple_terminal import Terminal

terminal = Terminal()

results = terminal.command('ls')
```

or

```python

from simple_terminal import Terminal

with Terminal() as terminal:
results = terminal.command('ls')
```

## Motivation
This library exists to run terminal commands from within a script and capture stdout to create easier automation of commonly performed tasks.

## Installation
pip install simple_terminal

## License
MIT

Metadata

Release files for simple_terminal 1.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 simple_terminal 1.1.0
File Size Uploaded Provenance
simple_terminal-1.1.0.tar.gz 3.1 kB Without provenance Details

Release files / simple_terminal-1.1.0.tar.gz

Download URL simple_terminal-1.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
363cefa402a1771ecf418fc2e058ae5bb8a0d6f860aa7885c4c4e4f955152419
BLAKE2b-256 checksum
How to use checksums
dd221660d395660de67d0030028fc417a0ff19cf2d1b24d3b0e1cd6f09b0f67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for simple_terminal 1.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.

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