Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

A CircuitPython ‘Choose Your Own Adventure’ framework for PyPortal.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

import adafruit_sdcard
import storage
from adafruit_pyoa import PYOA_Graphics
import board
import digitalio

try:
    sdcard = adafruit_sdcard.SDCard(board.SPI(), digitalio.DigitalInOut(board.SD_CS))
    vfs = storage.VfsFat(sdcard)
    storage.mount(vfs, "/sd")
    print("SD card found") # no biggie
except OSError:
    print("No SD card found") # no biggie

gfx = PYOA_Graphics()

gfx.load_game("/cyoa")
current_card = 0   # start with first card

while True:
    print("Current card:", current_card)
    current_card = gfx.display_card(current_card)

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Metadata

Release files for adafruit-circuitpython-PYOA 2.6.8

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

Source distribution (sdist)

Source distribution for adafruit-circuitpython-PYOA 2.6.8
File Size Uploaded Provenance Actions
adafruit_circuitpython_pyoa-2.6.8.tar.gz 7.2 MB Without provenance Details for adafruit_circuitpython_pyoa-2.6.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-PYOA 2.6.8
File Interpreter ABI Platform Actions
adafruit_circuitpython_pyoa-2.6.8-py3-none-any.whl Python 3 none any Details for adafruit_circuitpython_pyoa-2.6.8-py3-none-any.whl

Total release size: 7.2 MB

Release files / adafruit_circuitpython_pyoa-2.6.8.tar.gz

Download URL adafruit_circuitpython_pyoa-2.6.8.tar.gz
Size 7.2 MB
Tags Source
SHA-256 checksum
How to use checksums
fdae51ba8c3fd0d78881e043d16b3f25bcad4a7f64d85612ac1e0c8ef1b19774
BLAKE2b-256 checksum
How to use checksums
c9920006bdce66548ceca6e321d29e39a6595a39eb0b054f4721ec6e8b5d58c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / adafruit_circuitpython_pyoa-2.6.8-py3-none-any.whl

Download URL adafruit_circuitpython_pyoa-2.6.8-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37131d60c80da519e1cabe8e0625a2b6bd63629852929c63daf4a5b34db0b09a
BLAKE2b-256 checksum
How to use checksums
9bd576937390e4b943d25b43569c41b01099c6dad1eb859ac52cbfd6a87f49fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for adafruit-circuitpython-PYOA 2.6.8

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