This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

motif - Python module written by Wu Fuheng

Project Description
  • motif is a Python module written by Wu Fuheng

  • OS: Linux Ubuntu 15.04 64bit

  • Installation:

    sudo easy_install https://pypi.python.org/packages/2.7/m/motif/motif-0.0.11-py2.7.egg
    
  • Run:

    $python
    Python 2.7.9 (default, Apr  2 2015, 15:33:21)
    [GCC 4.9.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from motif import Motif
    >>> m = Motif()
    >>> m.test()
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    PASS
    >>> m.display_keypad()
    1 2 3
    4 5 6
    7 8 9
    * 0 #
    >>> print m.run(10)
    326862
    >>> print m.run(100)
    8346333168977851537223946938790914315535720036672688
    >>>
    >>> # customize keypad
    ... m.set_keypad([[1, 2, 3],
    ...                [4, 5, 6],
    ...                [7, 8, 9],
    ...                [0, '*', '#']])
    >>> m.display_keypad()
    1 2 3
    4 5 6
    7 8 9
    0 * #
    >>> m.construct_map()
    >>> print m.run(1)
    10
    >>> print m.run(2)
    28
    >>>
    
Release History

Release History

This version
History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
motif-0.0.11-py2.7.egg (7.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Sep 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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