Skip to main content

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

http://issues.hibernatingrhinos.com/issues/RDBC

Metadata

Release files for ravendb 7.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ravendb 7.2.7
File Size Uploaded Provenance
ravendb-7.2.7.tar.gz 384.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ravendb 7.2.7
File Interpreter ABI Platform
ravendb-7.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 882.0 kB

Release files / ravendb-7.2.7.tar.gz

Download URL ravendb-7.2.7.tar.gz
Size 384.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2d386e54a44b73ba60dcd4df89557014d8c4d45f198a5e8211b4e706c1430cfe
BLAKE2b-256 checksum
How to use checksums
4ab632353c5a4c9a10355561577d16f376bcede1ffa27497575a0730805af134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / ravendb-7.2.7-py3-none-any.whl

Download URL ravendb-7.2.7-py3-none-any.whl
Size 497.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb94f830b2bf518a456b62ee7bae1f92dc51e632755f87632837d80899f5426c
BLAKE2b-256 checksum
How to use checksums
eba2ff0f2c9008879d2a6e21c392f57b5740a643f953fce6a80843ed93d5d55c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for ravendb 7.2.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

7.2.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page