gshell.py
A port of GLib's gshell.c to Python 3.
Install
You should be able to install this via pypi in your environment of choice:
pip install gshell.py
You can then use it by importing from gshell:
from gshell import g_shell_parse_argv, g_shell_quote, g_shell_unquote
API
I haven't found a nice way to turn the docstrings in gshell.py into a simple
markdown document - sphinx is incredibly overkill and won't output markdown!
So for now I'd encourage you to
read the docstrings in the source code.
Development and Tests
I use Conda for development. You can create an environment using the included
environment.yml file by running conda env create, and then running
conda activate gshell.py.
Tasks are via make, and include test, lint, clean, package and
publish.
License
This library is available via the same license as GLib, which is the LGPL 2.1 or later. See the COPYING file for more details.
Metadata
Release files for gshell.py 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gshell.py-0.0.4.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gshell.py-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / gshell.py-0.0.4.tar.gz
| Download URL | gshell.py-0.0.4.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87bc398d1cf9815550c523440d2363d6623314c87ef6d0d63ee6fb8030fb0b19
|
|
BLAKE2b-256 checksum How to use checksums |
50a3f512858da5a200b17f2851b6ff8b4da5731a6a0b4dedd39ba6ee87e8404e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|
Release files / gshell.py-0.0.4-py2.py3-none-any.whl
| Download URL | gshell.py-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1fbb4383eb5148c8f55b2f18bd83d8dd32e1902372aa66e939563ca4084c931b
|
|
BLAKE2b-256 checksum How to use checksums |
f8593be769287e6668081033faf3e5765341afd833c5bcd4ff74a0e4ed506000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|