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
Release files for ravendb 7.2.6.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ravendb-7.2.6.post1.tar.gz | 383.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ravendb-7.2.6.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:873.0 kB
Release files / ravendb-7.2.6.post1.tar.gz
| Download URL | ravendb-7.2.6.post1.tar.gz |
|---|---|
| Size | 383.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6541d3de839c43e89f80810bbb241d1a7845349f797838b3ee84ab4b562d1a69
|
|
BLAKE2b-256 checksum How to use checksums |
666b803cc0aa7ed12955c4a77dd6e655e367ddcda55182b7b191a5d2c6a396d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / ravendb-7.2.6.post1-py3-none-any.whl
| Download URL | ravendb-7.2.6.post1-py3-none-any.whl |
|---|---|
| Size | 489.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4346684d5200f1dc78736f852cf3668b69ab8e50268f7e1b5b9f3e5619ebd21c
|
|
BLAKE2b-256 checksum How to use checksums |
27c00ea9861bd5def679359c921db049f3d43c6969a066977f0bc0dfb438bc17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|