Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python interface for the hiera hierachical database.

Project Description

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

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.5 kB) Copy SHA256 Hash SHA256
Source None Apr 4, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate