Skip to main content
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!

Teleportd API Python Wrapper

Project Description

The Teleportd API for Python is a Python wrapper around the Teleportd API that makes it very simple to build Python apps on top of the Teleportd API. For more information on how the API works, a full documentation is available here.

Typical usage looks like this:

#!/usr/bin/env python

from teleportd import Teleportd

teleportd = Teleportd('_YOUR_USER_KEY_')

# Search with filters as a dictionary
search = teleportd.search({'str': 'laduree'})

# Retrieve a picture with the corresponding sha
get = teleportd.get({'sha': '12-07-20-98a3b3fdd9b190ef4484a06a76fc1009c03076c5'})

# Callback for each object fetched from the stream
def callback(data):
        do_something(data)

# Real-time photo stream
stream = teleportd.stream({}, callback)

License

This wrapper is released under the MIT license.

Release History

Release History

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

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
Teleportd-0.3.3.tar.gz (2.1 kB) Copy SHA256 Checksum SHA256 Source Jul 25, 2012

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