Skip to content
This repository was archived by the owner on Dec 19, 2021. It is now read-only.

audrow/mongodb-statedb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongodb-statedb

Use MongoDB to track the state. For example, in robotics applications.

Features

  • Uses MongoDB to handle possible concurrency issues
  • Create, Read, Update, and Delete (CRUD) database entries
  • Enforces that there is only one entry for each key

Usage

  1. Install MongoDB

  2. Start a MongoDB server:

    cd your/mongodb
    mongod --dbpath . --port 62345
    
  3. Clone this package and run the setup.py script:

    git clone https://github.com/audrow/mongodb-statedb
    cd mongodb-statedb
    python setup.py
    
  4. Use a StateDb instance in your code to read and write to the MongoDB database. You can see an example in example.py.

About mongodb-statedb

mongodb-statedb was created by Audrow Nash - audrow@hey.com

Distributed under the MIT license. See LICENSE.txt for more information.

About

Use MongoDB to track state.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages