Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Allow easy integration with Google storage for Django projects

Project Description

This library is intended to be a ‘plug-and-play’ replacement for but reading and writing files from Google storage. So there are two goals -

  • It should be possible to use this library in projects already using local filesystem but which want to start using Google storage. In this case, we read from Google storage but if that fails, read from local filesystem and also update Google storage.

  • Make it simpler to use newer features of Google storage like encrypting files with sensitive information

    order_pdf = FileField(encrypted=True)


Using the module to upload some files

>>> from gstorage.bucket import Bucket

>>> bucket = Bucket.get_default()
>>> bucket.copydir('share/storage/2016/10/01')

Release history

0.5.1 (2016-11-04)

  • implements the interface expected from The only supported interface at this point is storage._save, and other methods are experimental.
  • Support Python 3.4 for new Django (1.9 and 1.10)
  • Added an example project showing use of django-gstorage

0.4.1 (2016-10-30)

  • Updated docstrings to sphinx style
  • Added documentation for gstorage.utils

0.4.0 (2016-10-30)


  • Refactored tests and added seperate test files for each module.
  • Updated documentation on to include section about bucket.

0.3.0 (2016-10-28)


  • gstorage.bucket.Bucket.get_default allowing easy access to default bucket.
  • gstorage.bucket.Bucket.copydir allowing easy upload of files to Google cloud.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_gstorage-0.5.1-py2.py3-none-any.whl (9.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Nov 4, 2016
django-gstorage-0.5.1.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting