This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
![Screenshot](https://github.com/timmyomahony/python-parsnip/raw/master/parsnip-screen-small.jpg)

`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.

* **Meteor** : [http://mymeteor.ie](https://www.mymeteor.ie/mymeteorapi/index.cfm)
* **O2** : [http://o2online.ie](https://messaging.o2online.ie/smscenter_send.osp)
* **Vodafone** : [http://vodafone.ie](https://www.vodafone.ie/myv/messaging/webtext/Process.shtml)
* **Three** : [http://three.ie](http://webtext.three.ie/send.jsp)

##Install##

pip install -e git+https://github.com/timmyomahony/python-parsnip.git#egg=parsnip

##Usage##

import parsnip
texter = parsnip.get_webtexter("Meteor", "0851111111", "1234")
texter.login()
texter.send("Heyo", ["0866666666", "0877777777", "0863333333"])
print texter.get_remaining_webtexts()
255
texter.logout()

* `get_webtexter(operator, phone_number, online_pin)` : is a factory method which returns an instance of `Webtexter`.
* A webtexter instance has the following methods:
* `login()` : login to remote operator site
* `logout()` : clear cookies and perform logout on remote operator site
* `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.
* `get_remaining_webtexts` : returns an integer

##Features##

* 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

##TODO##

* incorporate group texting
* add ellipses to chunked messages

##Contact##
[me@timmyomahony.com](mailto://me@timmyomahony.com)
Release History

Release History

0.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-parsnip-0.0.1.tar.gz (16.7 kB) Copy SHA256 Checksum SHA256 Source May 2, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting