Skip to content

AndyPermaRobotics/openral-mongodb-py

Repository files navigation

openral-mongodb-py

MongoDB Implementation of a RalRepository for openRAL.

Install

pip install openral-mongodb-py

Usage

from openral_mongodb_py import RalRepositoryMongoDB
from pymongo import MongoClient

# connect to MongoDB and get the database
client = MongoClient({connection_string})
database : Database = client["{database_name}"]

# create the repository
repository = RalRepositoryMongoDB(database, "{collection_name}")

repository.get_ral_object_by_uid("{uid}")

About

MongoDB Implementation of a RalRepository for openRAL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages