Skip to main content

mediaComp: a multimedia library for Python 3

MediaComp is a free and open-source multimedia library for Python 3 which enables the easy manipulation of images and sounds. It utilizes popular libraries to provide an abstraction of manipulating sounds, images, and colors, by abstracting the complexity into easy-to-use function calls.

History

MediaComp is a conversion of the multimedia library originally developed and released by Mark Guzdial & Barbara Ericson for use with their Introduction to Computing and Programming in Python: A multimedia Approach book (last edition ISBN 978-0-13-402554-4). It is based on Python 3, whereas the Guzdial/Ericson (G/E) version was based on Jython 2.7. Our implementation is based on Gordon College's JES4PY conversion, which implemented a subset of the original G/E multimedia library features so they could be used in Python 3. Their goal was, and ours is, to provide the pedagogical assets of the G/E multimedia library without requiring Jython or needing to use the JES IDE. While mediaComp is still a subset of the G/E implementation, it provides added functionality when compared to JESPY.

MediaComp is a conversion of only the media computation multimedia library, and does not include JES, the Jython Environment for Students, which is an educational IDE used in the Media Computation curriculum developed by Guzdial and Ericson. More details on the curriculum are available at http://www.mediacomputation.org/.

Installation

Before installing mediaComp, verify that Python is installed on your device. To find out, open a command prompt or terminal and type:

python --version

If a message like "Python 3.12.5" is displayed it means Python is installed and you can install mediaComp. If an error message occurs, check the official Python website to download it.

To install our package run:

python -m pip install mediaComp[gui]

Help

Even if you are new to mediaComp you should be able to start faily easily. Our abstractions make the functionality of the library intuitive. Full documentation can be found on our GitHub.

Credits

Thank you to everyone who has contributed to this library.

  • Dave Largent (mentor)
  • Jason Yoder
  • CJ Fulciniti
  • Santos Pena

Dependencies

MediaComp is strongly dependent on several libraries. Most of the these will install with the package, however to make sure you get wxPython with the package, install it with pip install mediaComp[gui].

Dependency Version
wxPython > 4.2.0
pillow > 11.0.0
pygame > 2.5.0
numpy >= 2.2.1
sounddevice >= 0.5.2

Tested IDEs

MediaComp is primarily used in the Thonny IDE, but has been used in VSCode and JetBrains PyCharm as well. If you encounter an issue using any of the three IDE's, submit an issue!

License

This package is distributed under GPL 3.0-or-later, which can be found in our GitHub repository in LICENSE. This means you can basically use mediaComp in any project you want. Any changes or additions made the package must also be released with a compatible license.

Metadata

Release files for mediaComp 0.4.12

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

Source distribution (sdist)

Source distribution for mediaComp 0.4.12
File Size Uploaded Provenance Actions
mediacomp-0.4.12.tar.gz 480.6 kB With provenance Details for mediacomp-0.4.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mediaComp 0.4.12
File Interpreter ABI Platform Actions
mediacomp-0.4.12-py3-none-any.whl Python 3 none any Details for mediacomp-0.4.12-py3-none-any.whl

Total release size: 548.4 kB

Release files / mediacomp-0.4.12.tar.gz

Download URL mediacomp-0.4.12.tar.gz
Size 480.6 kB
Tags Source
SHA-256 checksum
How to use checksums
62e0a5f91771bac4f9f3391d8538b73629ed38942f579c9e2c35fcec1606a0fe
BLAKE2b-256 checksum
How to use checksums
85743399b41cc1241818566712f1fcb5dc9604b11f8b096cb6c90d8b03d4382e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

Release files / mediacomp-0.4.12-py3-none-any.whl

Download URL mediacomp-0.4.12-py3-none-any.whl
Size 67.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20b9120e68a64e048bbe5c560227778678c9edde356d636316bce680ac1dfa5c
BLAKE2b-256 checksum
How to use checksums
41f5d4d2e96622db1f73abf7438904148c03bdccac172339abb87f97ec15b604
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

Security for mediaComp 0.4.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mediacomp-0.4.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.4.12 This release

2 release files Full provenance

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