A simple database wrapper
Project description
See our documentation at http://gludb.readthedocs.io/
Generalized Learning Utilities Database Library
For more GLU, see also SuperGLU
GLUDB provides a simple way to read/write data to some popular datastores like Amazon’s DynamoDB and Google Cloud Datastore. We provide:
A simple abstraction layer for annotating classes that need serialization
Support for versioning by automatically storing change history with the data
Automated “indexing”, which includes querying on the value of indexes
Automated, configurable backup to Amazon’s S3 (and Glacier depending on how you configure the S3 buckets)
We support Python 2 (2.7 and greater) and 3 (3.4 and greater). The data stores supported are:
sqlite
DynamoDB
Google Cloud Datastore
MongoDB
PostgreSQL (version 9.5 and greater)
Installing
You can install from PyPI using pip:
pip install gludb
You will also need to install any dependencies you need based on the functionality you want to use:
DynamoDB Backend - boto
Google Cloud Datastore - googledatastore
MongoDB - pymongo
Backups - boto
setup.py includes these dependencies so that you can install them all at the same time (assuming a decently recent version of pip). As an example, you could install gludb and the dependencies needed for DynamoDB and backup support into a virtualenv using Python 3 like this:
user@host:~$ virtualenv -p python3 env user@host:~$ . env/bin/activate user@host:~$ pip install --upgrade pip wheel user@host:~$ pip install gludb[dynamodb,backups]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gludb-0.2.0.tar.gz
.
File metadata
- Download URL: gludb-0.2.0.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e666829cbac88d83a306f6fe5d277c16401390c6eb2f5764e22e1a7bed130a6e |
|
MD5 | 554ec1f838a70d4aa12718f94d684a0b |
|
BLAKE2b-256 | d53c82222d2e4f74f7f218506a8baac64ef9844d0a05c47398d02391ceda81ce |
File details
Details for the file gludb-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: gludb-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e12d07712b18cf06aec42b479de0829337d145e1483a8b93128a78bf94879b9 |
|
MD5 | 85ae9d055b28dbce75a1315efb967c77 |
|
BLAKE2b-256 | 9cc2a1ea7a034c61f4a5fae57ec3a9211ce834e5420786a39b1d5645c650e6bf |