CamPy provides a Python client for the Stanford ACM Libraries for use in introductory programming classes.
Project description
Python Wrapper for Stanford Portable Graphics Library
This project provides a Python client to the Stanford Portable Graphics Library.
Therefore, users of this library can write Python code to interact with GOval
s, GWindow
s, and most everything else.
Documentation
Documentation is available at to.be.hosted.somewhere.com. Raw HTML files can be found in docs/_build/html
.
Technical Overview
Stanford publishes a JAR file that listens on stdin for text commands, such as GWindow.create
, and runs the appropriate command from a Java backend. Thus, any program that can send the right text commands can emulate the behavior of the ACM libraries.
Package Organization
├── debug # Tools and scripts for debugging this implementation
├── docs # Documentation.
├── examples # Example CS106 programs written using this library.
├── campy # The library itself.
│ ├── datastructures # Collections, such as `Lexicon` and `SparseGrid`
│ ├── graphics # `GWindow`, `GOval`, `GBufferedImage`, etc.
│ ├── gui # `GInteractor`
│ ├── io # String and File IO helpers.
│ ├── misc # Miscellaneous modules.
│ ├── private # Private, implementation specific modules.
│ ├── system # `error`
│ └── util # Utility modules.
└── test # One-off testing scripts for validation.
Testing
Very few modules have been thoroughly tested, so the internals of this library may break at any time. The API is not frozen and may change without warning.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for campy-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebf820b1a840d919ffe05c1f61b88fc49324d17e0f0b403d5600e69880cc0ae |
|
MD5 | 2e5fd7080e54b5e9344eb5cca3cdb050 |
|
BLAKE2b-256 | f46c424fb006257177e704e838c43764f8e6d5150b76559be514da00f42edd2e |