Opster

Latest version: v5.0

Safety actively analyzes 625645 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

3.5

~~~~~~~~~~~~~~~~

- Added `command.Error`_ to facilitate easy exits from scripts (GH-12).
- Fixed opster.t output.

.. _command.Error: http://opster.readthedocs.org/en/latest/overview.html#error-messages

3.4

~~~~~~~~~~~~~~~~

- Fix for installation issue (MANIFEST.in wasn't included).
- Fix for pep8.py complaints (most of them).
- Fix for script name when calling as a command (and not a dispatcher) (GH-4).
- Fix for some 2to3 issues (GH-5).
- Fixed bug with empty arguments for ``opster.command`` (GH-6).
- opster.t is now able to run under ``dash``.
- More output encodings supported (GH-7).
- Coverage support for cram tests (GH-8).
- Fixed combination of varargs and option name with underscore (GH-10).

3.3

~~~~~~~~~~~~~~~~

- Multicommands: ability to specify `global options`_ before specifying name of
command

.. _global options: http://opster.readthedocs.org/en/latest/overview.html#global-options

3.2

~~~~~~~~~~~~~~~~

- `Fix`_ for ``TypeError: func() got multiple values for 'argument'``

.. _Fix: http://opster.readthedocs.org/en/latest/tests.html#multivalues

3.1

~~~~~~~~~~~~~~~~

- Better `aliases`_ support.
- Fixes for options and usage discovery.
- Fix for error handling of dictionary options in multicommands.
- Fix for help not working when global options are defined.

.. _aliases: http://readthedocs.org/docs/opster/en/latest/api.html#opster.command

3.0

~~~~~~~~~~~~~~~~

- **Backward incompatible** Single commands now don't attempt to parse.
arguments if you call them. `Use`_ ``function.command()`` attribute (much like
earlier ``function.help()``) to parse arguments now.
- Switch to Python 2.6.
- Ability to have few subcommand `dispatchers`_ in a single runtime (no single
global ``CMDTABLE`` dictionary anymore).

.. _Use: http://opster.readthedocs.org/en/latest/#quick-example
.. _dispatchers: http://opster.readthedocs.org/en/latest/api.html#opster.Dispatcher

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.