Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install sunlight

How to install sunlight

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install sunlight
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.1.3
1.1.8Never BuiltWhy not?
1.1.3 Available View build log
1.1.1 Available View build log
1.1.0 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
Windows (64-bit)
1.1.3
1.1.8Never BuiltWhy not?
1.1.3 Available View build log
1.1.1 Available View build log
1.1.0 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
Mac OS X (10.5+)
1.1.3
1.1.8Never BuiltWhy not?
1.1.3 Available View build log
1.1.1 Available View build log
1.1.0 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
Linux (32-bit)
1.1.5
1.1.8Never BuiltWhy not?
1.1.5 Available View build log
1.1.3 Available View build log
1.1.1 Available View build log
1.1.0 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
Linux (64-bit)
1.1.8 Available View build log
1.1.5 Available View build log
1.1.3 Available View build log
1.1.1 Available View build log
1.1.0 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
 
License
BSD
Dependencies
Lastest release
version 1.1.8 on Jan 9th, 2014

This project is an attempt to unify all the Sunlight API bindings into a single project that is clear, concise, easy to read, powerful, and fun to play with.

Setup

Using this library is very easy - by default, python-sunlight will search for API keys in two places. First, ~/.sunlight.key will be read, and the contents of that file will be used as the API Key. Secondly, if an enviroment variable called SUNLIGHT_API_KEY is set, that will be used (in the case of both being read, the enviroment variable will override the file.)

To register for an API key, if you don't have one, please fill out the form here.

The easiest way to write this file out is by running a command similar to this ( on systems that support a POSIX shell):

echo "API_KEY" > ~/.sunlight.key

where API_KEY is actually the string of letters and numbers that was emailed to you. Actually putting API_KEY into this file will most likely result in an error from the server. You can confirm they key with the following command:

cat ~/.sunlight.key

This should output the string that was emailed to you.

Help me!

Basic usage and some brief examples can be found on readthedocs. If this doens't help, feel free to email for help, ask over IRC in #sunlightlabs on irc.freenode.net, or open a issue if it's a particularly nasty bug (particularly regarding ambiguous documentation, or poorly exposed API methods).

License

All code in this project is licensed under a BSD-3 clause style license. The exact terms are in the LICENSE file, which will be distributed with any copy of the source you recieve.

Contribute

Bugfixes, documentation contributions and more extensive (yet clear) example scripts are all welcome and encouraged. Please open a pull-request against python-sunlight, or email a format-patch to the email address listed in the setup.py script.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.