skip to navigation
skip to content

Not Logged In

hiera-py 0.0.1

Python interface for the hiera hierachical database.

Python interface for the hiera hierarchical database.

See the documentation on for more detail.


pip install hiera-py

# Or, if you prefer easy_install:
easy_install hiera-py

# Or, if you prefer to install from source:
python install

Supported python versions

  • 2.7
  • PyPy

Eventually, I would like to support 3.x and 2.6+.

Getting Started

>>> import hiera
>>> hiera_client = hiera.HieraClient('/etc/hiera.yml', environment='dev')
>>> hiera_client.get('my_key')
>>> hiera_client.get('nonexistent_key')
Traceback (most recent call last):
hiera.exc.HieraError: Failed to retrieve key nonexistent_key. ...




Thomas Van Doren


# Run the tests against python 2.7.

# Run the tests against python 2.7 with code coverage.
tox -e cover

# Run the tests against a bunch of python versions.
tox -e py25,py26,py27,py31,py32,py33,pypy
File Type Py Version Uploaded on Size
hiera-py-0.0.1.tar.gz (md5) Source 2013-04-04 3KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 30 downloads in the last week
  • 98 downloads in the last month