Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install tastypie-services

How to install tastypie-services

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tastypie-services
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.2.2 Available View build log
Lastest release
version 0.2.2 on May 8th, 2013

A simple API end point that we've found useful for our Tastypie API services at Mozilla.


Install using pip:

pip install tastypie-services

Note: version 2 renamed the lib from services to tastypie_services.


Add to your urls:

from tastypie_services.urls import services

urlpatterns = patterns('',
        url(r'^', include(services.urls)),

If you want to allow settings access, set:


The actual server status is very specific to your server, so you need to create a base class overriding the one in services. The tell the library where the object is. For example:

SERVICES_STATUS_MODULE = 'lib.services.resources'

Then in lib.tastypie_services.resources:

from tastypie_services.services import StatusObject as Base

class StatusObject(Base):

    def test_cache(self):
        cache.set('status', 'works')
        if cache.get('status') == 'works':
                self.cache = True

See solitude for an example of this.

Subscribe to package updates

Last updated May 8th, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.