Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    python-parsnip 0.0.1

    Download button

    No screenshots available
    Downloads: 90  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Timmy O'Mahony | More programs
    MIT/X Consortium Lic... / FREE
    May 3rd, 2012, 22:51 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    python-parsnip description

    Parsnip is a basic Python interface to allow the sending of web texts via the main 4 Irish mobile operators websites

    python-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, a popular php implementation.

    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



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    web texts | Python library | Python | web | texts

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM