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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ravendb-7.2.3.tar.gz
  • Upload date:
  • Size: 333.5 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.tar.gz
Algorithm Hash digest
SHA256 2480eb209a58f2c945a4f58bac7d313a1f6a3f1ed9b8ead918428b2045255ae0
MD5 c799dc300599bef914b330e80ab0e7cb
BLAKE2b-256 ad5cd2f3af1cd9b0cb6ff4950a9549dc09460a5271260bd25d02cbb73d83e34c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ravendb-7.2.3-py3-none-any.whl
  • Upload date:
  • Size: 429.2 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-py3-none-any.whl
Algorithm Hash digest
SHA256 f4bdfe0f952942d95ffcf381cdee71f1e37916b3ac1363762cb61388ea3e3b1f
MD5 c5189f24ef81a53d945100d581e8519f
BLAKE2b-256 e5ff33bf324360213760173cf481489f77aa8bfff699e6cfecf84c5d17d6ce44

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