Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 680962c

Browse files
committed
Project now available at https://pypi.python.org/pypi/cloudflare
1 parent 6d8479d commit 680962c

3 files changed

Lines changed: 53 additions & 16 deletions

File tree

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
11
# cloudflare-python
22

3-
## CloudFlare API version 4
3+
## Installation
44

5-
The CloudFlare API can be found [here](https://api.cloudflare.com/). Each API call is provided via a similarly named function within the _CloudFlare_ class. A full list is provided below.
5+
Two methods are provided to install this software. Use PyPi (see [package](https://pypi.python.org/pypi/cloudflare) details) or GitHub (see [package](https://github.com/cloudflare/python-cloudflare) details).
66

7-
## Installation
7+
### Via PyPI
88

99
```bash
10-
./setup.py build
11-
sudo ./setup.py install
10+
$ sudo pip install cloudflare
11+
$
12+
```
13+
14+
Yes - that simple! (the sudo may not be needed in some cases).
15+
16+
### Via github
17+
18+
```bash
19+
$ git clone https://github.com/cloudflare/python-cloudflare
20+
$ cd python-cloudflare
21+
$ ./setup.py build
22+
$ sudo ./setup.py install
23+
$
1224
```
1325

1426
Or whatever variance of that you want to use.
1527

28+
## CloudFlare API version 4
29+
30+
The CloudFlare API can be found [here](https://api.cloudflare.com/). Each API call is provided via a similarly named function within the _CloudFlare_ class. A full list is provided below.
31+
1632
## Getting Started
1733

1834
A very simple listing of zones within your account; including the IPv6 status of the zone.

README.rst

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,44 @@
11
cloudflare-python
22
=================
33

4-
CloudFlare API version 4
5-
------------------------
6-
7-
The CloudFlare API can be found `here <https://api.cloudflare.com/>`__.
8-
Each API call is provided via a similarly named function within the
9-
*CloudFlare* class. A full list is provided below.
10-
114
Installation
125
------------
136

7+
Two methods are provided to install this software. Use PyPi (see
8+
`package <https://pypi.python.org/pypi/cloudflare>`__ details) or GitHub
9+
(see `package <https://github.com/cloudflare/python-cloudflare>`__
10+
details).
11+
12+
Via PyPI
13+
~~~~~~~~
14+
1415
.. code:: bash
1516
16-
./setup.py build
17-
sudo ./setup.py install
17+
$ sudo pip install cloudflare
18+
$
19+
20+
Yes - that simple! (the sudo may not be needed in some cases).
21+
22+
Via github
23+
~~~~~~~~~~
24+
25+
.. code:: bash
26+
27+
$ git clone https://github.com/cloudflare/python-cloudflare
28+
$ cd python-cloudflare
29+
$ ./setup.py build
30+
$ sudo ./setup.py install
31+
$
1832
1933
Or whatever variance of that you want to use.
2034

35+
CloudFlare API version 4
36+
------------------------
37+
38+
The CloudFlare API can be found `here <https://api.cloudflare.com/>`__.
39+
Each API call is provided via a similarly named function within the
40+
*CloudFlare* class. A full list is provided below.
41+
2142
Getting Started
2243
---------------
2344

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
long_description = f.read()
88

99
setup(
10-
name='python-cloudflare-test',
11-
version='1.1.9',
10+
name='cloudflare',
11+
version='1.0.1',
1212
description='Python wrapper for the CloudFlare v4 API',
1313
long_description=long_description,
1414
author='Martin J. Levy',

0 commit comments

Comments
 (0)