Python driver
This section describes Fauna’s open source Python driver, which provides the resource required to interact with Fauna.
Compatibility
The following versions of Python are supported:
-
Python 2.7
-
Python 3.3
-
Python 3.4
-
Python 3.5
-
Python 3.6
-
Python 3.7
-
Python 3.8
Usage
from faunadb import query as q
from faunadb.objects import Ref
from faunadb.client import FaunaClient
client = FaunaClient(secret="your-secret-here")
indexes = client.query(q.paginate(q.indexes()))
print(indexes)
Next steps
-
Driver repository: https://github.com/fauna/faunadb-python
-
For more information about the Fauna Query Language, consult our query language reference documentation.
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!