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.

Source Distribution

filedb-0.1.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

filedb-0.1-py2.7.egg (4.8 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page