Skip to main content

Access from your Django site.

Project description

This is a small Django application that allows you to access and embed e.g. your recently listened tracks or you top artists on your website.

Currently you can get your

  • recently listened tracks
  • weekly artist chart
  • top artists (for a definable period)

The application consists of two main parts: The first one is a view, that retrieves the data from, processes it and returns it as a JSON encoded dict. The second one is a template tag that embeds some AJAX code into your website. This code will call the view and display the artist images or album covers. This mechanism prevents the servers from slowing down your blazingly fast Django site … ;-)


This app is tested with Django 1.1. It might also work with older versions, but I haven’t tested it.

If you want to run the tests, you’ll need to install Mock.

There are no other requirements.


If you read this, you have probably managed to extract the archive containing these files. Next, open a Terminal and cd to the directory containing this file (e.g. cd ~/Downloads/django-lastfm). Then execute:

python install

If you checked out the repository and always want to use the newest version, type:

pip install -e path/to/django-lastfm


The Documentation can be found in the docs/ directory or online.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-lastfm, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-lastfm-1.0.1.tar.gz (91.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page