Skip to main content

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

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

Project details


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.1.post1.tar.gz (328.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ravendb-7.2.1.post1-py3-none-any.whl (422.9 kB view details)

Uploaded Python 3

File details

Details for the file ravendb-7.2.1.post1.tar.gz.

File metadata

  • Download URL: ravendb-7.2.1.post1.tar.gz
  • Upload date:
  • Size: 328.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for ravendb-7.2.1.post1.tar.gz
Algorithm Hash digest
SHA256 5277c864996a4fd55b26e9e1a2a2278e7eaf1ec6a980cdbdf5f1dd79ceb86cf7
MD5 e1069fa0da849e8dd2c69ce63cdc68a0
BLAKE2b-256 4d90fa7d22d7c96c9969fedce9a05cb4bda30ed1da3a1f8df92b0f25ebf34ebe

See more details on using hashes here.

File details

Details for the file ravendb-7.2.1.post1-py3-none-any.whl.

File metadata

  • Download URL: ravendb-7.2.1.post1-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

Hashes for ravendb-7.2.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 99d4f60fdc027366c14e9251c7c695dc1d463858349828e026733d96761abed2
MD5 f747d22b7fa69e859dbc3fb1c04aa422
BLAKE2b-256 ee26152a1ed2521dfdd5e2c9aa9ba3405daeaeb254c571533c5aa8ef894704d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page