Python driver
This section describes Fauna’s open source Python driver, which provides the resource required to interact with FaunaDB.
Compatibility
The following versions of Python are supported:
-
Python 2.7
-
Python 3.3
-
Python 3.4
-
Python 3.5
-
Python 3.6
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
-
Driver reference documentation: https://faunadb.readthedocs.org/en/latest/.
-
For more information about FaunaDB query language, consult our query language reference documentation.
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!