Skip to content

diegomendez40/PythonCodeSnippets

Repository files navigation

Code Snippets # 1 (Python)

A portfolio of Python code snippets.

This repository will include code snippets and small pieces of working code related to Python, some hobby projects of mine and ML/AI.

Getting started

Select a code snippet from the list and go to the respective subfolder.

List of code snippets

100 - Welcome Mat

101 - Tiny Utilities

102 - Battle Simulator (Tkinter)

103 - Positive Biopsy Risk (Flask)

104 - Two-player flamenco fight in the streets of Seville (PyGame)

105 - Wireless Communications

106 - Concurrency Performance Tests (Python, Cython, C++)

107 - Autonomous Agents (python, asyncio, ZooKeper, Kafka)


100 - Welcome Mat

Provides a customized Welcome message design for any mat size input.

101 - Tiny Utilities

A suite of tiny utility codes, including:

  • Functions to count unique URLs: how many unique normalized valid URLs were passed, how many per top level domain, etc.
  • Bookbot: a text analyser (word count, letter count e.g. for deciphering)

102 - Battle Simulator (Tkinter)

A simple battle simulator set in Ancient Rome. Desktop app using Tkinter.

103 - Positive Biopsy Risk (Flask)

A web calculator for prostate cancer risk based on the number and severity (RADS) of lesions.

Positive Biopsy Risk Calculator Form

104 - Two-player flamenco fight in the streets of Seville (PyGame)

Hit your opponent's tip of the witch hat to deplete her health and win!

Flamenco Fight in Seville

105 - Wireless Communications

Tutorials for engineering students and code snippets related to my work as a professor at the UC3M and my research interests in wireless communications, channel estimation, tracking and learning, etc. (-- WORK IN PROGRESS --)

106 - Concurrency Performance Tests (Python, Cython, C++)

A performance analysis for different modes of concurrent programming in Python, Cython and C++ for different machines and tasks. (-- WORK IN PROGRESS --)

107 - Autonomous Agents (python, asyncio, ZooKeper, Kafka)

A FlamencoWitches-styled prototype of autonomous agents producing and consuming processing streams of data (python, asyncio, ZooKeeper, Kafka).

For an expanded, up-to-date version, visit this repo: https://github.com/diegomendez40/FlamencoWitchesAgents

About

Code Snippets #1: A portfolio of code snippets in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages