{ "info": { "author": "Torbjorn Maro", "author_email": "torbjorn@pswin.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Communications :: Telephony", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "PSWinCom Python Package\n=======================\n\nA Python interface to the [PSWinCom SMS Gateway](http://pswin.com/english/products/gateway).\n\nInstallation\n------------\n\nThe pswinpy package is distributed through PyPI as both egg, Windows and source. THIS IS NOT YET TRUE!!\n\nBasic Usage\n-----------\nTo use this package, you will need sign up for a Gateway account with PSWinCom. Demo account are available.\n\nThis piece of code demonstrates how to send a simple SMS message:\n\n from pswinpy import API\n api = API(\"myUsername\", \"myPassword\")\n api.sendSms(4712345678, \"Strange women lying in ponds distributing swords is no basis for a system of government!\")\n\nProperties\n----------\nReceiver and message text are the two mandatory properties when sending a message. You may specify additional properties by using named arguments.\n\nFor instance this is how you would specify a sender:\n\n api.sendSms(4712345678, \"It's just a flesh wound.\", sender=\"BlackKnight\")\n\nProperties currently supported are:\n\n* sender\n* TTL - time to live in minutes\n* tariff - the amount (in local currency as cents/\"ører\") to charge the receiver\n* serviceCode - service code for sending GAS messages. Requires that tariff is set. See [wiki](http://wiki.pswin.com/CPA-Goods-and-Services.ashx) for details.\n* deliveryTime - a datetime object specifying when to send the message\n\nSpecifying Host\n---------------\nThe package is set to use a particular PSWinCom SMS Gateway by default. The host can be changed globaly by setting the host class property on HttpSender:\n\n HttpSender.host = \"some.other.host.com\"\n\nModes\n-----\nFor testing purposes the API provides a couple of modes you can set globally to control how the library works.\n\n Mode.test = True\n\n.. will make you use the API without actually sending any messages.\n\n Mode.debug = True\n\n.. will make the API output debug information to standard out.\n\nLicense\n-------\nThis code is free to use under the terms of the MIT license.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "SMS", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "pswinpy", "package_url": "https://pypi.org/project/pswinpy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pswinpy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/pswinpy/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "A package for sending SMS messages using the PSWinCom SMS Gateway.", "version": "0.0.1" }, "last_serial": 796767, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7e901c5ac71d9135423d3d19d443af4d", "sha256": "73b2e6433cdc507de94e9d8df1d99b3d4a186f242a506ebbfd1b2d13aca42bb3" }, "downloads": -1, "filename": "pswinpy-0.0.1-py2.5.egg", "has_sig": false, "md5_digest": "7e901c5ac71d9135423d3d19d443af4d", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7815, "upload_time": "2011-05-05T11:06:01", "url": "https://files.pythonhosted.org/packages/3a/d0/d6532e2228cf45d8477de016251026dd8422b7172f5f332122d238932dd9/pswinpy-0.0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "26711db1e45fe68fb4a82ef369688b17", "sha256": "21eeb524ce8eb4b412dc0b2b11388a63e85f9717806f455a8121c7700053bd23" }, "downloads": -1, "filename": "pswinpy-0.0.1.win32-py2.5.exe", "has_sig": false, "md5_digest": "26711db1e45fe68fb4a82ef369688b17", "packagetype": "bdist_wininst", "python_version": "2.5", "requires_python": null, "size": 68517, "upload_time": "2011-05-05T11:06:27", "url": "https://files.pythonhosted.org/packages/60/ce/a9c6406ef6b6f1d88ce9c0e0fed301869c7adade9e8b4eca74b0b2039dc8/pswinpy-0.0.1.win32-py2.5.exe" }, { "comment_text": "", "digests": { "md5": "6ea51d3dbbcb6f427c63d9a357d4da8b", "sha256": "90bbe8316cc107473eef0764535b549595f37281b8f055fefd6be72f29091ede" }, "downloads": -1, "filename": "pswinpy-0.0.1.zip", "has_sig": false, "md5_digest": "6ea51d3dbbcb6f427c63d9a357d4da8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6586, "upload_time": "2011-05-05T11:06:51", "url": "https://files.pythonhosted.org/packages/1e/10/f61d26f7335af659bfce66bba4a0d726d4ff7c63484b9b886eb7855d83fa/pswinpy-0.0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e901c5ac71d9135423d3d19d443af4d", "sha256": "73b2e6433cdc507de94e9d8df1d99b3d4a186f242a506ebbfd1b2d13aca42bb3" }, "downloads": -1, "filename": "pswinpy-0.0.1-py2.5.egg", "has_sig": false, "md5_digest": "7e901c5ac71d9135423d3d19d443af4d", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7815, "upload_time": "2011-05-05T11:06:01", "url": "https://files.pythonhosted.org/packages/3a/d0/d6532e2228cf45d8477de016251026dd8422b7172f5f332122d238932dd9/pswinpy-0.0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "26711db1e45fe68fb4a82ef369688b17", "sha256": "21eeb524ce8eb4b412dc0b2b11388a63e85f9717806f455a8121c7700053bd23" }, "downloads": -1, "filename": "pswinpy-0.0.1.win32-py2.5.exe", "has_sig": false, "md5_digest": "26711db1e45fe68fb4a82ef369688b17", "packagetype": "bdist_wininst", "python_version": "2.5", "requires_python": null, "size": 68517, "upload_time": "2011-05-05T11:06:27", "url": "https://files.pythonhosted.org/packages/60/ce/a9c6406ef6b6f1d88ce9c0e0fed301869c7adade9e8b4eca74b0b2039dc8/pswinpy-0.0.1.win32-py2.5.exe" }, { "comment_text": "", "digests": { "md5": "6ea51d3dbbcb6f427c63d9a357d4da8b", "sha256": "90bbe8316cc107473eef0764535b549595f37281b8f055fefd6be72f29091ede" }, "downloads": -1, "filename": "pswinpy-0.0.1.zip", "has_sig": false, "md5_digest": "6ea51d3dbbcb6f427c63d9a357d4da8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6586, "upload_time": "2011-05-05T11:06:51", "url": "https://files.pythonhosted.org/packages/1e/10/f61d26f7335af659bfce66bba4a0d726d4ff7c63484b9b886eb7855d83fa/pswinpy-0.0.1.zip" } ] }