Skip to main content

A straight port of glib/gshell.c to Python

Project description

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.

Project details


Download files

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

Files for gshell.py, version 0.0.4
Filename, size & hash File type Python version Upload date
gshell.py-0.0.4-py2.py3-none-any.whl (15.0 kB) View hashes Wheel py2.py3
gshell.py-0.0.4.tar.gz (5.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page