A multimedia processing library for Python 3.
Project description
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 Windows users will need to download and install the Visual Studio Build Tools for C/C++ development (see documentation).
| Dependency | Version |
|---|---|
| wxPython | > 4.2.0 |
| pillow | > 11.0.0 |
| pygame | > 2.5.0 |
| matplotlib | >= 3.10.0 |
| numpy | >= 2.2.1 |
| sounddevice | >= 0.5.2 |
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mediacomp-0.4.7.tar.gz.
File metadata
- Download URL: mediacomp-0.4.7.tar.gz
- Upload date:
- Size: 470.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bf1f8db43b6cb2b8451280a7f7299d66b5b32a56d213d80c145b4fa23ba0f09
|
|
| MD5 |
bde48f974151a7695bdf6d8ba9be4924
|
|
| BLAKE2b-256 |
a8ece6666833275fa8d7de055cd1a14d15d805f129b5bdecc37fca3ac752a288
|
Provenance
The following attestation bundles were made for mediacomp-0.4.7.tar.gz:
Publisher:
release.yaml on dllargent/mediaComp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mediacomp-0.4.7.tar.gz -
Subject digest:
6bf1f8db43b6cb2b8451280a7f7299d66b5b32a56d213d80c145b4fa23ba0f09 - Sigstore transparency entry: 648596848
- Sigstore integration time:
-
Permalink:
dllargent/mediaComp@771fc76a86b7d5f39f014eb79298cfba361e318e -
Branch / Tag:
refs/tags/v0.4.7 - Owner: https://github.com/dllargent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@771fc76a86b7d5f39f014eb79298cfba361e318e -
Trigger Event:
release
-
Statement type:
File details
Details for the file mediacomp-0.4.7-py3-none-any.whl.
File metadata
- Download URL: mediacomp-0.4.7-py3-none-any.whl
- Upload date:
- Size: 60.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59cf0e870e3b44a5ef0e1553866271bc2893c6e6e9c647cb0bd4b19e878ee87f
|
|
| MD5 |
efc2429674d8ffff10bf823667793d6d
|
|
| BLAKE2b-256 |
157c2ceae960ec05903324ed7f8212c7590c17030183475f4277b7a6c30dd776
|
Provenance
The following attestation bundles were made for mediacomp-0.4.7-py3-none-any.whl:
Publisher:
release.yaml on dllargent/mediaComp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mediacomp-0.4.7-py3-none-any.whl -
Subject digest:
59cf0e870e3b44a5ef0e1553866271bc2893c6e6e9c647cb0bd4b19e878ee87f - Sigstore transparency entry: 648596849
- Sigstore integration time:
-
Permalink:
dllargent/mediaComp@771fc76a86b7d5f39f014eb79298cfba361e318e -
Branch / Tag:
refs/tags/v0.4.7 - Owner: https://github.com/dllargent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@771fc76a86b7d5f39f014eb79298cfba361e318e -
Trigger Event:
release
-
Statement type: