{ "info": { "author": "Timmy O'Mahony", "author_email": "me@timmyomahony.com", "bugtrack_url": null, "classifiers": [], "description": "![Screenshot](https://github.com/timmyomahony/python-parsnip/raw/master/parsnip-screen-small.jpg)\n\n`Parsnip` is a basic python interface to allow the sending of web texts via the main 4 Irish mobile operators websites. It is influenced by [cabbage](http://cabbagetexter.com/), a popular `php` implementation. \n\n* **Meteor** : [http://mymeteor.ie](https://www.mymeteor.ie/mymeteorapi/index.cfm)\n* **O2** : [http://o2online.ie](https://messaging.o2online.ie/smscenter_send.osp)\n* **Vodafone** : [http://vodafone.ie](https://www.vodafone.ie/myv/messaging/webtext/Process.shtml)\n* **Three** : [http://three.ie](http://webtext.three.ie/send.jsp)\n\n##Install##\n\n\tpip install -e git+https://github.com/timmyomahony/python-parsnip.git#egg=parsnip\n\t\n##Usage##\n\n\timport parsnip\n\ttexter = parsnip.get_webtexter(\"Meteor\", \"0851111111\", \"1234\")\n\ttexter.login()\n\ttexter.send(\"Heyo\", [\"0866666666\", \"0877777777\", \"0863333333\"])\n\tprint texter.get_remaining_webtexts()\n\t255\n texter.logout()\n\t\n* `get_webtexter(operator, phone_number, online_pin)` : is a factory method which returns an instance of `Webtexter`. \n* A webtexter instance has the following methods:\n * `login()` : login to remote operator site\n * `logout()` : clear cookies and perform logout on remote operator site\n * `send(message, recipients)` : sends a web text to the provided recipients, where `recipient` is either a comma separated string of phone numbers, or a list of phone numbers. \n * `get_remaining_webtexts` : returns an integer \n\n##Features##\n\n* For messages that have more characters then the provider allows (i.e. sending a message greater than 160 characters on Three), the message will be broken into smaller chunks and sent separately. The same can be said for recipients : if there are more recipients then the provider handles, they are split up and the message numerous times\n\n##TODO##\n\n* incorporate group texting\n* add ellipses to chunked messages\n\n##Contact##\n[me@timmyomahony.com](mailto://me@timmyomahony.com)", "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/timmyomahony/python-parsnip", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "python-parsnip", "package_url": "https://pypi.org/project/python-parsnip/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-parsnip/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/timmyomahony/python-parsnip" }, "release_url": "https://pypi.org/project/python-parsnip/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Parsnip is a basic python interface to allow the sending of web texts via the main 4 Irish mobile operators websites. It is influenced by/based on Cabbage http://cabbagetexter.com/.", "version": "0.0.1" }, "last_serial": 798031, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f6693b87af76c34afa7a8273e6317c46", "sha256": "1403d97b359dbabd94f764c8a22477a5fa50988f0b6b33a00dba396aa6335fb4" }, "downloads": -1, "filename": "python-parsnip-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f6693b87af76c34afa7a8273e6317c46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16732, "upload_time": "2012-05-02T23:41:57", "url": "https://files.pythonhosted.org/packages/87/e5/9c04431331dc93848b31f77037238ba32db8c764d3855e5aa4a8a925d11b/python-parsnip-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f6693b87af76c34afa7a8273e6317c46", "sha256": "1403d97b359dbabd94f764c8a22477a5fa50988f0b6b33a00dba396aa6335fb4" }, "downloads": -1, "filename": "python-parsnip-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f6693b87af76c34afa7a8273e6317c46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16732, "upload_time": "2012-05-02T23:41:57", "url": "https://files.pythonhosted.org/packages/87/e5/9c04431331dc93848b31f77037238ba32db8c764d3855e5aa4a8a925d11b/python-parsnip-0.0.1.tar.gz" } ] }