{ "info": { "author": "Andy McKay", "author_email": "andym@mozilla.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent" ], "description": "A simple API end point that we've found useful for our Tastypie API services at\nMozilla.\n\nInstallation\n------------\n\nInstall using pip::\n\n pip install tastypie-services\n\nNote: version 2 renamed the lib from services to tastypie_services.\n\nConfiguration\n-------------\n\nAdd to your urls::\n\n from tastypie_services.urls import services\n\n urlpatterns = patterns('',\n ...\n url(r'^', include(services.urls)),\n )\n\nIf you want to allow settings access, set::\n\n CLEANSED_SETTINGS_ACCESS = False\n\nThe actual server status is very specific to your server, so you need to create\na base class overriding the one in services. The tell the library where the\nobject is. For example::\n\n SERVICES_STATUS_MODULE = 'lib.services.resources'\n\nThen in `lib.tastypie_services.resources`::\n\n from tastypie_services.services import StatusObject as Base\n\n class StatusObject(Base):\n\n def test_cache(self):\n cache.set('status', 'works')\n if cache.get('status') == 'works':\n self.cache = True\n\nSee solitude for an example of this.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andymckay/tastypie-services", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "tastypie-services", "package_url": "https://pypi.org/project/tastypie-services/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tastypie-services/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/andymckay/tastypie-services" }, "release_url": "https://pypi.org/project/tastypie-services/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Service URLs for tastypie", "version": "0.2.2" }, "last_serial": 800379, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "42e3317e820a915d6a261661993ccef3", "sha256": "db3d3f8d39bb845294e312e4bed785461b98bedb840223e7f76406e41e64cc0e" }, "downloads": -1, "filename": "tastypie-services-0.1.tar.gz", "has_sig": false, "md5_digest": "42e3317e820a915d6a261661993ccef3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3794, "upload_time": "2013-01-22T23:40:13", "url": "https://files.pythonhosted.org/packages/38/48/46d843362653352b659075f69640d8c330f2503def4383a24f6796375ba5/tastypie-services-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "cb6e2888ae38110bf3811e2a4d58b7a5", "sha256": "8074b958fdb55fe69eae311b0d5a01293d2c13178fde05a46e1ff113019607ef" }, "downloads": -1, "filename": "tastypie-services-0.1.1.tar.gz", "has_sig": false, "md5_digest": "cb6e2888ae38110bf3811e2a4d58b7a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3931, "upload_time": "2013-01-22T23:53:01", "url": "https://files.pythonhosted.org/packages/40/b0/28fc4ca73717bc6786e8fd898a9bac45f04a291f9e445aef04cd063cb649/tastypie-services-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "37db6d8bff01db5b5614461a14375177", "sha256": "1b36b39f70bf499474b44342b6605d7ddbee23c8c381f16011be53974ac2fdd5" }, "downloads": -1, "filename": "tastypie-services-0.2.tar.gz", "has_sig": false, "md5_digest": "37db6d8bff01db5b5614461a14375177", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3955, "upload_time": "2013-04-05T16:48:44", "url": "https://files.pythonhosted.org/packages/97/4c/29152390919e082862974344b8b6d567f162e8bc06b51338836b2d4f4da8/tastypie-services-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5f4ebdd62e8cd77372aa9e102fc7bac1", "sha256": "80a94f79818c155b08e49a7806dd245244d50fbe573cb6e7907c52f02bcaa2ae" }, "downloads": -1, "filename": "tastypie-services-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5f4ebdd62e8cd77372aa9e102fc7bac1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3934, "upload_time": "2013-04-09T18:38:28", "url": "https://files.pythonhosted.org/packages/d2/c4/ec5d4dd21183bcad72f555833ffb6917157eaad4351ae3a9eda9d7b92af8/tastypie-services-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "f27a7c27085ee7157aa2ff56c0caa5ee", "sha256": "1bb8a4e741e6bf8623e377ddf360c647bacbdee421c8b31eb10bad0c709859d4" }, "downloads": -1, "filename": "tastypie-services-0.2.2.tar.gz", "has_sig": false, "md5_digest": "f27a7c27085ee7157aa2ff56c0caa5ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3936, "upload_time": "2013-04-09T18:49:03", "url": "https://files.pythonhosted.org/packages/44/1f/9d1562f46aa82d86136a23411b9285ab518486d476fb01ab44e46d1b0dcc/tastypie-services-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f27a7c27085ee7157aa2ff56c0caa5ee", "sha256": "1bb8a4e741e6bf8623e377ddf360c647bacbdee421c8b31eb10bad0c709859d4" }, "downloads": -1, "filename": "tastypie-services-0.2.2.tar.gz", "has_sig": false, "md5_digest": "f27a7c27085ee7157aa2ff56c0caa5ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3936, "upload_time": "2013-04-09T18:49:03", "url": "https://files.pythonhosted.org/packages/44/1f/9d1562f46aa82d86136a23411b9285ab518486d476fb01ab44e46d1b0dcc/tastypie-services-0.2.2.tar.gz" } ] }