Python client for RavenDB NoSQL Database
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file ravendb-7.2.1.tar.gz.
File metadata
- Download URL: ravendb-7.2.1.tar.gz
- Upload date:
- Size: 327.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b621043bf38e3161810b3eb1ff5693b669452ff8ea7fe90e34945acba9d14c34
|
|
| MD5 |
a376f5da59e33fd8d6f165fd11b31766
|
|
| BLAKE2b-256 |
d37ecfc1180fc674c98502c8d0d79bbdf130ec8b17afb48b2ea3e24f993fb95d
|
File details
Details for the file ravendb-7.2.1-py3-none-any.whl.
File metadata
- Download URL: ravendb-7.2.1-py3-none-any.whl
- Upload date:
- Size: 422.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e2212958d6898cd62a70a74e7af63ad3a93be5f86d2cd083f19b50d321bfc78
|
|
| MD5 |
48254cf26213e09f81a2e186cc8ed7d0
|
|
| BLAKE2b-256 |
c79c71062ac57959a2fd79ca32375e1ae5257ced5395db08cdd2a9e6f72cf14b
|