PageRenderTime 1103ms CodeModel.GetById 173ms app.highlight 824ms RepoModel.GetById 88ms app.codeStats 1ms

/apidocs/pyechonest.proxies-pysrc.html

http://echo-nest-remix.googlecode.com/
HTML | 416 lines | 385 code | 10 blank | 21 comment | 0 complexity | 42a89ace6e3eaac7d33170155d5f826c MD5 | raw file
  1<?xml version="1.0" encoding="ascii"?>
  2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3          "DTD/xhtml1-transitional.dtd">
  4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5<head>
  6  <title>pyechonest.proxies</title>
  7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  8  <script type="text/javascript" src="epydoc.js"></script>
  9</head>
 10
 11<body bgcolor="white" text="black" link="blue" vlink="#204080"
 12      alink="#204080">
 13<!-- ==================== NAVIGATION BAR ==================== -->
 14<table class="navbar" border="0" width="100%" cellpadding="0"
 15       bgcolor="#a0c0ff" cellspacing="0">
 16  <tr valign="middle">
 17
 18  <!-- Tree link -->
 19      <th>&nbsp;&nbsp;&nbsp;<a
 20        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 21
 22  <!-- Index link -->
 23      <th>&nbsp;&nbsp;&nbsp;<a
 24        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
 25
 26  <!-- Help link -->
 27      <th>&nbsp;&nbsp;&nbsp;<a
 28        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 29
 30  <!-- Project homepage -->
 31      <th class="navbar" align="right" width="100%">
 32        <table border="0" cellpadding="0" cellspacing="0">
 33          <tr><th class="navbar" align="center"
 34            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
 35          </tr></table></th>
 36  </tr>
 37</table>
 38<table width="100%" cellpadding="0" cellspacing="0">
 39  <tr valign="top">
 40    <td width="100%">
 41      <span class="breadcrumbs">
 42        <a href="pyechonest-module.html">Package&nbsp;pyechonest</a> ::
 43        Module&nbsp;proxies
 44      </span>
 45    </td>
 46    <td>
 47      <table cellpadding="0" cellspacing="0">
 48        <!-- hide/show private -->
 49        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
 50    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
 51        <tr><td align="right"><span class="options"
 52            >[<a href="frames.html" target="_top">frames</a
 53            >]&nbsp;|&nbsp;<a href="pyechonest.proxies-pysrc.html"
 54            target="_top">no&nbsp;frames</a>]</span></td></tr>
 55      </table>
 56    </td>
 57  </tr>
 58</table>
 59<h1 class="epydoc">Source Code for <a href="pyechonest.proxies-module.html">Module pyechonest.proxies</a></h1>
 60<pre class="py-src">
 61<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt>
 62<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"># encoding: utf-8</tt> </tt>
 63<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"> </tt>
 64<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
 65<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-docstring">Copyright (c) 2010 The Echo Nest. All rights reserved.</tt> </tt>
 66<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-docstring">Created by Tyler Williams on 2010-04-25.</tt> </tt>
 67<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
 68<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"> </tt>
 69<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module pyechonest.util=pyechonest.util-module.html"><a title="pyechonest.util" class="py-name" href="#" onclick="return doclink('link-0', 'util', 'link-0');">util</a></tt> </tt>
 70<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"> </tt>
 71<a name="GenericProxy"></a><div id="GenericProxy-def"><a name="L11"></a><tt class="py-lineno"> 11</tt> <a class="py-toggle" href="#" id="GenericProxy-toggle" onclick="return toggle('GenericProxy');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyechonest.proxies.GenericProxy-class.html">GenericProxy</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 72</div><div id="GenericProxy-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="GenericProxy-expanded"><a name="GenericProxy.__init__"></a><div id="GenericProxy.__init__-def"><a name="L12"></a><tt class="py-lineno"> 12</tt> <a class="py-toggle" href="#" id="GenericProxy.__init__-toggle" onclick="return toggle('GenericProxy.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.GenericProxy-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 73</div><div id="GenericProxy.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="GenericProxy.__init__-expanded"><a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">cache</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
 74</div><a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line">     </tt>
 75<a name="GenericProxy.get_attribute"></a><div id="GenericProxy.get_attribute-def"><a name="L15"></a><tt class="py-lineno"> 15</tt> <a class="py-toggle" href="#" id="GenericProxy.get_attribute-toggle" onclick="return toggle('GenericProxy.get_attribute');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.GenericProxy-class.html#get_attribute">get_attribute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method_name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 76</div><div id="GenericProxy.get_attribute-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="GenericProxy.get_attribute-expanded"><a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line">        <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="pyechonest.util" class="py-name" href="#" onclick="return doclink('link-1', 'util', 'link-0');">util</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Function pyechonest.util.callm()=pyechonest.util-module.html#callm"><a title="pyechonest.util.callm" class="py-name" href="#" onclick="return doclink('link-2', 'callm', 'link-2');">callm</a></tt><tt class="py-op">(</tt><tt class="py-string">"%s/%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">type</tt><tt class="py-op">,</tt> <tt class="py-name">method_name</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
 77<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">result</tt><tt class="py-op">[</tt><tt class="py-string">'response'</tt><tt class="py-op">]</tt> </tt>
 78</div><a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line">     </tt>
 79<a name="GenericProxy.post_attribute"></a><div id="GenericProxy.post_attribute-def"><a name="L19"></a><tt class="py-lineno"> 19</tt> <a class="py-toggle" href="#" id="GenericProxy.post_attribute-toggle" onclick="return toggle('GenericProxy.post_attribute');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.GenericProxy-class.html#post_attribute">post_attribute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method_name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 80</div><div id="GenericProxy.post_attribute-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="GenericProxy.post_attribute-expanded"><a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">        <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="pyechonest.util" class="py-name" href="#" onclick="return doclink('link-3', 'util', 'link-0');">util</a></tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="pyechonest.util.callm" class="py-name" href="#" onclick="return doclink('link-4', 'callm', 'link-2');">callm</a></tt><tt class="py-op">(</tt><tt class="py-string">"%s/%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">type</tt><tt class="py-op">,</tt> <tt class="py-name">method_name</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">kwargs</tt><tt class="py-op">,</tt> <tt class="py-name">POST</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
 81<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">result</tt><tt class="py-op">[</tt><tt class="py-string">'response'</tt><tt class="py-op">]</tt> </tt>
 82</div></div><a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">     </tt>
 83<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"> </tt>
 84<a name="ArtistProxy"></a><div id="ArtistProxy-def"><a name="L24"></a><tt class="py-lineno"> 24</tt> <a class="py-toggle" href="#" id="ArtistProxy-toggle" onclick="return toggle('ArtistProxy');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyechonest.proxies.ArtistProxy-class.html">ArtistProxy</a><tt class="py-op">(</tt><tt class="py-base-class">GenericProxy</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 85</div><div id="ArtistProxy-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ArtistProxy-expanded"><a name="ArtistProxy.__init__"></a><div id="ArtistProxy.__init__-def"><a name="L25"></a><tt class="py-lineno"> 25</tt> <a class="py-toggle" href="#" id="ArtistProxy.__init__-toggle" onclick="return toggle('ArtistProxy.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.ArtistProxy-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">identifier</tt><tt class="py-op">,</tt> <tt class="py-param">buckets</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 86</div><div id="ArtistProxy.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ArtistProxy.__init__-expanded"><a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">        <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-5" class="py-name" targets="Class pyechonest.proxies.ArtistProxy=pyechonest.proxies.ArtistProxy-class.html"><a title="pyechonest.proxies.ArtistProxy" class="py-name" href="#" onclick="return doclink('link-5', 'ArtistProxy', 'link-5');">ArtistProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Method echonest.action.Blend.__init__()=echonest.action.Blend-class.html#__init__,Method echonest.action.Crossfade.__init__()=echonest.action.Crossfade-class.html#__init__,Method echonest.action.Edit.__init__()=echonest.action.Edit-class.html#__init__,Method echonest.action.Jump.__init__()=echonest.action.Jump-class.html#__init__,Method echonest.action.Playback.__init__()=echonest.action.Playback-class.html#__init__,Method echonest.audio.AmplitudeFactor.__init__()=echonest.audio.AmplitudeFactor-class.html#__init__,Method echonest.audio.AudioAnalysis.__init__()=echonest.audio.AudioAnalysis-class.html#__init__,Method echonest.audio.AudioData.__init__()=echonest.audio.AudioData-class.html#__init__,Method echonest.audio.AudioData32.__init__()=echonest.audio.AudioData32-class.html#__init__,Method echonest.audio.AudioQuantum.__init__()=echonest.audio.AudioQuantum-class.html#__init__,Method echonest.audio.AudioQuantumList.__init__()=echonest.audio.AudioQuantumList-class.html#__init__,Method echonest.audio.AudioSegment.__init__()=echonest.audio.AudioSegment-class.html#__init__,Method echonest.audio.FileTypeError.__init__()=echonest.audio.FileTypeError-class.html#__init__,Method echonest.audio.LevelDB.__init__()=echonest.audio.LevelDB-class.html#__init__,Method echonest.audio.LocalAnalysis.__init__()=echonest.audio.LocalAnalysis-class.html#__init__,Method echonest.audio.LocalAudioFile.__init__()=echonest.audio.LocalAudioFile-class.html#__init__,Method echonest.audio.ModifiedRenderable.__init__()=echonest.audio.ModifiedRenderable-class.html#__init__,Method echonest.audio.Simultaneous.__init__()=echonest.audio.Simultaneous-class.html#__init__,Method echonest.audio.TimeTruncateFactor.__init__()=echonest.audio.TimeTruncateFactor-class.html#__init__,Method echonest.audio.TimeTruncateLength.__init__()=echonest.audio.TimeTruncateLength-class.html#__init__,Method echonest.modify.Modify.__init__()=echonest.modify.Modify-class.html#__init__,Method echonest.support.midi.EventDispatcher.EventDispatcher.__init__()=echonest.support.midi.EventDispatcher.EventDispatcher-class.html#__init__,Method echonest.support.midi.MidiFileParser.MidiFileParser.__init__()=echonest.support.midi.MidiFileParser.MidiFileParser-class.html#__init__,Method echonest.support.midi.MidiInFile.MidiInFile.__init__()=echonest.support.midi.MidiInFile.MidiInFile-class.html#__init__,Method echonest.support.midi.MidiInStream.MidiInStream.__init__()=echonest.support.midi.MidiInStream.MidiInStream-class.html#__init__,Method echonest.support.midi.MidiOutFile.MidiOutFile.__init__()=echonest.support.midi.MidiOutFile.MidiOutFile-class.html#__init__,Method echonest.support.midi.MidiOutStream.MidiOutStream.__init__()=echonest.support.midi.MidiOutStream.MidiOutStream-class.html#__init__,Method echonest.support.midi.RawInstreamFile.RawInstreamFile.__init__()=echonest.support.midi.RawInstreamFile.RawInstreamFile-class.html#__init__,Method echonest.support.midi.RawOutstreamFile.RawOutstreamFile.__init__()=echonest.support.midi.RawOutstreamFile.RawOutstreamFile-class.html#__init__,Method echonest.video.ImageSequence.__init__()=echonest.video.ImageSequence-class.html#__init__,Method echonest.video.SynchronizedAV.__init__()=echonest.video.SynchronizedAV-class.html#__init__,Method echonest.video.VideoSettings.__init__()=echonest.video.VideoSettings-class.html#__init__,Method pyechonest.artist.Artist.__init__()=pyechonest.artist.Artist-class.html#__init__,Method pyechonest.playlist.Playlist.__init__()=pyechonest.playlist.Playlist-class.html#__init__,Method pyechonest.proxies.ArtistProxy.__init__()=pyechonest.proxies.ArtistProxy-class.html#__init__,Method pyechonest.proxies.GenericProxy.__init__()=pyechonest.proxies.GenericProxy-class.html#__init__,Method pyechonest.proxies.PlaylistProxy.__init__()=pyechonest.proxies.PlaylistProxy-class.html#__init__,Method pyechonest.proxies.SongProxy.__init__()=pyechonest.proxies.SongProxy-class.html#__init__,Method pyechonest.proxies.TrackProxy.__init__()=pyechonest.proxies.TrackProxy-class.html#__init__,Method pyechonest.results.Result.__init__()=pyechonest.results.Result-class.html#__init__,Method pyechonest.song.Song.__init__()=pyechonest.song.Song-class.html#__init__,Method pyechonest.util.EchoNestAPIError.__init__()=pyechonest.util.EchoNestAPIError-class.html#__init__,Method pyechonest.util.attrdict.__init__()=pyechonest.util.attrdict-class.html#__init__"><a title="echonest.action.Blend.__init__
 87echonest.action.Crossfade.__init__
 88echonest.action.Edit.__init__
 89echonest.action.Jump.__init__
 90echonest.action.Playback.__init__
 91echonest.audio.AmplitudeFactor.__init__
 92echonest.audio.AudioAnalysis.__init__
 93echonest.audio.AudioData.__init__
 94echonest.audio.AudioData32.__init__
 95echonest.audio.AudioQuantum.__init__
 96echonest.audio.AudioQuantumList.__init__
 97echonest.audio.AudioSegment.__init__
 98echonest.audio.FileTypeError.__init__
 99echonest.audio.LevelDB.__init__
100echonest.audio.LocalAnalysis.__init__
101echonest.audio.LocalAudioFile.__init__
102echonest.audio.ModifiedRenderable.__init__
103echonest.audio.Simultaneous.__init__
104echonest.audio.TimeTruncateFactor.__init__
105echonest.audio.TimeTruncateLength.__init__
106echonest.modify.Modify.__init__
107echonest.support.midi.EventDispatcher.EventDispatcher.__init__
108echonest.support.midi.MidiFileParser.MidiFileParser.__init__
109echonest.support.midi.MidiInFile.MidiInFile.__init__
110echonest.support.midi.MidiInStream.MidiInStream.__init__
111echonest.support.midi.MidiOutFile.MidiOutFile.__init__
112echonest.support.midi.MidiOutStream.MidiOutStream.__init__
113echonest.support.midi.RawInstreamFile.RawInstreamFile.__init__
114echonest.support.midi.RawOutstreamFile.RawOutstreamFile.__init__
115echonest.video.ImageSequence.__init__
116echonest.video.SynchronizedAV.__init__
117echonest.video.VideoSettings.__init__
118pyechonest.artist.Artist.__init__
119pyechonest.playlist.Playlist.__init__
120pyechonest.proxies.ArtistProxy.__init__
121pyechonest.proxies.GenericProxy.__init__
122pyechonest.proxies.PlaylistProxy.__init__
123pyechonest.proxies.SongProxy.__init__
124pyechonest.proxies.TrackProxy.__init__
125pyechonest.results.Result.__init__
126pyechonest.song.Song.__init__
127pyechonest.util.EchoNestAPIError.__init__
128pyechonest.util.attrdict.__init__" class="py-name" href="#" onclick="return doclink('link-6', '__init__', 'link-6');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
129<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">        <tt class="py-name">buckets</tt> <tt class="py-op">=</tt> <tt class="py-name">buckets</tt> <tt class="py-keyword">or</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
130<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt> <tt class="py-op">=</tt> <tt class="py-name">identifier</tt> </tt>
131<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">type</tt> <tt class="py-op">=</tt> <tt class="py-string">'artist'</tt> </tt>
132<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-name">kwargs</tt> <tt class="py-op">=</tt> <tt class="py-name">dict</tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">,</tt><tt class="py-name">v</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
133<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">        <tt class="py-comment"># the following are integral to all artist objects... the rest is up to you!</tt> </tt>
134<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-name">core_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'name'</tt><tt class="py-op">]</tt> </tt>
135<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">         </tt>
136<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">all</tt><tt class="py-op">(</tt><tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt> <tt class="py-keyword">for</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">core_attrs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
137<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">            <tt id="link-7" class="py-name" targets="Function pyechonest.song.profile()=pyechonest.song-module.html#profile"><a title="pyechonest.song.profile" class="py-name" href="#" onclick="return doclink('link-7', 'profile', 'link-7');">profile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method pyechonest.proxies.ArtistProxy.get_attribute()=pyechonest.proxies.ArtistProxy-class.html#get_attribute,Method pyechonest.proxies.GenericProxy.get_attribute()=pyechonest.proxies.GenericProxy-class.html#get_attribute,Method pyechonest.proxies.PlaylistProxy.get_attribute()=pyechonest.proxies.PlaylistProxy-class.html#get_attribute,Method pyechonest.proxies.SongProxy.get_attribute()=pyechonest.proxies.SongProxy-class.html#get_attribute"><a title="pyechonest.proxies.ArtistProxy.get_attribute
138pyechonest.proxies.GenericProxy.get_attribute
139pyechonest.proxies.PlaylistProxy.get_attribute
140pyechonest.proxies.SongProxy.get_attribute" class="py-name" href="#" onclick="return doclink('link-8', 'get_attribute', 'link-8');">get_attribute</a></tt><tt class="py-op">(</tt><tt class="py-string">'profile'</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-op">{</tt><tt class="py-string">'bucket'</tt><tt class="py-op">:</tt><tt class="py-name">buckets</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
141<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">            <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="pyechonest.song.profile" class="py-name" href="#" onclick="return doclink('link-9', 'profile', 'link-7');">profile</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method echonest.action.Edit.get()=echonest.action.Edit-class.html#get"><a title="echonest.action.Edit.get" class="py-name" href="#" onclick="return doclink('link-10', 'get', 'link-10');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'artist'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
142<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">        <tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-name">ca</tt><tt class="py-op">:</tt><tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-name">ca</tt><tt class="py-op">)</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">core_attrs</tt><tt class="py-op">+</tt><tt class="py-op">[</tt><tt class="py-string">'id'</tt><tt class="py-op">]</tt> <tt class="py-keyword">if</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">]</tt>         </tt>
143<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">cache</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
144</div><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">     </tt>
145<a name="ArtistProxy.get_attribute"></a><div id="ArtistProxy.get_attribute-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="ArtistProxy.get_attribute-toggle" onclick="return toggle('ArtistProxy.get_attribute');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.ArtistProxy-class.html#get_attribute">get_attribute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
146</div><div id="ArtistProxy.get_attribute-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ArtistProxy.get_attribute-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-11" class="py-name"><a title="pyechonest.util" class="py-name" href="#" onclick="return doclink('link-11', 'util', 'link-0');">util</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Variable pyechonest.util.short_regex=pyechonest.util-module.html#short_regex"><a title="pyechonest.util.short_regex" class="py-name" href="#" onclick="return doclink('link-12', 'short_regex', 'link-12');">short_regex</a></tt><tt class="py-op">.</tt><tt class="py-name">match</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt id="link-13" class="py-name"><a title="pyechonest.util" class="py-name" href="#" onclick="return doclink('link-13', 'util', 'link-0');">util</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Variable pyechonest.util.long_regex=pyechonest.util-module.html#long_regex"><a title="pyechonest.util.long_regex" class="py-name" href="#" onclick="return doclink('link-14', 'long_regex', 'link-14');">long_regex</a></tt><tt class="py-op">.</tt><tt class="py-name">match</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt id="link-15" class="py-name"><a title="pyechonest.util" class="py-name" href="#" onclick="return doclink('link-15', 'util', 'link-0');">util</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Variable pyechonest.util.foreign_regex=pyechonest.util-module.html#foreign_regex"><a title="pyechonest.util.foreign_regex" class="py-name" href="#" onclick="return doclink('link-16', 'foreign_regex', 'link-16');">foreign_regex</a></tt><tt class="py-op">.</tt><tt class="py-name">match</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
147<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">            <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">'id'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt> </tt>
148<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
149<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">            <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">'name'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt> </tt>
150<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-17" class="py-name"><a title="pyechonest.proxies.ArtistProxy" class="py-name" href="#" onclick="return doclink('link-17', 'ArtistProxy', 'link-5');">ArtistProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="pyechonest.proxies.ArtistProxy.get_attribute
151pyechonest.proxies.GenericProxy.get_attribute
152pyechonest.proxies.PlaylistProxy.get_attribute
153pyechonest.proxies.SongProxy.get_attribute" class="py-name" href="#" onclick="return doclink('link-18', 'get_attribute', 'link-8');">get_attribute</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
154</div></div><a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"> </tt>
155<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">     </tt>
156<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
157<a name="PlaylistProxy"></a><div id="PlaylistProxy-def"><a name="L49"></a><tt class="py-lineno"> 49</tt> <a class="py-toggle" href="#" id="PlaylistProxy-toggle" onclick="return toggle('PlaylistProxy');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyechonest.proxies.PlaylistProxy-class.html">PlaylistProxy</a><tt class="py-op">(</tt><tt class="py-base-class">GenericProxy</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
158</div><div id="PlaylistProxy-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="PlaylistProxy-expanded"><a name="PlaylistProxy.__init__"></a><div id="PlaylistProxy.__init__-def"><a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="PlaylistProxy.__init__-toggle" onclick="return toggle('PlaylistProxy.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.PlaylistProxy-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">session_id</tt><tt class="py-op">,</tt> <tt class="py-param">buckets</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
159</div><div id="PlaylistProxy.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="PlaylistProxy.__init__-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">        <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-19" class="py-name" targets="Class pyechonest.proxies.PlaylistProxy=pyechonest.proxies.PlaylistProxy-class.html"><a title="pyechonest.proxies.PlaylistProxy" class="py-name" href="#" onclick="return doclink('link-19', 'PlaylistProxy', 'link-19');">PlaylistProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="echonest.action.Blend.__init__
160echonest.action.Crossfade.__init__
161echonest.action.Edit.__init__
162echonest.action.Jump.__init__
163echonest.action.Playback.__init__
164echonest.audio.AmplitudeFactor.__init__
165echonest.audio.AudioAnalysis.__init__
166echonest.audio.AudioData.__init__
167echonest.audio.AudioData32.__init__
168echonest.audio.AudioQuantum.__init__
169echonest.audio.AudioQuantumList.__init__
170echonest.audio.AudioSegment.__init__
171echonest.audio.FileTypeError.__init__
172echonest.audio.LevelDB.__init__
173echonest.audio.LocalAnalysis.__init__
174echonest.audio.LocalAudioFile.__init__
175echonest.audio.ModifiedRenderable.__init__
176echonest.audio.Simultaneous.__init__
177echonest.audio.TimeTruncateFactor.__init__
178echonest.audio.TimeTruncateLength.__init__
179echonest.modify.Modify.__init__
180echonest.support.midi.EventDispatcher.EventDispatcher.__init__
181echonest.support.midi.MidiFileParser.MidiFileParser.__init__
182echonest.support.midi.MidiInFile.MidiInFile.__init__
183echonest.support.midi.MidiInStream.MidiInStream.__init__
184echonest.support.midi.MidiOutFile.MidiOutFile.__init__
185echonest.support.midi.MidiOutStream.MidiOutStream.__init__
186echonest.support.midi.RawInstreamFile.RawInstreamFile.__init__
187echonest.support.midi.RawOutstreamFile.RawOutstreamFile.__init__
188echonest.video.ImageSequence.__init__
189echonest.video.SynchronizedAV.__init__
190echonest.video.VideoSettings.__init__
191pyechonest.artist.Artist.__init__
192pyechonest.playlist.Playlist.__init__
193pyechonest.proxies.ArtistProxy.__init__
194pyechonest.proxies.GenericProxy.__init__
195pyechonest.proxies.PlaylistProxy.__init__
196pyechonest.proxies.SongProxy.__init__
197pyechonest.proxies.TrackProxy.__init__
198pyechonest.results.Result.__init__
199pyechonest.song.Song.__init__
200pyechonest.util.EchoNestAPIError.__init__
201pyechonest.util.attrdict.__init__" class="py-name" href="#" onclick="return doclink('link-20', '__init__', 'link-6');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
202<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-name">buckets</tt> <tt class="py-op">=</tt> <tt class="py-name">buckets</tt> <tt class="py-keyword">or</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
203<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">type</tt> <tt class="py-op">=</tt> <tt class="py-string">'playlist'</tt> </tt>
204<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">        <tt class="py-name">kwargs</tt> <tt class="py-op">=</tt> <tt class="py-name">dict</tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">,</tt><tt class="py-name">v</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
205<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">session_id</tt><tt class="py-op">:</tt> </tt>
206<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">            <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">'session_id'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">session_id</tt> </tt>
207<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">        <tt class="py-comment"># the following are integral to all playlist objects... the rest is up to you!</tt> </tt>
208<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-name">core_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'session_id'</tt><tt class="py-op">]</tt> </tt>
209<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">all</tt><tt class="py-op">(</tt><tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt> <tt class="py-keyword">for</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">core_attrs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
210<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">            <tt id="link-21" class="py-name"><a title="pyechonest.song.profile" class="py-name" href="#" onclick="return doclink('link-21', 'profile', 'link-7');">profile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="pyechonest.proxies.ArtistProxy.get_attribute
211pyechonest.proxies.GenericProxy.get_attribute
212pyechonest.proxies.PlaylistProxy.get_attribute
213pyechonest.proxies.SongProxy.get_attribute" class="py-name" href="#" onclick="return doclink('link-22', 'get_attribute', 'link-8');">get_attribute</a></tt><tt class="py-op">(</tt><tt class="py-string">'dynamic'</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
214<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">            <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt id="link-23" class="py-name"><a title="pyechonest.song.profile" class="py-name" href="#" onclick="return doclink('link-23', 'profile', 'link-7');">profile</a></tt><tt class="py-op">)</tt> </tt>
215<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-name">ca</tt><tt class="py-op">:</tt><tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-name">ca</tt><tt class="py-op">)</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">core_attrs</tt> <tt class="py-keyword">if</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">]</tt>         </tt>
216<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">cache</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
217</div><a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">     </tt>
218<a name="PlaylistProxy.get_attribute"></a><div id="PlaylistProxy.get_attribute-def"><a name="L65"></a><tt class="py-lineno"> 65</tt> <a class="py-toggle" href="#" id="PlaylistProxy.get_attribute-toggle" onclick="return toggle('PlaylistProxy.get_attribute');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.PlaylistProxy-class.html#get_attribute">get_attribute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
219</div><div id="PlaylistProxy.get_attribute-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="PlaylistProxy.get_attribute-expanded"><a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-24" class="py-name"><a title="pyechonest.proxies.PlaylistProxy" class="py-name" href="#" onclick="return doclink('link-24', 'PlaylistProxy', 'link-19');">PlaylistProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="pyechonest.proxies.ArtistProxy.get_attribute
220pyechonest.proxies.GenericProxy.get_attribute
221pyechonest.proxies.PlaylistProxy.get_attribute
222pyechonest.proxies.SongProxy.get_attribute" class="py-name" href="#" onclick="return doclink('link-25', 'get_attribute', 'link-8');">get_attribute</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
223</div></div><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">     </tt>
224<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"> </tt>
225<a name="SongProxy"></a><div id="SongProxy-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="SongProxy-toggle" onclick="return toggle('SongProxy');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyechonest.proxies.SongProxy-class.html">SongProxy</a><tt class="py-op">(</tt><tt class="py-base-class">GenericProxy</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
226</div><div id="SongProxy-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SongProxy-expanded"><a name="SongProxy.__init__"></a><div id="SongProxy.__init__-def"><a name="L70"></a><tt class="py-lineno"> 70</tt> <a class="py-toggle" href="#" id="SongProxy.__init__-toggle" onclick="return toggle('SongProxy.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.SongProxy-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">identifier</tt><tt class="py-op">,</tt> <tt class="py-param">buckets</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
227</div><div id="SongProxy.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SongProxy.__init__-expanded"><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-26" class="py-name" targets="Class pyechonest.proxies.SongProxy=pyechonest.proxies.SongProxy-class.html"><a title="pyechonest.proxies.SongProxy" class="py-name" href="#" onclick="return doclink('link-26', 'SongProxy', 'link-26');">SongProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="echonest.action.Blend.__init__
228echonest.action.Crossfade.__init__
229echonest.action.Edit.__init__
230echonest.action.Jump.__init__
231echonest.action.Playback.__init__
232echonest.audio.AmplitudeFactor.__init__
233echonest.audio.AudioAnalysis.__init__
234echonest.audio.AudioData.__init__
235echonest.audio.AudioData32.__init__
236echonest.audio.AudioQuantum.__init__
237echonest.audio.AudioQuantumList.__init__
238echonest.audio.AudioSegment.__init__
239echonest.audio.FileTypeError.__init__
240echonest.audio.LevelDB.__init__
241echonest.audio.LocalAnalysis.__init__
242echonest.audio.LocalAudioFile.__init__
243echonest.audio.ModifiedRenderable.__init__
244echonest.audio.Simultaneous.__init__
245echonest.audio.TimeTruncateFactor.__init__
246echonest.audio.TimeTruncateLength.__init__
247echonest.modify.Modify.__init__
248echonest.support.midi.EventDispatcher.EventDispatcher.__init__
249echonest.support.midi.MidiFileParser.MidiFileParser.__init__
250echonest.support.midi.MidiInFile.MidiInFile.__init__
251echonest.support.midi.MidiInStream.MidiInStream.__init__
252echonest.support.midi.MidiOutFile.MidiOutFile.__init__
253echonest.support.midi.MidiOutStream.MidiOutStream.__init__
254echonest.support.midi.RawInstreamFile.RawInstreamFile.__init__
255echonest.support.midi.RawOutstreamFile.RawOutstreamFile.__init__
256echonest.video.ImageSequence.__init__
257echonest.video.SynchronizedAV.__init__
258echonest.video.VideoSettings.__init__
259pyechonest.artist.Artist.__init__
260pyechonest.playlist.Playlist.__init__
261pyechonest.proxies.ArtistProxy.__init__
262pyechonest.proxies.GenericProxy.__init__
263pyechonest.proxies.PlaylistProxy.__init__
264pyechonest.proxies.SongProxy.__init__
265pyechonest.proxies.TrackProxy.__init__
266pyechonest.results.Result.__init__
267pyechonest.song.Song.__init__
268pyechonest.util.EchoNestAPIError.__init__
269pyechonest.util.attrdict.__init__" class="py-name" href="#" onclick="return doclink('link-27', '__init__', 'link-6');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
270<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">buckets</tt> <tt class="py-op">=</tt> <tt class="py-name">buckets</tt> <tt class="py-keyword">or</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
271<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt> <tt class="py-op">=</tt> <tt class="py-name">identifier</tt> </tt>
272<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">type</tt> <tt class="py-op">=</tt> <tt class="py-string">'song'</tt> </tt>
273<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-name">kwargs</tt> <tt class="py-op">=</tt> <tt class="py-name">dict</tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">,</tt><tt class="py-name">v</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
274<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">         </tt>
275<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt class="py-comment"># BAW -- this is debug output from identify that returns a track_id. i am not sure where else to access this..</tt> </tt>
276<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-string">"track_id"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
277<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">track_id</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">"track_id"</tt><tt class="py-op">]</tt> </tt>
278<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-string">"tag"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
279<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tag</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">"tag"</tt><tt class="py-op">]</tt> </tt>
280<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-string">"score"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
281<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">score</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">"score"</tt><tt class="py-op">]</tt> </tt>
282<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-string">'audio'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
283<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Module echonest.audio=echonest.audio-module.html,Variable pyechonest.artist.Artist.audio=pyechonest.artist.Artist-class.html#audio"><a title="echonest.audio
284pyechonest.artist.Artist.audio" class="py-name" href="#" onclick="return doclink('link-28', 'audio', 'link-28');">audio</a></tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">'audio'</tt><tt class="py-op">]</tt> </tt>
285<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-string">'release_image'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
286<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">release_image</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">'release_image'</tt><tt class="py-op">]</tt> </tt>
287<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">         </tt>
288<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-comment"># the following are integral to all song objects... the rest is up to you!</tt> </tt>
289<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">        <tt class="py-name">core_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'title'</tt><tt class="py-op">,</tt> <tt class="py-string">'artist_name'</tt><tt class="py-op">,</tt> <tt class="py-string">'artist_id'</tt><tt class="py-op">]</tt> </tt>
290<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">         </tt>
291<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">all</tt><tt class="py-op">(</tt><tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt> <tt class="py-keyword">for</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">core_attrs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
292<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">            <tt id="link-29" class="py-name"><a title="pyechonest.song.profile" class="py-name" href="#" onclick="return doclink('link-29', 'profile', 'link-7');">profile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="pyechonest.proxies.ArtistProxy.get_attribute
293pyechonest.proxies.GenericProxy.get_attribute
294pyechonest.proxies.PlaylistProxy.get_attribute
295pyechonest.proxies.SongProxy.get_attribute" class="py-name" href="#" onclick="return doclink('link-30', 'get_attribute', 'link-8');">get_attribute</a></tt><tt class="py-op">(</tt><tt class="py-string">'profile'</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-op">{</tt><tt class="py-string">'id'</tt><tt class="py-op">:</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt><tt class="py-op">,</tt> <tt class="py-string">'bucket'</tt><tt class="py-op">:</tt><tt class="py-name">buckets</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
296<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">            <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt id="link-31" class="py-name"><a title="pyechonest.song.profile" class="py-name" href="#" onclick="return doclink('link-31', 'profile', 'link-7');">profile</a></tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="echonest.action.Edit.get" class="py-name" href="#" onclick="return doclink('link-32', 'get', 'link-10');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'songs'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
297<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">        <tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-name">ca</tt><tt class="py-op">:</tt><tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-name">ca</tt><tt class="py-op">)</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">ca</tt> <tt class="py-keyword">in</tt> <tt class="py-name">core_attrs</tt><tt class="py-op">]</tt> </tt>
298<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">cache</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
299</div><a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">     </tt>
300<a name="SongProxy.get_attribute"></a><div id="SongProxy.get_attribute-def"><a name="L98"></a><tt class="py-lineno"> 98</tt> <a class="py-toggle" href="#" id="SongProxy.get_attribute-toggle" onclick="return toggle('SongProxy.get_attribute');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.SongProxy-class.html#get_attribute">get_attribute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
301</div><div id="SongProxy.get_attribute-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SongProxy.get_attribute-expanded"><a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-string">'id'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt> </tt>
302<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-33" class="py-name"><a title="pyechonest.proxies.SongProxy" class="py-name" href="#" onclick="return doclink('link-33', 'SongProxy', 'link-26');">SongProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="pyechonest.proxies.ArtistProxy.get_attribute
303pyechonest.proxies.GenericProxy.get_attribute
304pyechonest.proxies.PlaylistProxy.get_attribute
305pyechonest.proxies.SongProxy.get_attribute" class="py-name" href="#" onclick="return doclink('link-34', 'get_attribute', 'link-8');">get_attribute</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
306</div></div><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">     </tt>
307<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"> </tt>
308<a name="TrackProxy"></a><div id="TrackProxy-def"><a name="L103"></a><tt class="py-lineno">103</tt> <a class="py-toggle" href="#" id="TrackProxy-toggle" onclick="return toggle('TrackProxy');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyechonest.proxies.TrackProxy-class.html">TrackProxy</a><tt class="py-op">(</tt><tt class="py-base-class">GenericProxy</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
309</div><div id="TrackProxy-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="TrackProxy-expanded"><a name="TrackProxy.__init__"></a><div id="TrackProxy.__init__-def"><a name="L104"></a><tt class="py-lineno">104</tt> <a class="py-toggle" href="#" id="TrackProxy.__init__-toggle" onclick="return toggle('TrackProxy.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyechonest.proxies.TrackProxy-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">identifier</tt><tt class="py-op">,</tt> <tt class="py-param">md5</tt><tt class="py-op">,</tt> <tt class="py-param">properties</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
310</div><div id="TrackProxy.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TrackProxy.__init__-expanded"><a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
311<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"><tt class="py-docstring">        You should not call this constructor directly, rather use the convenience functions</tt> </tt>
312<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt class="py-docstring">        that are in track.py. For example, call track.track_from_filename</tt> </tt>
313<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt class="py-docstring">        Let's always get the bucket `audio_summary`</tt> </tt>
314<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
315<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-35" class="py-name" targets="Class pyechonest.proxies.TrackProxy=pyechonest.proxies.TrackProxy-class.html"><a title="pyechonest.proxies.TrackProxy" class="py-name" href="#" onclick="return doclink('link-35', 'TrackProxy', 'link-35');">TrackProxy</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="echonest.action.Blend.__init__
316echonest.action.Crossfade.__init__
317echonest.action.Edit.__init__
318echonest.action.Jump.__init__
319echonest.action.Playback.__init__
320echonest.audio.AmplitudeFactor.__init__
321echonest.audio.AudioAnalysis.__init__
322echonest.audio.AudioData.__init__
323echonest.audio.AudioData32.__init__
324echonest.audio.AudioQuantum.__init__
325echonest.audio.AudioQuantumList.__init__
326echonest.audio.AudioSegment.__init__
327echonest.audio.FileTypeError.__init__
328echonest.audio.LevelDB.__init__
329echonest.audio.LocalAnalysis.__init__
330echonest.audio.LocalAudioFile.__init__
331echonest.audio.ModifiedRenderable.__init__
332echonest.audio.Simultaneous.__init__
333echonest.audio.TimeTruncateFactor.__init__
334echonest.audio.TimeTruncateLength.__init__
335echonest.modify.Modify.__init__
336echonest.support.midi.EventDispatcher.EventDispatcher.__init__
337echonest.support.midi.MidiFileParser.MidiFileParser.__init__
338echonest.support.midi.MidiInFile.MidiInFile.__init__
339echonest.support.midi.MidiInStream.MidiInStream.__init__
340echonest.support.midi.MidiOutFile.MidiOutFile.__init__
341echonest.support.midi.MidiOutStream.MidiOutStream.__init__
342echonest.support.midi.RawInstreamFile.RawInstreamFile.__init__
343echonest.support.midi.RawOutstreamFile.RawOutstreamFile.__init__
344echonest.video.ImageSequence.__init__
345echonest.video.SynchronizedAV.__init__
346echonest.video.VideoSettings.__init__
347pyechonest.artist.Artist.__init__
348pyechonest.playlist.Playlist.__init__
349pyechonest.proxies.ArtistProxy.__init__
350pyechonest.proxies.GenericProxy.__init__
351pyechonest.proxies.PlaylistProxy.__init__
352pyechonest.proxies.SongProxy.__init__
353pyechonest.proxies.TrackProxy.__init__
354pyechonest.results.Result.__init__
355pyechonest.song.Song.__init__
356pyechonest.util.EchoNestAPIError.__init__
357pyechonest.util.attrdict.__init__" class="py-name" href="#" onclick="return doclink('link-36', '__init__', 'link-6');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
358<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">id</tt> <tt class="py-op">=</tt> <tt class="py-name">identifier</tt> </tt>
359<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">md5</tt> <tt class="py-op">=</tt> <tt class="py-name">md5</tt> </tt>
360<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">type</tt> <tt class="py-op">=</tt> <tt class="py-string">'track'</tt> </tt>
361<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">properties</tt><tt class="py-op">)</tt> </tt>
362</div></div><a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line"> </tt><script type="text/javascript">
363<!--
364expandto(location.href);
365// -->
366</script>
367</pre>
368<br />
369<!-- ==================== NAVIGATION BAR ==================== -->
370<table class="navbar" border="0" width="100%" cellpadding="0"
371       bgcolor="#a0c0ff" cellspacing="0">
372  <tr valign="middle">
373
374  <!-- Tree link -->
375      <th>&nbsp;&nbsp;&nbsp;<a
376        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
377
378  <!-- Index link -->
379      <th>&nbsp;&nbsp;&nbsp;<a
380        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
381
382  <!-- Help link -->
383      <th>&nbsp;&nbsp;&nbsp;<a
384        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
385
386  <!-- Project homepage -->
387      <th class="navbar" align="right" width="100%">
388        <table border="0" cellpadding="0" cellspacing="0">
389          <tr><th class="navbar" align="center"
390            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
391          </tr></table></th>
392  </tr>
393</table>
394<table border="0" cellpadding="0" cellspacing="0" width="100%%">
395  <tr>
396    <td align="left" class="footer">
397    Generated by Epydoc 3.0.1 on Wed Sep  1 16:09:00 2010
398    </td>
399    <td align="right" class="footer">
400      <a target="mainFrame" href="http://epydoc.sourceforge.net"
401        >http://epydoc.sourceforge.net</a>
402    </td>
403  </tr>
404</table>
405
406<script type="text/javascript">
407  <!--
408  // Private objects are initially displayed (because if
409  // javascript is turned off then we want them to be
410  // visible); but by default, we want to hide them.  So hide
411  // them unless we have a cookie that says to show them.
412  checkCookie();
413  // -->
414</script>
415</body>
416</html>