File: index.rst

package info (click to toggle)
python-cloudflare 2.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: python: 6,932; makefile: 138; sh: 76
file content (58 lines) | stat: -rw-r--r-- 1,511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.. python-cloudflare documentation master file, created by
   sphinx-quickstart on Sun Mar  3 23:59:20 2024.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

python-cloudflare - A Python-based access to Cloudflare's API's
===============================================================

Release v\ |version|.

.. image:: https://static.pepy.tech/badge/cloudflare/month
    :target: https://pepy.tech/project/cloudflare
    :alt: Requests Downloads Per Month Badge
    
.. image:: https://img.shields.io/pypi/l/cloudflare.svg
    :target: https://pypi.org/project/cloudflare/
    :alt: License Badge

.. image:: https://img.shields.io/pypi/wheel/cloudflare.svg
    :target: https://pypi.org/project/cloudflare/
    :alt: Wheel Support Badge

.. image:: https://img.shields.io/pypi/pyversions/cloudflare.svg
    :target: https://pypi.org/project/cloudflare/
    :alt: Python Version Support Badge

**python-cloudflare** is a Python library for easy access to Cloudflare's API's.

**Trivial example**::

    >>> import CloudFlare
    >>> cf = CloudFlare.cloudflare()
    >>> 
    >>> cf.ips()
    {'ipv4_cidrs': ['173.245.48.0/20', ... ], ... }
    >>>

Refer to the `examples` directory for full examples.

The User Guide
--------------

.. toctree::
   :maxdepth: 4
   :caption: Contents:

   CloudFlare
   cli4
   examples

.. include:: modules.rst

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`