{ "info": { "author": "Steadman", "author_email": "mark@steadman.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django" ], "description": "Bambu Webhooks\n==============\n\nCreate webhooks and allow users to assign URLs to them\n\nAbout Bambu Webhooks\n--------------------\n\nThis package allows web apps to provide third-party integration via\nwebhooks. You as the developer can trigger a webhook by name, and\nprovide an interface whereby the user can manage the URL to post the\nwebhook's data to.\n\nAbout Bambu Tools 2.0\n---------------------\n\nThis is part of a toolset called Bambu Tools. It's being moved from a\nnamespace of ``bambu`` to its own 'root-level' package, along with all\nthe other tools in the set. If you're upgrading from a version prior to\n2.0, please make sure to update your code to use ``bambu_webhooks``\nrather than ``bambu.webhooks``.\n\nInstallation\n------------\n\nInstall the package via Pip:\n\n::\n\n pip install bambu-webhooks\n\nAdd it to your ``INSTALLED_APPS`` list:\n\n::\n\n INSTALLED_APPS = (\n ...\n 'bambu_webhooks'\n )\n\nAdd ``bambu_webhooks.urls`` to your URLconf:\n\n::\n\n urlpatterns = patterns('',\n ...\n url(r'^webhooks/', include('bambu_webhooks.urls')),\n )\n\nRun ``manage.py syncdb`` or ``manage.py migrate`` to setup the database\ntables.\n\nBasic usage\n-----------\n\nRegister a webhook within your models.py file.\n\n::\n\n from hashlib import md5\n import bambu_webhooks\n\n bambu_webhooks.site.register('webhook_name_',\n description = 'A description of the webhook'\n )\n\nIn the ``save()`` method for your model, trigger any webhooks that have\nreceivers attached, thus posting the data to the user's specified URL.\n\n::\n\n def save(self, *args, **kwargs):\n ...\n bambu_webhooks.send('webhook_name_', self.author,\n {\n 'id': self.pk,\n 'name': self.name\n },\n md5('testproject.myapp.mymodel:%d' % self.pk).hexdigest()\n )\n\nBetter with Bootstrap\n---------------------\n\nThis package, among most in the Bambu toolset is designed to work with\n`Bambu Bootstrap `_, a\ncollection of flexible templates designed for web apps based on the\nTwitter Bootstrap framework. It's not a package requirement, but it'll\nmean the template structure and the context variables exposed by the\nview makes a little more sense.\n\nTodo\n----\n\n- Allow webhooks to be categorised and/or filtered\n- Prepare for internationalisation\n- Write tests\n\nDocumentation\n-------------\n\nFull documentation can be found at\n`ReadTheDocs `_.\n\nQuestions or suggestions?\n-------------------------\n\nFind me on Twitter (@iamsteadman) or `visit my blog `_.", "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/iamsteadman/bambu-webhooks", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "bambu-webhooks", "package_url": "https://pypi.org/project/bambu-webhooks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bambu-webhooks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/iamsteadman/bambu-webhooks" }, "release_url": "https://pypi.org/project/bambu-webhooks/2.0/", "requires_dist": null, "requires_python": null, "summary": "Create webhooks and allow users to assign URLs to them", "version": "2.0" }, "last_serial": 1103085, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "25d64f5066e359b7e1459e01dd9b44a7", "sha256": "2f6bdbd89c14f327bc8d06beff696ed0c434562c90ee7c92d1d5d7b96d54ce42" }, "downloads": -1, "filename": "bambu-webhooks-0.0.1.tar.gz", "has_sig": false, "md5_digest": "25d64f5066e359b7e1459e01dd9b44a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5029, "upload_time": "2014-01-02T17:41:19", "url": "https://files.pythonhosted.org/packages/4c/72/4b2664e90520d8e82578ff909f78130439f88ee8ee339ecebc2b6ae63dfc/bambu-webhooks-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "fb613ca16cae59a040bbf7095b1a90f4", "sha256": "09d966a23e7bb8b4aecbe6260545c36b94c490fff78104dd3f620e4633eddc3e" }, "downloads": -1, "filename": "bambu-webhooks-0.0.2.tar.gz", "has_sig": false, "md5_digest": "fb613ca16cae59a040bbf7095b1a90f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5090, "upload_time": "2014-01-12T16:02:02", "url": "https://files.pythonhosted.org/packages/d2/6e/ef3355b8377c061fbdc9ce1daba47bbc5365a65efaf477f1d0ef8067e473/bambu-webhooks-0.0.2.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "e04cf957a74a9ac5473e67e8aac7879b", "sha256": "473d94165441ae6aef1a24a02236e6a792bd9302d05369c490a7488a352f75cb" }, "downloads": -1, "filename": "bambu-webhooks-0.1.tar.gz", "has_sig": false, "md5_digest": "e04cf957a74a9ac5473e67e8aac7879b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5073, "upload_time": "2014-01-28T16:30:55", "url": "https://files.pythonhosted.org/packages/d1/af/c53c461b91f33bfb59b9b48aa24b9157e9eff747f15a13af5dd2901d6aea/bambu-webhooks-0.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "8a7f941b0f06468f5d09f0f2da901f5a", "sha256": "e261e29e19df14f83f85bc7a3aeb334bbb82a5b6f924b3a848d7dcce59aa6fca" }, "downloads": -1, "filename": "bambu-webhooks-2.0.tar.gz", "has_sig": false, "md5_digest": "8a7f941b0f06468f5d09f0f2da901f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7449, "upload_time": "2014-05-24T15:04:21", "url": "https://files.pythonhosted.org/packages/7c/74/cf120e28431e88dfce660bc89145a44113a28e13aab9701c077ebffdd409/bambu-webhooks-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a7f941b0f06468f5d09f0f2da901f5a", "sha256": "e261e29e19df14f83f85bc7a3aeb334bbb82a5b6f924b3a848d7dcce59aa6fca" }, "downloads": -1, "filename": "bambu-webhooks-2.0.tar.gz", "has_sig": false, "md5_digest": "8a7f941b0f06468f5d09f0f2da901f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7449, "upload_time": "2014-05-24T15:04:21", "url": "https://files.pythonhosted.org/packages/7c/74/cf120e28431e88dfce660bc89145a44113a28e13aab9701c077ebffdd409/bambu-webhooks-2.0.tar.gz" } ] }