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

Python interface to This Is My Jam API.

Project Description
# Marmalade - A Python Client for [This Is My Jam](

* Tastes Great
* Good on Toast
* Easy to use!

$ easy_install -U marmalade


import marmalade

me = marmalade.TIMJUser('tylerbw')
def print_friends(user):
print "Followers:"
for i, follower in enumerate(user.get_followers(sort='affinity')):
print '\t',i,':',follower.get_full_name()


def find_slacker_friends(user):
return [friend for friend in user.get_followers() if not friend.has_current_jam()]

print find_slacker_friends(me)

a_jam = marmalade.Jam.from_user('flaneur')
print a_jam.get_num_plays()

def find_most_popular_follower(user):
return sorted((friend.get_num_followers(),friend) for friend in user.get_followers())[-1][1]

print find_most_popular_follower(me)

import random
def random_walk_generator(user, steps_away):
yield user
followers = user.get_followers()
for _ in xrange(steps_away):
new_user = random.choice(followers)
yield new_user
user = new_user
followers = user.get_followers()

print " ==> ".join( for u in random_walk_generator(me, 4))

Look at the source or []( for more examples.

## YUM
![alt text]( "mmmmm (from:")
Release History

Release History

This version
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
marmalade-1.1.0.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Apr 18, 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