Skip to content

mrjabba/python-playground

Repository files navigation

Python Playground

A collection of exploratory Python scripts for learning and experimenting with AI/ML tools, data analysis, and GUI development.

Overview

This repository contains various small projects and scripts exploring Python libraries and concepts, with a focus on:

  • Machine Learning & NLP - sentiment analysis, text processing, Hugging Face models
  • LLM Integration - local LLM experimentation with OpenAI API and Docker
  • Data visualization - graphs, word clouds, and data analysis
  • GUI Development - interactive applications with PySide6

Notable Scripts

sentiment_analysis_spock.py - Sentiment analysis pipeline that classifies Star Trek Spock dialogues using DistilBERT, loaded from a Hugging Face dataset.

llm_local.py - Experiments with local LLMs using the OpenAI API interface with Docker's Model Runner. Includes prompting examples.

calculator_ui.py - Simple desktop calculator GUI built with PySide6/Qt, featuring basic arithmetic operations.

word_cloud_spock.py - Generates word clouds from Spock dialogue data for text visualization.

hugging-face-stuff.py - Exploration of Hugging Face datasets and models.

city_distance_graph.py - Graph-based analysis of city distances.

running-stats.py - Reads running data from CSV and displays various performance charts.

About

Various scripts for learning Python and AI tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages