{ "info": { "author": "Vladim\u00edr Gorej, Jozef \u0160ev\u010d\u00edk", "author_email": "info@codescale.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "smssluzbacz-api\n===============\n\nsmssluzba-api is API for sending SMS via sms.sluzba.cz HTTP service.\nIt allows you to send SMS (short text messages) from python applications.\nIn order to use this API you have to register to http://sms.sluzba.cz/ service.\nThere is restriction on sms.sluzba.cz that will block your account after\nseveral invalid login attempts. Length of one SMS is restricted to 459 characters.\n\n\nNote\n----\n\nThere is known bug in authentication in post API making it unable to authenticate properly.\nsms.sluzba.cz service is working on resolving this issue.\n\n\nRequirements\n------------\n\n- python 2.7+\n\n\nInstallation\n------------\n\nInstall via *pip* or copy this module into your project or into your PYTHON_PATH.\n\n::\n\n $ pip install smssluzbacz-api\n\n\nExamples\n--------\n\n**Example 1**\n\nUsing lite API\n\n::\n\n from smssluzbacz_api.lite import SmsGateApi\n\n api = SmsGateApi('login', 'password', timeout=2, use_ssl=True)\n api.send('123456789', 'my SMS message', use_post=True)\n\n\n**Example 2**\n\nUsing post API\n\n::\n\n from smssluzbacz_api.post import SmsGateApi\n\n api = SmsGateApi('login', 'password', timeout=2, use_ssl=True)\n api.send('123456789', 'my SMS message')\n\n\nTests\n-----\n\n**Tested on environment**\n\n- Xubuntu Linux 12.04.02 LTS precise 64-bit\n- python 2.7.3\n- python unittest\n- mock\n\n**Running tests**\n\nTo run the unit tests, first install `tests_require` dependencies from setup.py, then run command: ::\n\n $ python test.py\n $ python setup.py test\n\n\n**Running integration tests for lite API**\n\nTo run integration tests for lite API run command: ::\n\n $ python integration_test_lite.py \n\nTo list all command line options run command: ::\n\n $ python integration_test_lite.py --help\n\n\n**Running integration tests for post API**\n\nTo run integration tests for post API run command: ::\n\n $ python integration_test_post.py \n\nTo list all command line options run command: ::\n\n $ python integration_test_post.py --help\n\n\n\nAuthors\n-------\n\n| Jozef Sevcik, CodeScale s.r.o.\n| char0n (Vladimir Gorej, CodeScale s.r.o.)\n| email: info@codescale.net\n| web: http://www.codescale.net/\n\n\nReferences\n----------\n\n- http://sms.sluzba.cz\n- http://sms.sluzba.cz/downloads/SMS_Gate_API_LITE_20.pdf\n- http://sms.sluzba.cz/downloads/SMS_Gate_API_POST_20.pdf\n- http://github.com/jsk/python-smssluzbacz-api\n- http://pypi.python.org/pypi/smssluzbacz-api/\n- http://www.codescale.net/en/community#smssluzbacz-api", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jsk/python-smssluzbacz-api/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.codescale.net/en/community#smssluzbacz-api", "keywords": "sms api", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "smssluzbacz-api", "package_url": "https://pypi.org/project/smssluzbacz-api/", "platform": "any", "project_url": "https://pypi.org/project/smssluzbacz-api/", "project_urls": { "Download": "https://github.com/jsk/python-smssluzbacz-api/tarball/master", "Homepage": "http://www.codescale.net/en/community#smssluzbacz-api" }, "release_url": "https://pypi.org/project/smssluzbacz-api/1.1/", "requires_dist": null, "requires_python": null, "summary": "api library for sending SMS (shor text message) via sms.sluzba.cz service", "version": "1.1" }, "last_serial": 799751, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "554106dc33758a13e9e45d293704a9b4", "sha256": "2910bda293e8057f749f2a32b7e3662270451c0bb8a8f854337a5e730e5fe45b" }, "downloads": -1, "filename": "smssluzbacz-api-0.9.tar.gz", "has_sig": false, "md5_digest": "554106dc33758a13e9e45d293704a9b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 114878, "upload_time": "2012-03-15T11:20:46", "url": "https://files.pythonhosted.org/packages/4b/9a/8f92ff075740b994cc6f67974220db6964b7b01a5b3baf1c4ed520d032ec/smssluzbacz-api-0.9.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "3a1c6bc1d0a4f1b4e3492a92f7d6462f", "sha256": "1773033fc6d488f596e17bc21ddbc3b1ab8f0f72ae3bf4878bac70589d91fca3" }, "downloads": -1, "filename": "smssluzbacz-api-1.0.tar.gz", "has_sig": false, "md5_digest": "3a1c6bc1d0a4f1b4e3492a92f7d6462f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 113458, "upload_time": "2013-04-19T14:44:14", "url": "https://files.pythonhosted.org/packages/fa/6d/65485022075470e25c0efe7e0310b5cd922332f5a8e2f603c01629ebe420/smssluzbacz-api-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "f373cb92836517aa28c293848e395e82", "sha256": "eeafd4692b33fbe4bbf890d06caa229ffacaf109c76808c9e6521cfca30d5948" }, "downloads": -1, "filename": "smssluzbacz-api-1.1.tar.gz", "has_sig": false, "md5_digest": "f373cb92836517aa28c293848e395e82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 112589, "upload_time": "2013-05-14T15:15:44", "url": "https://files.pythonhosted.org/packages/ad/c7/fb14277b024551602839ac0bf4094558bac6d5628bbee3b98ba9deb14cb8/smssluzbacz-api-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f373cb92836517aa28c293848e395e82", "sha256": "eeafd4692b33fbe4bbf890d06caa229ffacaf109c76808c9e6521cfca30d5948" }, "downloads": -1, "filename": "smssluzbacz-api-1.1.tar.gz", "has_sig": false, "md5_digest": "f373cb92836517aa28c293848e395e82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 112589, "upload_time": "2013-05-14T15:15:44", "url": "https://files.pythonhosted.org/packages/ad/c7/fb14277b024551602839ac0bf4094558bac6d5628bbee3b98ba9deb14cb8/smssluzbacz-api-1.1.tar.gz" } ] }