Skip to main content

Wrapper around Chroot to make it easy to use temporary Linux Shells.

Project description

TLS - Temporary Linux(Alpine) Shell/System

🚀 TLS provides a convenient way to start a temporary Alpine Linux shell/system using Python.

Python Alpine Linux

PyPI download month PyPI pyversions

Screenshot of TLS

Installation

You can install TLS via Pip:

pip install Temp-Linux-Shell

Usage

Once installed, you can start a temporary Alpine Linux shell by running the tls command.

Options

  • -h or --help: Display the help message.
  • -d: Specify a custom directory.
  • -hn or --hostname: Specify a custom hostname.
  • -c or --command: Specify a command to be executed at the start. After the completion of the command, the session closes.

Support

There is currently only Support for Linux because it is using Chroot it's planned to migrate to Docker or something else.

How to contribute

Hey if you want to contribute to this Project you are welcome to do that for testing you can use Temp-Linux-Shell/test.py with the following command

make clean
make install
make run

or you can do:

make all

It will install tls in a Python venv you may have to install some packages manually into the Venv.

Compile from Source

Building

If you want to compile and install it from source you can build it with the following command:

make clean
make build

The output will be in ./dist it can be installed with:

pip install dist/tls-<version>.tar.gz

Replace <version> with the current defined in setup.py.

Installing & Building

make clean
make install

This installs in the Venv.

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

temp_linux_shell-0.2.1b0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

Temp_Linux_Shell-0.2.1b0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file temp_linux_shell-0.2.1b0.tar.gz.

File metadata

  • Download URL: temp_linux_shell-0.2.1b0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for temp_linux_shell-0.2.1b0.tar.gz
Algorithm Hash digest
SHA256 702bc3768e34ac66c0f96f990d5142622c2f7a261d39c60e7d4dc768e278b081
MD5 30f79e7a469009f0a215d5d6f8ca413b
BLAKE2b-256 fdf1edd9c4ef19f505b32c637c731291b750251fd05e5713aaedd3835d083716

See more details on using hashes here.

Provenance

File details

Details for the file Temp_Linux_Shell-0.2.1b0-py3-none-any.whl.

File metadata

File hashes

Hashes for Temp_Linux_Shell-0.2.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 7141f903f6afa46959c31e4af0025b63ea85de6870bee5549321614eed118035
MD5 691da904f56a3427577a3f5bb1911ac7
BLAKE2b-256 ec4246727a58a425c747e9e68b8dfe18b77f4a0a320fba493cc6b21337f35ba0

See more details on using hashes here.

Provenance

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