This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Stores Google OAuth credentials in Django ORM for easy API service access.

Installation:

  1. Install or add django-google-credentials to your Python path.

  2. Add google_credentials to your INSTALLED_APPS setting.

  3. Add google_credentials URL include to your project’s urls.py file:

    url(r'^google-credentials/', include('google_credentials.urls')),
    
  4. Create your project on the Google API Console, specifying the redirect URL as http://your.domain.com/google-credentials/callback (or however you setup your urls.py as described above).

  5. Add the following settings to your project’s settings.py file populated with values as retrieved from Google in the previous step, i.e.:

    GA_CLIENT_ID = '32749234234.apps.googleusercontent.com'
    GA_CLIENT_SECRET = 'DKSFY87sd6fHJGdsf6'
    GA_SCOPE = 'https://www.googleapis.com/auth/analytics.readonly'
    GA_REDIRECT_URI = 'http://your.domain.com/google-credentials/callback'
    
  6. Run syncdb to generate required models.

Usage

Before you can start using a service you have to authorize it with your Google account. To do this open http://your.domain.com/google-credentials/authorize in your browser.

Once authorized you can retrieve a service for further querying like so:

from google_credentials import utils

service = utils.get_service()

To purge previously generated credentials open http://your.domain.com/google-credentials/purge in your browser.

Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_google_credentials-0.0.2-py2.7.egg (7.2 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jan 22, 2013
django-google-credentials-0.0.2.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Jan 22, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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