Skip to main content

motif - Python module for motif

  • 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
    >>>

Metadata

Release files for motif 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for motif 0.0.11
File Interpreter ABI Platform Actions
motif-0.0.11-py2.7.egg Legacy Egg format - - Details for motif-0.0.11-py2.7.egg

Release files / motif-0.0.11-py2.7.egg

Download URL motif-0.0.11-py2.7.egg
Size 7.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
419290d099b19afab0b78407e3cdb12288bb802e02b4ee111cbe40d082a47040
BLAKE2b-256 checksum
How to use checksums
dfa2800f016c5a375cf49858a458c1450520648a9fe0960bc85ac751a07b8023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for motif 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page