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.tar.gz
(382.3 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-py3-none-any.whl
(489.5 kB
view details)
File details
Details for the file ravendb-7.2.6.tar.gz.
File metadata
- Download URL: ravendb-7.2.6.tar.gz
- Upload date:
- Size: 382.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca16854fbd3269c6181a8d891bcbcbe58875b0917b24e8b44063a4de9d9f1a8c
|
|
| MD5 |
e54c389da10ac2938c74abff4f9dd0a4
|
|
| BLAKE2b-256 |
e41a28a66276a650f053606dcb6dffcba70baca917cd8b5f2bab2373a2517e53
|
File details
Details for the file ravendb-7.2.6-py3-none-any.whl.
File metadata
- Download URL: ravendb-7.2.6-py3-none-any.whl
- Upload date:
- Size: 489.5 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 |
420234e3f6e0a621db19c5661d2859102463c4892b14af1316300ed0fe61ea10
|
|
| MD5 |
bb9128039bb26072f467e17d3a68be37
|
|
| BLAKE2b-256 |
ea779f8fbd07c810e56824bb62aa3b00a9e306318eb0b25de318f6082ca5532d
|