Skip to content

Commit aee968c

Browse files
author
Joe Linn
committed
Initial commit.
0 parents  commit aee968c

13 files changed

+767
-0
lines changed

.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# pypi
2+
/build
3+
/dist
4+
5+
*.pyc
6+
*.egg-info
7+
*.egg
8+
9+
# temp files
10+
docs/_build
11+
12+
# IDEs
13+
.idea
14+
*.iml
15+
.project

.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
5+
# install dependencies
6+
install: "pip install -r requirements/development.txt -r requirements/global.txt --use-mirrors"
7+
8+
# run tests
9+
script: nosetests

MANIFEST.in

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include README.rst
2+
include LICENSE.txt
3+
include setup.cfg
4+
recursive-include pyflare *.py
5+
prune tests/*.pyc
6+
prune pyflare/*.pyc

README.rst

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
pyflare
2+
=======
3+
4+
.. image:: https://secure.travis-ci.org/jlinn/pyflare.png?branch=master
5+
:target: http://travis-ci.org/jlinn/pyflare
6+
7+
About
8+
-----
9+
10+
Pyflare is a Python adapter for `CloudFlare's Client API <http://www.cloudflare.com/docs/client-api.html>`_.
11+
12+
Installation
13+
------------
14+
15+
.. code-block:: bash
16+
17+
$ pip install pyflare
18+
19+
Usage
20+
-----
21+
22+
.. code-block:: python
23+
24+
from pyflare import Pyflare
25+
cf = Pyflare('address@example.com', 'your_api_key')
26+
# Create a new A record
27+
response = cf.rec_new('example.com', 'A', 'sub', '1.2.3.4')

pyflare/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__author__ = 'Joe Linn'
2+
3+
from .client import *

0 commit comments

Comments
 (0)