Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    spinnerchief 0.1.1

    Download button

    No screenshots available
    Downloads: 115  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    NiteoWeb Ltd. | More programs
    BSD License / FREE
    September 25th, 2012, 04:46 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    spinnerchief description

    SpinnerChief API Python bindings

    spinnerchief is a Python module that provides bindings for the SpinnerChief API.

    Install within virtualenv

         virtualenv foo
         cd foo
         git clone https://github.com/niteoweb/spinnerchief
         bin/pip install spinnerchief/

        # running tests:
         bin/pip install unittest2 mock
         bin/python -m unittest discover -s spinnerchief/src/spinnerchief/tests

    Buildout

         git clone https://github.com/niteoweb/spinnerchief
         cd spinnerchief
         python bootstrap.py
         bin/buildout

        # running tests:
         bin/py -m unittest discover -s src/spinnerchief/tests

        # check code for imperfections
         bin/vvv src/spinnerchief


    Usage

        >>> import spinnerchief
        >>> sc = spinnerchief.SpinnerChief("< yourapikey >", "< yourusername >", "< yourpassword >")

        >>> sc.text_with_spintax(text="My name is Ovca!")
        "{I am|I'm|My friends call me|Throughout southern california|Im} Ovca!"

        >>> sc.unique_variation(text="My name is Ovca!")
        "Im Ovca!"

        >>> print "used: %s" % sc.quota_used()
        used: 2

        >>> print "left: %s" % sc.quota_left()
        left: 18



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    SpinnerChief API | Python bindings | Python library | Python | SpinnerChief | API

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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