gitwtfhub

wtf is pypuppetdb?

bootc/pypuppetdb — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2016-06-18

PythonAudience · ops devopsComplexity · 2/5Dormant

TL;DR

A Python library that wraps PuppetDB's web API in simple commands, letting you query your servers, their facts, and configurations without hand-writing raw queries.

Mindmap

mindmap
  root((repo))
    What it does
      Wraps PuppetDB API
      Simple Python commands
      Query builder
    Tech stack
      Python
      PuppetDB
      Web API client
    Use cases
      Query all servers
      Check service state
      Build ops dashboards
    Audience
      Operations teams
      Automation engineers
      Puppet users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

List all servers managed by Puppet with a single db.nodes() call.

REASON 2

Look up a fact like operating system across your whole infrastructure with db.facts().

REASON 3

Build an operations dashboard that shows the current state of services across servers.

REASON 4

Use the query builder to construct complex filters over nodes, resources, and catalogs.

What's in the stack?

Python

How it stacks up

bootc/pypuppetdb0xallam/my-recipe0xhassaan/nn-from-scratch
Stars0
LanguagePythonPythonPython
Last pushed2016-06-182022-11-22
MaintenanceDormantDormant
Setup difficultymoderatemoderate
Complexity2/52/54/5
Audienceops devopsgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

Yoink these prompts

Prompt 1
Show me how to use pypuppetdb to list all my Linux servers from PuppetDB.
Prompt 2
Help me write a script with pypuppetdb that checks the current state of the apache service across my infrastructure.
Prompt 3
Explain how to use pypuppetdb's query builder to filter resources by type and status.
Prompt 4
Walk me through connecting to PuppetDB with pypuppetdb and fetching facts for a specific node.

Frequently asked questions

wtf is pypuppetdb?

A Python library that wraps PuppetDB's web API in simple commands, letting you query your servers, their facts, and configurations without hand-writing raw queries.

What language is pypuppetdb written in?

Mainly Python. The stack also includes Python.

Is pypuppetdb actively maintained?

Dormant — no commits in 2+ years (last push 2016-06-18).

Who is pypuppetdb for?

Mainly ops devops.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.