Guacamole is an command line tool library for Python
Project description
============================================================
Guacamole - Framework for Creating Command Line Applications
============================================================
.. image:: https://badge.fury.io/py/guacamole.png
:target: http://badge.fury.io/py/guacamole
.. image:: https://travis-ci.org/zyga/guacamole.png?branch=master
:target: https://travis-ci.org/zyga/guacamole
.. image:: https://pypip.in/d/guacamole/badge.png
:target: https://pypi.python.org/pypi/guacamole
Tools, done right
=================
Guacamole is a LGPLv3 licensed toolkit for creating good command line
applications. Guacamole that does the right things for you and makes writing
applications easier.
.. testsetup::
import guacamole
.. doctest::
>>> class HelloWorld(guacamole.Command):
... """A simple hello-world application."""
... def register_arguments(self, parser):
... parser.add_argument('name')
... def invoked(self, ctx):
... print("Hello {0}!".format(ctx.args.name))
Running it directly is as simple as calling ``main()``:
.. doctest::
>>> HelloWorld().main(['Guacamole'], exit=False)
Hello Guacamole!
0
What you didn't have to do is what matters:
- configure the argument parser
- define and setup application logging
- initialize internationalization features
- add debugging facilities
- write a custom crash handler
Features
========
* Free software: LGPLv3 license
* Documentation: https://guacamole.readthedocs.org.
* Create command classes and run them from command line.
* Group commands to create complex tools.
* Use recipes, ingredients and spices to customize behavior
History
=======
0.9 (2015-05-11)
----------------
* Vastly improved documentation
* Bugfixes and changes based on early feedback
* New cmdtree module with two ingredients (for instantiating commands and for
dispatching the invoked method)
* Simplified argparse ingredient (for just handling parser)
* Unit tests and doctests for some of the functionality
0.8 (2015-04-21)
----------------
* First release on PyPI.
2012-2015
---------
* Released on PyPI as a part of plainbox as ``plainbox.impl.clitools``,
``plainbox.impl.logging``, ``plainbox.i18n`` and
``plainbox.impl.secure.plugins``.
Guacamole - Framework for Creating Command Line Applications
============================================================
.. image:: https://badge.fury.io/py/guacamole.png
:target: http://badge.fury.io/py/guacamole
.. image:: https://travis-ci.org/zyga/guacamole.png?branch=master
:target: https://travis-ci.org/zyga/guacamole
.. image:: https://pypip.in/d/guacamole/badge.png
:target: https://pypi.python.org/pypi/guacamole
Tools, done right
=================
Guacamole is a LGPLv3 licensed toolkit for creating good command line
applications. Guacamole that does the right things for you and makes writing
applications easier.
.. testsetup::
import guacamole
.. doctest::
>>> class HelloWorld(guacamole.Command):
... """A simple hello-world application."""
... def register_arguments(self, parser):
... parser.add_argument('name')
... def invoked(self, ctx):
... print("Hello {0}!".format(ctx.args.name))
Running it directly is as simple as calling ``main()``:
.. doctest::
>>> HelloWorld().main(['Guacamole'], exit=False)
Hello Guacamole!
0
What you didn't have to do is what matters:
- configure the argument parser
- define and setup application logging
- initialize internationalization features
- add debugging facilities
- write a custom crash handler
Features
========
* Free software: LGPLv3 license
* Documentation: https://guacamole.readthedocs.org.
* Create command classes and run them from command line.
* Group commands to create complex tools.
* Use recipes, ingredients and spices to customize behavior
History
=======
0.9 (2015-05-11)
----------------
* Vastly improved documentation
* Bugfixes and changes based on early feedback
* New cmdtree module with two ingredients (for instantiating commands and for
dispatching the invoked method)
* Simplified argparse ingredient (for just handling parser)
* Unit tests and doctests for some of the functionality
0.8 (2015-04-21)
----------------
* First release on PyPI.
2012-2015
---------
* Released on PyPI as a part of plainbox as ``plainbox.impl.clitools``,
``plainbox.impl.logging``, ``plainbox.i18n`` and
``plainbox.impl.secure.plugins``.
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
guacamole-0.9.tar.gz
(57.9 kB
view details)
Built Distribution
File details
Details for the file guacamole-0.9.tar.gz
.
File metadata
- Download URL: guacamole-0.9.tar.gz
- Upload date:
- Size: 57.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 481e8906f3f7e37d24ba1a5ef6470d5870b4f397530c722cb3f2435ddf783103 |
|
MD5 | 31e02f74682102d7c666e6ef31f0a7e7 |
|
BLAKE2b-256 | 31585f7cf529c8609d643feb566a9cb6493e782b165b66facae990f6bab6da6d |
File details
Details for the file guacamole-0.9-py2.py3-none-any.whl
.
File metadata
- Download URL: guacamole-0.9-py2.py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c08e666a508dd92601cb1d8f3b703b9df9a03a37b74b431e2f00b81d24553b55 |
|
MD5 | d1297821247cff6bd7d5f9b55daf3a9e |
|
BLAKE2b-256 | f9f829b33f0270d5de58a910be9ae476439276c9aac1d79943a47233a2c230dd |