Python driver
This section describes Fauna’s open source Python driver, which provides the resource required to interact with Fauna.
Current stable version |
4.0.1 |
Repository |
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.
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums
or email docs@fauna.com
Thank you for your feedback!