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.6.post1.tar.gz
(383.4 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.6.post1-py3-none-any.whl
(489.6 kB
view details)
File details
Details for the file ravendb-7.2.6.post1.tar.gz.
File metadata
- Download URL: ravendb-7.2.6.post1.tar.gz
- Upload date:
- Size: 383.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6541d3de839c43e89f80810bbb241d1a7845349f797838b3ee84ab4b562d1a69
|
|
| MD5 |
eebdcec0fba1f23bf3e98777f3965dc0
|
|
| BLAKE2b-256 |
666b803cc0aa7ed12955c4a77dd6e655e367ddcda55182b7b191a5d2c6a396d8
|
File details
Details for the file ravendb-7.2.6.post1-py3-none-any.whl.
File metadata
- Download URL: ravendb-7.2.6.post1-py3-none-any.whl
- Upload date:
- Size: 489.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4346684d5200f1dc78736f852cf3668b69ab8e50268f7e1b5b9f3e5619ebd21c
|
|
| MD5 |
50bcc753fa40e4c0abaac6ab573c65b1
|
|
| BLAKE2b-256 |
27c00ea9861bd5def679359c921db049f3d43c6969a066977f0bc0dfb438bc17
|