Abhinav Sarkar
2219c5b0ad
moved get_all method to crawlable mixin. added get_all to venue, location, country. minor changes.
2009-04-07 04:57:51 +00:00
Abhinav Sarkar
e6d5a21478
corrected a failing test
2009-04-06 12:17:52 +00:00
Abhinav Sarkar
45a5522be0
added 'get_all' method in Album, Artist, Event, Tag, Track, User and LastfmBase classes. minor fixes.
2009-04-02 18:12:44 +00:00
Abhinav Sarkar
a818e7a9e6
commented out the print statements
2009-03-31 15:53:23 +00:00
Abhinav Sarkar
28d4368c42
* moved object registry and register function to objectcache module
...
* changed the cache dict to a WeakReferenceDict for avoiding excessive memory usage
* added stats method to ObjectCache to get current stats about cache
2009-03-31 15:48:04 +00:00
Abhinav Sarkar
26e5da0e7b
added _mixins to the classes to indicate which all attributes/methods/properties are being mixed in.
2009-03-31 15:44:18 +00:00
Abhinav Sarkar
0a285dd6bf
made _lock a module global variable. made set_session_key thread safe.
2009-03-31 04:33:54 +00:00
Abhinav Sarkar
c36d689690
* converted all mixin classes to class decorator functions
...
* renamed all mixin modules to avoid name conflict
* removed mixin classes from class inheritence list and put then as class decorators
2009-03-31 03:39:23 +00:00
Abhinav Sarkar
d709434a7b
* added Rolling Charts: Monthly, Quaterly, Half-yearly and Yearly; Album, Artist, Track and Tag charts
...
* refactored the chart related code to mixins.chartable module
* made related changes in user, tag and group modules
2009-03-28 07:24:24 +00:00
Abhinav Sarkar
42aa35fcbb
* renamed weeklychart module to chart
...
* added stubs for rolling chart classes
* added weekly tag chart related methods to Group class
* added tests for get_weekly_tag_chart method in user and group test modules
2009-03-27 05:54:12 +00:00
Abhinav Sarkar
36b2aea1fd
minor changes
2009-03-27 05:48:34 +00:00
Abhinav Sarkar
5a4296fa73
fixed bugs in authenticate and depaginate decorators
2009-03-25 10:25:20 +00:00
Abhinav Sarkar
bbdbfcebb6
* added decorator package to setup dependency
...
* used 'decorator' decorator on the decorators in the decorators module to avoid function signature mangling
* added 'callback' argument and related documentation in the asynchronous methods in api module
2009-03-24 17:37:42 +00:00
Abhinav Sarkar
238d88f7e8
added async_callback decorator for supporting asynchronous calls. applied it to get_* methods in Api class.
2009-03-21 06:53:24 +00:00
Abhinav Sarkar
d1656c1a84
fixed pylint warnings
2009-03-18 04:25:04 +00:00
Abhinav Sarkar
9105ddc447
changed the default value of extra_params argument in the _default_params methods to None from {}
2009-03-18 03:19:57 +00:00
Abhinav Sarkar
394310c60f
refactored pagination behaviour in 'paginate' decorator
2009-03-17 18:34:06 +00:00
Abhinav Sarkar
4b1dc47b24
added epydoc configuration
2009-03-17 15:22:47 +00:00
Abhinav Sarkar
2645e4565c
added documentation for error, event, geo and group modules
2009-03-17 15:21:40 +00:00
Abhinav Sarkar
636e9073ec
* refactored the decorators to decorators module from base module
...
* fixed a bug in authenticate decorator which gave the authenticated results for non-authenticated users
* added documentation for decorators module
* added authenticate decorator to the methods in taggable and sharable mixin modules
* added set_secret and set_session_key methods in Api class
2009-03-10 06:09:11 +00:00
Abhinav Sarkar
e53bf5eb20
added documentation fo the artist module
2009-03-09 12:36:38 +00:00
Abhinav Sarkar
4f3d8fd499
added Venue to objectcache
2009-03-05 12:13:53 +00:00
Abhinav Sarkar
ea99e1cc44
added tests for venue module
2009-03-05 12:10:41 +00:00
Abhinav Sarkar
dd759e1f49
added tests for the user module
2009-03-05 11:08:53 +00:00
Abhinav Sarkar
ca436f371c
added more documentation
2009-03-05 04:37:02 +00:00
Abhinav Sarkar
7484aa02ef
minor changes
2009-03-05 04:32:57 +00:00
Abhinav Sarkar
b066f934b9
added documentation fo the album module
2009-03-04 20:12:20 +00:00
Abhinav Sarkar
fd92a609a0
added documentaion for the api module
2009-03-04 18:54:53 +00:00
Abhinav Sarkar
d8a79fb870
refactored tests
2009-03-04 12:36:39 +00:00
Abhinav Sarkar
20e3e33e36
minor changes
2009-03-04 11:50:26 +00:00
Abhinav Sarkar
e664888d40
added tests for playlist and track modules
2009-03-04 11:49:10 +00:00
Abhinav Sarkar
8617391ae6
added tests for group module
2009-03-04 09:41:31 +00:00
Abhinav Sarkar
b09a962838
corrected import path
2009-03-04 08:18:25 +00:00
Abhinav Sarkar
bccc744fd0
added tests for the geo module
2009-03-04 08:07:34 +00:00
Abhinav Sarkar
f77fe5163d
made changes to remove the warning about depracation of md5 module in python 2.6
2009-01-03 17:05:46 +00:00
Abhinav Sarkar
b38b509bbd
minor change
2009-01-03 15:48:44 +00:00
Abhinav Sarkar
488497fc2b
added tests for artist and event classes
2009-01-03 15:46:47 +00:00
Abhinav Sarkar
07619d0c92
fixed a missing argument error
2009-01-03 11:36:37 +00:00
Abhinav Sarkar
3aeb79ebf1
completed tests for album and tag classes
2009-01-03 11:18:03 +00:00
Abhinav Sarkar
98a0f7153a
minor changes
2009-01-03 09:24:29 +00:00
Abhinav Sarkar
2803143af4
renamed WeeklyTagChart.get() to WeeklyTagChart.create_from_data()
2009-01-02 13:38:24 +00:00
Abhinav Sarkar
486638387c
implemented a compound method: user.get_weekly_tag_chart(). it analyzes user's weekly artist chart and each artist's top tags and creates a weekly tag chart.
2009-01-02 13:32:46 +00:00
Abhinav Sarkar
47c1697f3d
fixed minor errors
2009-01-02 13:29:06 +00:00
Abhinav Sarkar
25755a934c
moved venue to a separate module and implemented venue related methods
2009-01-01 11:04:31 +00:00
Abhinav Sarkar
55680ba9c8
implemented new methods and check for authenticated method calls.
2008-12-31 20:09:06 +00:00
Abhinav Sarkar
2565dbb9a1
added searchable mixin to album to implement album.search method
2008-12-31 06:05:34 +00:00
Abhinav Sarkar
0cec26c46a
added shout and shoutable modules to implement getShout method in artist, user and event classes, moved the mixin modules to a separate directory, changed all imports to absolute imports
2008-12-31 05:30:23 +00:00
Abhinav Sarkar
4e22b3c546
fixed an issue where calling artist._fill_info or album._fill_info overwrote the existing stats for the class.
2008-12-30 16:21:52 +00:00
Abhinav Sarkar
26415e75bc
refactored object caching behaviour out from base.py to cacheable.py and renamed registry.py to objectcache.py
2008-12-30 15:46:00 +00:00
Abhinav Sarkar
237b32c6c1
renamed BaseError to LastfmError and removed Error class.
2008-12-30 14:14:00 +00:00