hello-memoryview 0.1.0
an example usage of the new style buffer API
About hello-memoryview
This is an example usage of the new-style buffer API available in Python 2.6.
Usage
To run the demo using the slow python code:
$ hello-memoryview
To run the demo using the faster C extension:
$ hello-memoryview --fast
To advance the state by one step press 'n'. To advance the state by multiple steps press '<k>n' where <k> is some number, possibly with multiple digits. For example, typing '99n' will advance the state by 99 steps. To quit, press any key that is not 'n' and is not a digit.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| hello-memoryview-0.1.0.tar.gz (md5) | Source | 2010-04-21 | 3KB | 481 | |
- Author: Alex Griffing
- Home Page: http://github.com/argriffing/hello-memoryview
- Download URL: http://pypi.python.org/packages/source/h/hello-memoryview/hello-memoryview-0.1.0.tar.gz
- License: MIT
- Platform: Linux
-
Categories
- Development Status :: 4 - Beta
- Environment :: Console :: Curses
- Intended Audience :: Developers
- License :: OSI Approved :: MIT License
- Natural Language :: English
- Operating System :: POSIX :: Linux
- Programming Language :: C
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.0
- Programming Language :: Python :: 3.1
- Topic :: Artistic Software
- Package Index Owner: hmmus
- DOAP record: hello-memoryview-0.1.0.xml
