semvec/pypi-packages huggingface dataset:
SimpleConfigParser 0.1.0
Simplifies and enchances functionalities in Python's ConfigParser
License: MIT License
Keywords: ConfiParser,ini

SimpleConfigParser
==================

.. image:: https://travis-ci.org/helgi/python-simpleconfigparser.png
   :target: https://travis-ci.org/helgi/python-simpleconfigparser

Builds on top of the builtin SafeConfigParser but adds various
convenience functionalities.

-  Access to all the usual ConfigParser functionality
-  Access sections and items via convience objects and dicts instead of
   ``get()``
-  Makes accessing items and section via dicts possible on Python 2.7+,
   ConfigParser has that from Python 3.2 onwards as a default
-  Ability to set values via the objects
   ``config.section.item = 'demmmmm'`` and dicts
   ``config['section']['item']`` all while ``write()`` still work as
   normal
-  Make a few functions work directly from the section object
   ``config.section.items()``, ``config.section.getboolean('item')``
-  Strips any quotes on the edgeds of items used in the INI file instead
   of returning it as part of the values
-  Improve the defaults handling on the object to be more sensible

.. code:: python

    defaults = {
        'section': {
            'item1': 'boo',
            'item2': 'bar'
        }
    }

    config = simpleconfigparser(defaults=defaults)

Examples
========

contents of read.ini:
::

    [app]
    debug = yes

test.py:

.. code:: python

    from simpleconfigparser import simpleconfigparser

    config = simpleconfigparser()
    config.read('read.ini')

    print(config.app.debug)
    print(config.app.getboolean('debug'))
    print(config['app']['debug'])
    print(config['app'].getboolean('debug'))
    config.app.debug = no
    with open('new.ini', 'wb') as handle:
        config.write(handle)

License
=======
MIT - See LICENSE file
Command 0.1.0
Command runner with debug capabilities
License: MIT License
Keywords: subprocess,command

Command
=======

.. image:: https://travis-ci.org/helgi/python-command.png
   :target: https://travis-ci.org/helgi/python-command

Wrapper around subprocess.popen with on the fly debug / logging
capabilities and timeout handling.

Uses tempfiles for stdout/stderr to get past the 64kb subprocess.PIPE
bug/limitation in python.

Normal command run

.. code:: python

    import command
    response = command.run(['ls'])
    print response.output
    print response.exit

Print the output as it happens

.. code:: python

    import command
    def debug(text):
        print text

    response = command.run(['ls'], debug=debug)
    print response.output
    print response.exit

License
=======

MIT - See LICENSE
django-reportengine 0.3.1
A Django app for building and integrating reports into your Django project.
License: MIT License
Keywords: django reporting reports

Django Report Engine provides a reporting framework for Django 1.3+. Its goal
is to be lightweight, provide multiple output formats, easily integrate into
existing applications, and be open ended to both direct SQL reports, ORM based
reports, or any other type of report imaginable. It is also attempting to be
reasonably batteries-included with some basic Date based filtering assumptions,
and simple namespacing of reports.

Reports are assumed to be tabular, with additional key/value "aggregates". A
special form can be used to provide filtering/querying controls. There are
premade filtering controls/framework to assist. Existing shortcut queryset and
SQL based forms are integrated and can be quickly extended for generic reports.
CSV, XML and HTML exports are included.