Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Client for Tastypie. Provide operation similar to the Django Model API

Project description

Tastypie Queryset Client

Client for Tastypie. Provide operation similar to the Django Model API .

This is a fork of original project modified to run under python >=3.3



>>> client = Client("")
>>> client.your.objects.get(name="your")
<your: {u"id": u"1", u"name": u"your", u"status": u"any"}>


>>> client = Client("")
>>> client.your.objects.count()


>>> client = Client("")
>>> client.your.objects.filter(name="your")
<QuerySet <class 'Response'> (3/3)>


>>> client = Client("")
>>> your = client.your(name="name")
>>> your
<your: {u"name": u"name"}>
>>>  # save Your object.
>>> your
<your: {u"id": u"2", u"name": u"name"}>


>>> client = Client("")
>>> message = client.message(subject="subject delete 1", body="body delete 1")
<message: {u"id": u"1", u"subject": u"subject delete 1", u"body": u"body delete 1"}>
>>> message.delete()  # remove Message object.
>>> try:
>>> except AttributeError:
>>>     assert True  # throw AttributeError.


$ pip install tastypie-queryset-client


MIT License

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
tastypie-queryset-client-p3k-0.7.2.tar.gz (23.6 kB) Copy SHA256 hash SHA256 Source None Mar 13, 2014

Supported by

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