Skip to main content

Create a file that pretends to be a database query

Project description

# filedb Create a file that pretends to be a MongoDB collection. If you try to open the file, it will JSONify the collection and dump it back to you.

## Why? Because our enterprise database is file based, but our cloud based database isn’t.

## …no really why? Files are simpler and don’t break. The database operations we need to perform aren’t complicated and don’t require high performance. By using files there isn’t a database that can fail. There’s the added benefit that if customers want to use different types of databases for distributed systems, we can plug into any of them using a filedb (we just have to make something that dumps out JSON .

## Quickstart

#### Install FUSE Make sure you have [FUSE](http://fuse.sourceforge.net/) installed.

#### Install filedb `bash $ pip install filedb `

### Running via python `bash $ filedb /tmp/tutorial/mnt/ mongodb://localhost:27017/test people `

### Upstart job `bash cp -R overlay/* / sudo start filedb `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for filedb, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size filedb-0.1-py2.7.egg (4.8 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size filedb-0.1.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page