This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python library to provide a cached and dictionary-like interface to [Puppet's facter utility](

The facter script is run to gather facts, and YAML output is used if pyYAML is installed.

The library is compatibile with Python 2 and Python 3 and *nix and OS X, although testing hasn't been extensive.


>>> import facter
>>> f = facter.Facter()
>>> f["architecture"]
>>> f.lookup("uptime_seconds")
>>> f.lookup("uptime_seconds")
>>> f.lookup("uptime_seconds", cache=False)
>>> f = facter.Facter(use_yaml=False)
>>> f.lookup("uptime_seconds")
>>> f.get("not a fact", "mere opinion")
'mere opinion'

More methods exist. Documentation to come.


pip install facter


pip install facter[yaml]

to include pyYAML



- facter - must be installed through system packages or Ruby Gems
- [six]( - Python 2 and 3 compatibility (marked in


- [pyYAML]( - For YAML parsing of results

Project State

This is an alpha/early version and it hasn't been tested much. Please report any issues observed.
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
facterpy-0.1.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Sep 16, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting