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.2.tar.gz (332.3 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.2-py3-none-any.whl (427.8 kB view details)

Uploaded Python 3

File details

Details for the file ravendb-7.2.2.tar.gz.

File metadata

  • Download URL: ravendb-7.2.2.tar.gz
  • Upload date:
  • Size: 332.3 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.2.tar.gz
Algorithm Hash digest
SHA256 b9e828458a8c438fc14364a12ae0ac44198bcec0fb268729df67cca9f9f5c1db
MD5 dcae15dbac970416aa91b5dac6175090
BLAKE2b-256 8d35b893718079829c7056d2762b6a8e099903a6c771a40fad538e1c6b08d34b

See more details on using hashes here.

File details

Details for the file ravendb-7.2.2-py3-none-any.whl.

File metadata

  • Download URL: ravendb-7.2.2-py3-none-any.whl
  • Upload date:
  • Size: 427.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df061b0d12ef4734c634ff0a84e1b46d1effea1f7d10c97f4ffab45935fe4c2e
MD5 aecabceb50657031ebfbba0a6b4d0d05
BLAKE2b-256 cb8438aec53a299c569ce137db942327e53b75c9fa402bfcac18bd120793cc0a

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