This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple requests based wrapper for a Chef server api.

Project Description

Cheffy provides a method-based access to Chef server api. Typical usage often looks like this:

# -*- coding: utf-8 -*-
from cheffy.client import Client
from cheffy.rsa import Key

chef_host = '123.123.123.123'
chef_user = 'john'

with open("private.pem", "r") as f:
    key = Key(f.read())

chef_client = Client(key, chef_host, chef_user)

# get clients list
# chef_request its a dict with the request data to the chef
# Its handy for logging.
chef_request, chef_response = chef_client.get('/clients')

clients = json.loads(chef_response.text)
Release History

Release History

This version
History Node

0.3.8

History Node

0.3.7

History Node

0.3.6

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cheffy-0.3.8.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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