{ "info": { "author": "Riccardo Magliocchetti", "author_email": "riccardo.magliocchetti@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "django-skebby\n===================\n\nA simple Django app to send sms by Skebby.\n\nUsage\n-----\n\nIn settings.py:\n\n SKEBBY_USERNAME = 'yourskebbyusername'\n SKEBBY_PASSWORD = 'yourskebbypassword'\n\n # If SSL cert is not valid\n SKEBBY_VERIFY_SSL_CERTIFICATE = False\n\n # If SSL does not work at all\n #SKEBBY_URL = \"http://gateway.skebby.it/api/send/smseasy/advanced/http.php\"\n\n # If you have *requested and obtained* the raise to 100000 messages per request\n #SKEBBY_MAX_RECIPIENTS = 100000\n\n # default method is classic\n SKEBBY_DEFAULT_METHOD = \"basic\"\n\nIn your code:\n\n from django_skebby.utils import Sms, skebby_credit_left\n\n # greetings to some people\n template = \"Good {{ festivity }}{% if friend %} {{ friend }}{% endif %}!\"\n ctx = {'festivity': 'birthday'}\n sms = Sms(template, [\"39123456789\", \"3912346788\"], sender_string=\"Your friend\", ctx=ctx)\n ret = sms.send()\n # Skebby has a recipient limit of 50000 numbers that can be raised to 100000 on request\n # The app will take care of itself depending on settings.SKEBBY_MAX_RECIPIENTS\n failed_requests = [r for r in ret if r.skebby_error]\n if failed_requests:\n print \"some errors!\"\n\n # to a special friend\n ctx = {'festivity': birthday, 'friend': 'Doge'}\n r = sms.send_single(ctx, \"3912345679\")\n if r.skebby_error:\n print \"failed to greet :( %s\" % (r.skebby_response)\n\n # check credit\n credit = skebby_credit_left()\n if credit.skebby_error:\n print \"failed to get credit\"\n else:\n print credit.skebby_response\n\nA view that returns the credit in json format is available, to enable it add the app:\n\n INSTALLED_APPS = (\n ...\n 'django_skebby',\n )\n\ninclude the urls:\n\n url(r'^skebby/', include('django_skebby.urls')),\n\nadd use it:\n\n ", "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/xrmx/django-skebby", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-skebby", "package_url": "https://pypi.org/project/django-skebby/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-skebby/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/xrmx/django-skebby" }, "release_url": "https://pypi.org/project/django-skebby/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "A Django app to send sms with skebby", "version": "0.3.1" }, "last_serial": 1723178, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "01ddd63861908f8f7175b1a5bdfcd737", "sha256": "bdf0b7b6bfae89b37dbe7a96fc995cb9e6b4cbfdaedb56229da6ab5a4dc484fd" }, "downloads": -1, "filename": "django-skebby-0.2.1.tar.gz", "has_sig": false, "md5_digest": "01ddd63861908f8f7175b1a5bdfcd737", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4527, "upload_time": "2014-01-15T08:40:27", "url": "https://files.pythonhosted.org/packages/c4/1d/7d3f07116b2cdbc5a7bcccb39a14930d995b130f9f4c1e74d0de6482156a/django-skebby-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "118fc87d1c0e5739b878d8d35efb6d63", "sha256": "a039f16c16a013fe820105f7470db35f21b133ff292042d545ccf48cceda7421" }, "downloads": -1, "filename": "django-skebby-0.2.2.tar.gz", "has_sig": false, "md5_digest": "118fc87d1c0e5739b878d8d35efb6d63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4671, "upload_time": "2014-01-16T15:58:09", "url": "https://files.pythonhosted.org/packages/26/0c/9cbceef2b502795056cba84e65876735991041f2907ae1fed1db83870eae/django-skebby-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "418682e2516057c83117369553aba87c", "sha256": "91ab3d075525c95c12fbf13ce2417a295ec4ba30ed92e3d019685bcb800537a1" }, "downloads": -1, "filename": "django-skebby-0.2.3.tar.gz", "has_sig": false, "md5_digest": "418682e2516057c83117369553aba87c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5153, "upload_time": "2014-01-22T16:08:49", "url": "https://files.pythonhosted.org/packages/2c/2d/7013308d902427218c7b47535f53742da81c6a44b5c1188212076472541b/django-skebby-0.2.3.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "3f844136408c5c996aeb29d83c3d0476", "sha256": "a67005acd43a331fffc16a5a85a39a43182b0b832fea0effc2c634776f8856dc" }, "downloads": -1, "filename": "django-skebby-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3f844136408c5c996aeb29d83c3d0476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5394, "upload_time": "2014-01-28T09:36:50", "url": "https://files.pythonhosted.org/packages/5a/60/310c270578fbb835e6b64677863ae0ece60345e9a8419001662394cccd47/django-skebby-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "9c0919066e52e18d98dde26c28caeb56", "sha256": "b6a86ba0fe449342d0dc1ffa55738c6421b3ccb44bf2f1d58b07ea9467b4c861" }, "downloads": -1, "filename": "django-skebby-0.3.1.tar.gz", "has_sig": false, "md5_digest": "9c0919066e52e18d98dde26c28caeb56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5474, "upload_time": "2015-09-15T08:27:54", "url": "https://files.pythonhosted.org/packages/a0/ff/aeb316d4fa7b78b7ace7d6484fe23fabd28c174eb1053430a01c65daf8ac/django-skebby-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c0919066e52e18d98dde26c28caeb56", "sha256": "b6a86ba0fe449342d0dc1ffa55738c6421b3ccb44bf2f1d58b07ea9467b4c861" }, "downloads": -1, "filename": "django-skebby-0.3.1.tar.gz", "has_sig": false, "md5_digest": "9c0919066e52e18d98dde26c28caeb56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5474, "upload_time": "2015-09-15T08:27:54", "url": "https://files.pythonhosted.org/packages/a0/ff/aeb316d4fa7b78b7ace7d6484fe23fabd28c174eb1053430a01c65daf8ac/django-skebby-0.3.1.tar.gz" } ] }