Skip to main content

A simple, fast, and flexible way to execute commands in a Docker container.

Project description

RapidExec (Work in progress)

RapidExec is a command line tool that allows you to easier access docker containers. It is written in Python and uses the docker API to interact with the containers.

Installation

  1. To install RapidExec with all dependencies, you can use the following command:

    pip install rapidexec
    
  2. To install RapidExec with only export dependencies, you can use the following command:

    pip install rapidexec[export]
    
  3. To install RapidExec with only docker dependencies, you can use the following command:

    pip install rapidexec[docker]
    

Usage

To use RapidExec, you can use the following command:

rapidexec [OPTIONS] COMMAND [ARGS]...

Options

Option Description
--help Shows usage information
--version Show the version and exit.

Commands

Command Description
docker-ps List all running containers.
docker-logs Show the logs of a container.
compose-logs Show the logs of a docker-compose service.
export Export pyproject.toml dependencies to a requirements.txt file.

Example output

docker-ps

$ rapidexec docker-ps

image

export

  1. Scenario: toml file pyproject.toml and output file requirements.txt

    $ rapidexec export -f pyproject.toml -o requirements.txt
    

    image

  2. Scenario: exclude optional groups

    $ rapidexec export --exclude dev,export
    

    image

  3. Scenario: include only specific optional groups

    $ rapidexec export --include dev
    

    image

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

If you want to contribute to this project, you can create a pull request on GitHub.

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

rapidexec-0.0.4.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

rapidexec-0.0.4-py2.py3-none-any.whl (15.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rapidexec-0.0.4.tar.gz.

File metadata

  • Download URL: rapidexec-0.0.4.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0rc1

File hashes

Hashes for rapidexec-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a8149be442f113c95863899788e72526adfb48dae442a5a64344baddecc47d9c
MD5 e7588aa4fb69b09aa1e91110c890dcb4
BLAKE2b-256 1760bdff7715a980c5a3e783e52049cb3a79d2ccb38305826ac5e433733c3bcd

See more details on using hashes here.

File details

Details for the file rapidexec-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: rapidexec-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0rc1

File hashes

Hashes for rapidexec-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9a16f46a636c82be00ac76cb537dc83e787b0a271bf14265a33f435d39962481
MD5 500072feddf88e556355f1dd69fe2a1a
BLAKE2b-256 1b5a95724bad2130786016611cb6bcd2447b462286c7ef174e9a735260a9c628

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