semvec/pypi-packages huggingface dataset:
isoparser 0.3
Parser for the ISO 9660 disk image format
License: MIT

isoparser
=========

This python library can parse the `ISO 9660`_ disk image format including
`Rock Ridge`_ extensions. It can load ISOs from the local filesystem or via
HTTP, and will only read and cache sectors as necessary. You list directory
contents, extract files, and retrieve metadata.

Installation
------------

.. code-block:: console

    $ pip install isoparser

Usage
-----

.. code-block:: python

    import isoparser

    iso = isoparser.parse("http://www.microsoft.com/linux.iso")

    print iso.record("boot", "grub").children
    print iso.record("boot", "grub", "grub.cfg").content

.. _`ISO 9660`: https://en.wikipedia.org/wiki/ISO_9660
.. _`Rock Ridge`: https://en.wikipedia.org/wiki/Rock_Ridge
trabConfig 0.1.5
A simple config parser that supports JSON and YAML
License: MIT

trabConfig
==========

A simple Config file parser that supports json, and yaml formats with auto-save feature.


Installation
------------

from pip ::

    pip install trabConfig

or the old fashioned way ::

    python setup.py install

*NOTE: wheels and source dists also available on pypi*


Usage
-----

Example -

.. code-block:: python

    from trabconfig import trabConfig

    # load file verbatim
    config = trabConfig("config.json", autosave=False, data='json')

    # or just
    config = trabConfig("config.json")

    # for yaml
    config = trabConfig("config.yml", data='yaml)

    # autosave capability (saves on changes)
    config.autosave = True

    # or during instantiation
    config = trabConfig("config.json", autosave=True)

    # usage example
    health = config['health']
    config['health'] = 9999

    mana = config.get('mana', None)
    if mana is not None:
        config['mana'] = 999

    lvl = config.get('lvl')
    config.set('lvl', 99)

    config.new('items', [])
    config['items'].append('gold')

    config.delete('cloth')
    config.save()


Notes
-----

Created by - traBpUkciP 2016-2017