Official Python client for RavenDB NoSQL Database
Installation
Install from PyPi, as ravendb.
pip install ravendb
Introduction
Python client API (v7.2) for RavenDB , a NoSQL document database.
Type-hinted entire project and API results - using the API is now much more comfortable with IntelliSense
Releases
Click here to view all Releases and Changelog.
Demo
Working with secured server
from ravendb import DocumentStore
URLS = ["https://raven.server.url"]
DB_NAME = "SecuredDemo"
CERT_PATH = "path\\to\\cert.pem"
class User:
def __init__(self, name: str, tag: str):
self.name = name
self.tag = tag
store = DocumentStore(URLS, DB_NAME)
store.certificate_pem_path = CERT_PATH
store.initialize()
user = User("Gracjan", "Admin")
with store.open_session() as session:
session.store(user, "users/1")
session.save_changes()
with store.open_session() as session:
user = session.load("users/1", User)
assert user.name == "Gracjan"
assert user.tag == "Admin"
RavenDB Documentation
https://ravendb.net/docs/article-page/5.3/python
GitHub
https://github.com/ravendb/ravendb-python-client
Bug Tracker
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ravendb-7.2.3.post2.tar.gz
(344.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ravendb-7.2.3.post2-py3-none-any.whl
(442.4 kB
view details)
File details
Details for the file ravendb-7.2.3.post2.tar.gz.
File metadata
- Download URL: ravendb-7.2.3.post2.tar.gz
- Upload date:
- Size: 344.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a9a962066da928fbd96b64a1ff642efe78aa88f084daf34e1bee56c50dfed8
|
|
| MD5 |
204483233f0199fe7b3ede65645da4e2
|
|
| BLAKE2b-256 |
9d55bddb6a5a389959893eb07c659ce9a747f7554f8c78228898fce08b5d6ffd
|
File details
Details for the file ravendb-7.2.3.post2-py3-none-any.whl.
File metadata
- Download URL: ravendb-7.2.3.post2-py3-none-any.whl
- Upload date:
- Size: 442.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdc275ddf802a028d886648cbac02ec83efc95d25bba41c2d30e779632c9a651
|
|
| MD5 |
bf9dbf5564358020099e60fc93d236d4
|
|
| BLAKE2b-256 |
98a8c2df2943fa78655216b3f94349adb43cdd4be809f1886046a75f235496bf
|