Skip to main content

SuperDuper MongoDB is a Python library that provides a high-level API for working with MongoDB. It is built on top of pymongo and provides a more user-friendly interface for working with MongoDB.

Project description

superduper_mongodb

SuperDuper MongoDB is a Python library that provides a high-level API for working with MongoDB. It is built on top of pymongo and provides a more user-friendly interface for working with MongoDB.

In general the MongoDB query API works exactly as per pymongo, with the exception that:

  • inputs are wrapped in Document
  • additional support for vector-search is provided
  • queries are executed lazily

Installation

pip install superduper_mongodb

API

Class Description
superduper_mongodb.data_backend.MongoDataBackend Data backend for MongoDB.

Connection examples

Connect to mongomock

from superduper import superduper
db = superduper('mongomock://test')

Connect to MongoDB

from superduper import superduper
db = superduper('mongodb://localhost:27017/documents')

Connect to MongoDB Atlas

from superduper import superduper
db = superduper('mongodb+srv://<username>:<password>@<cluster-url>/<database>')

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

superduper_mongodb-0.6.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

superduper_mongodb-0.6.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file superduper_mongodb-0.6.1.tar.gz.

File metadata

  • Download URL: superduper_mongodb-0.6.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for superduper_mongodb-0.6.1.tar.gz
Algorithm Hash digest
SHA256 9de825310258e3e2079ec916cce5172ef2a3d9b9c15b6e25f78d79f8db0f5d40
MD5 ae3aed9449a4e8631cd78938f33aefe4
BLAKE2b-256 0e89614bce47efbe0edc5cce12b03e4be6ca08b41c2e301982ce0d9dbc5443ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_mongodb-0.6.1.tar.gz:

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file superduper_mongodb-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for superduper_mongodb-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba66ee21e54598efa368255f87f413ee97b4c1495e2c5050f5a2931c234cdee4
MD5 582dbee335f9353aef2893c20d0cd207
BLAKE2b-256 6713412620995828cbf38c6e5e71a1499cc0d05e935369bc6bbfd8585a661d3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_mongodb-0.6.1-py3-none-any.whl:

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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