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.3.post1.tar.gz (340.4 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.3.post1-py3-none-any.whl (438.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ravendb-7.2.3.post1.tar.gz
Algorithm Hash digest
SHA256 c82b231d93d8e6df1ebd129dba5109da5b72487e58bf3a46c43df88c7bbbb5e8
MD5 abfd4ec3b86d72a91ab7b676355966d2
BLAKE2b-256 f8cb8b7ee3a97f82672b9399790a28f9a3deaec2ab17c7953a912fdfbb1d1b46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ravendb-7.2.3.post1-py3-none-any.whl
  • Upload date:
  • Size: 438.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ravendb-7.2.3.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5759d24c1bda87bfceee26748551432872bef4f0654f75156bcc5b5929ddc5e
MD5 27168b2fe6cd871ef7523e3ad9742910
BLAKE2b-256 f75d23fd28fab95675ca0b3d39669416b37af4332eebef285c082094fdafbb46

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