Skip to main content

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 GOvals, GWindows, 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


Download files

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

Source Distribution

campy-0.0.1.dev3.tar.gz (96.0 kB view hashes)

Uploaded Source

Built Distribution

campy-0.0.1.dev3-py3-none-any.whl (123.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page