This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Notice: This work is not sponsored or otherwise acknowledged by Gigya Inc in any way shape or form.

Gigya Server Lib (gslib) is a python adaptation of the Gigya Server SDK to python.

Typical Usage

Properly initialized, gslib is very simple to use:

# Make a request to gigya (retrieve a user's data from GCS)
gslib.Request('gcs.getUserData',
              params={"UID": '<user UID>', "fields": "*"},
              use_https=True).send()

# Verify an event's signature (gigya_dict contains a json response
# loaded to a dict with json.loads)
# See: http://bit.ly/NZ2Bpc
gslib.SigUtils.signature_validate(gigya_dict['signatureTimestamp'],
                                    gigya_dict['UID'],
                                    gigya_dict['UIDSignature'])

Installation

To install Gigya Server Lib, simply:

$ pip install gigya-server-lib

Or, if you’re running on an old and busted environment:

$ easy_install gigya-server-lib

Initialization

If used inside a django application gslib will automatically look for the following settings:

settings.GIGYA_API_KEY
settings.GIGYA_SECRET_KEY

If used inside a flask application, initialization can be done by calling gslib.initialize_app, gslib will expect similar keys on the flask app’s config (GIGYA_API_KEY and GIGYA_SECRET_KEY).

Otherwise the api key and secret key can be sent as arguments to the constructor of a gslib.Request.

History

0.1.6 (2013-03-14)

  • Who would’ve guessed, changing requests to be versionless has indeed bit me in the ass.

0.1.3 (2012-08-26)

  • changed requests’ installed_requires to be versionless (this will probably never bite me in the ass, nope, not at all)
  • first working version successfully published to PyPI

0.1.2 (2012-08-26)

  • removed import from setup.py and manually added data to prevent importing requests library when doing the setup

0.1.1 (2012-08-26)

  • added newlines to LICENSE.txt

0.1.0 (2012-08-20)

  • Initial release.
Release History

Release History

0.1.6

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.1.5

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.1.4

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.1.3

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.1.2

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.1.0

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

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
gigya-server-lib-0.1.6.tar.gz (5.9 kB) Copy SHA256 Checksum SHA256 Source Mar 14, 2013

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