Skip to main content

A shell session project using pybind11

Project description

Interactive Session

A Python module to create a Shell session.

Table of Contents

Installation

  • clone the repository
  • run
    pip install -r requirements.txt &&
    python setup.py build &&
    python setup.py test &&
    python setup.py install
    

Usage

import interactive_session as m
session = m.InteractiveSession("bash", "exit")
print(session.execute("echo hello"))
session.close()

License

This project is licensed under the MIT License.

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

interactive-session-0.0.3.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file interactive-session-0.0.3.tar.gz.

File metadata

  • Download URL: interactive-session-0.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for interactive-session-0.0.3.tar.gz
Algorithm Hash digest
SHA256 687794fe29e279f8b606001742010fb50618c926385b440deda6fa90d971659b
MD5 cca04e6a9fb6ea7ac8a2e3d2f2d727fa
BLAKE2b-256 8347f3c5bfec5c2ba0aad6d4a27823d824dd91638357754c368185624648fc40

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