Skip to main content

Python Mini Shell

Project description

This package provides helper functions to simplify the writing of platform-independent sh-like scripts in Python.

Full documentation can be found at Read-the-Docs, the source for which is in the docs folder.

Using this package

Either fetch this package directly from Git, or pull it from the Python Packaging index.

  1. Pip-install from Git:

    pip install -U git+https://bitbucket.org/abelana/py_mini_sh.git
  2. Pip-install from PyPI:

    pip install -U py_mini_sh

Dog Food

The script used to develop and test this component uses the py_mini_sh itself. To start development of this component, follow these steps:

  1. Clone this repo onto a machine from https://bitbucket.org/abelana/py_mini_sh.git:

    git clone https://bitbucket.org/abelana/py_mini_sh.git
  2. Cd to the py_mini_sh folder and run the buildall script in this folder:

    buildall 36

    The argument specifies which version of Python you wish to use. 27, 34, 35, and 36 are supported.

This buildall script will perform the following steps:

  1. Builds a virtualenv derived from the specified version of Python.

  2. Installs the py_mini_sh package into this virtualenv in “develop” mode.

  3. Builds the documentation into the SHIP folder.

  4. Runs pylint over the source and fails if the results are worse than the previous run.

  5. Runs pytest tests which generate a coverage report into the SHIP folder.

  6. Builds the bdist_wheel for this package into the SHIP folder.

License

This software is made available under the MIT License (see LICENSE.txt).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_mini_sh-0.1.6-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file py_mini_sh-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: py_mini_sh-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for py_mini_sh-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 22f8445fc362bfd46b39ead670e462de1394a51ef5ce696b1ec73c11ff1496f8
MD5 87c03bef924ee019a00e4d3eb2d58c3f
BLAKE2b-256 c18cfd4de21fa7bd7e2eea913c634e94ccf2b24dae6a2e06eebae3efdf8525e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page