semvec/pypi-packages huggingface dataset:
sparc.configuration 0.0.2
Configuration components for the SPARC platform
License: MIT
Keywords: zca

sparc.configuration
====================

Basic common configuration tools used in the SPARC platform.  Includes, but 
not limited to Zope Component ZCML utilities.

ZCA Configuration
-----------------
Tools that leverage SPARC packages are usually also dependant on Zope 
Component Architecture (http://docs.zope.org/zope.component/narr.html).  Use 
of ZCA requires component configuration,which SPARC does via ZCML 
(https://github.com/zopefoundation/zope.component/blob/master/docs/zcml.rst).

Among other things, sparc.common provides access to Configure(), an easy 
function that can be used to configure dependant applications.

### Usage - ZCA configuration
    This simplifies your ability to create components via ZCML and have 
    your application parse the ZCML files to allow them to be registered for 
    lookup.
    >>> import a.package.that.contains.a.configure.zcml
    >>> import another.package.that.contains.a.configure.zcml
    >>> from sparc.common import Configure
    >>> Configure([your.package.that.contains.a.configure.zcml,
    ...            another.package.that.contains.a.configure.zcml])

    You will now have access to components configured within those packages.

### Usage - Retrieve user feedback from CLI application
    This simplifies the process of getting feedback for processing within 
    a CLI application.
    >>> import sparc.common
    >>> from sparc.common import Configure
    >>> from sparc.common import ICallable
    >>> from zope.component import getUtility
    >>> Configure([sparc.common])
    >>> asker = getUtiliy(ICallable, 'sparc.common.ask_question')
    >>> answer = asker(u"How are you?", required = True, answers = \
    ... 				{'1':'awesome','2':'ok','3':'not so good'}, tries = 3)
    How are you?
    (1) awesome
    (2) ok
    (3) not so good

    >>> print answer
    '1'

0.0.1
++++++++++++++++++

* initial release

0.0.2
++++++++++++++++++

* let value getter have a default
* allow pacakge-less zcml imports (file-path only zcml declarations)
* update IPyContainerConfigValue to allow deep key reference
* fix dependency identifiers
* fix generator error
* remove dependency on ZCA from implementations
* remove dependency on zope.component
* add travis ci config
gcdt-datadog-integration 0.0.16
Plugin (gcdt-datadog-integration) for gcdt
License: MIT

|Documentation| |License| |GitHub issues|

Plugin for gcdt
===============

author: glomex SRE Team gcdt: https://github.com/glomex/gcdt

Features include:

-  push events and metrics to datadog

Running tests
-------------

Please make sure to have good test coverage for your plugin so we can
always make sure your plugin runs with the upcoming gcdt version.

Run tests like so:

.. code:: bash

    $ python -m pytest -vv --cov-report term-missing tests/test_*

License
-------

Copyright (c) 2017 glomex and others. gcdt and plugins are released
under the MIT License (see LICENSE).

.. |Documentation| image:: https://readthedocs.org/projects/beedo/badge/?version=latest
   :target: http://gcdt.readthedocs.io/en/latest/
.. |License| image:: http://img.shields.io/badge/license-MIT-yellowgreen.svg
   :target: LICENSE
.. |GitHub issues| image:: https://img.shields.io/github/issues/glomex/glomex-cloud-deployment-tools.svg?maxAge=2592000
   :target: https://github.com/glomex/glomex-cloud-deployment-tools/issues
gcdt-slack-integration 0.0.15
Plugin (gcdt-slack-integration) for gcdt
License: MIT

|Documentation| |License| |GitHub issues|

Plugin for gcdt
===============

author: glomex SRE Team gcdt: https://github.com/glomex/gcdt

Features include:

-  

Running tests
-------------

Please make sure to have good test coverage for your plugin so we can
always make sure your plugin runs with the upcoming gcdt version.

Run tests like so:

.. code:: bash

    $ python -m pytest -vv --cov-report term-missing tests/test_*

License
-------

Copyright (c) 2017 glomex and others. gcdt and plugins are released
under the MIT License (see LICENSE).

.. |Documentation| image:: https://readthedocs.org/projects/beedo/badge/?version=latest
   :target: http://gcdt.readthedocs.io/en/latest/
.. |License| image:: http://img.shields.io/badge/license-MIT-yellowgreen.svg
   :target: LICENSE
.. |GitHub issues| image:: https://img.shields.io/github/issues/glomex/glomex-cloud-deployment-tools.svg?maxAge=2592000
   :target: https://github.com/glomex/glomex-cloud-deployment-tools/issues