Skip to content

Repository files navigation

Introductory Python Projects

These are early projects from CPSCI 101 in Fall 2024. I am keeping them public because they show where I started with Python, not because I think they are production software.

Projects

Project What I built Main ideas
01 Audio remixer, rewritten independently for this repo tempo changes, gain ramps, timed overlays, export
02 Literary text analyzer tokenization, part-of-speech tagging, word counts, charts
03 Crossword checker CSV parsing, two-dimensional grids, dictionary lookup
04 Basic image editor RGB pixels, black-and-white thresholding, brightness, flipping
05 PGA earnings scraper HTTP requests, HTML parsing, summary statistics, bar charts

Audio remixer example

python3 project_01_audio_remixer.py input.wav output.wav \
  --start-speed 0.8 --end-speed 1.25 \
  --gain-start-db -6 --gain-end-db 3 \
  --overlay-a coin.wav --overlay-b powerup.wav

The rewrite supports WAV directly. MP3 and some other formats need FFmpeg.

Setup

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

Some original inputs are not included:

  • Project 02 needs text files.
  • Project 03 needs puzzle01.csv and dictionary.txt.
  • Project 04 needs an RGB image named chapel.jpg.
  • Project 05 used a 2024 Spotrac page, so the current HTML may not match the old scraper.

A note on Project 01

The submitted audio project was shared work. I did not upload that code. The version here is a new implementation that keeps the general idea—speed, volume, overlays, and mixing—without copying the shared submission.

I also left out Gradescope files, course prompts, grader material, personal contact information, full books, and media I could not confirm I had the right to republish.

About

Early Python projects in audio, text, images, grids, and web scraping.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages