Skip to content

ali-ezz/simple-python-utils

simple-python-utils

Small collection of beginner Python utility scripts and exercises.

Badges

Python CI CodeQL Coverage Status Release License: MIT

Overview

This repository contains a few small utilities:

  • from_roman_to_english.py - convert Roman numerals to integers (roman_to_int).
  • max_number.py - simple find_max helper.
  • number_to_words.py - convert digits to spoken words.
  • roll_dice.py - small Dice class that rolls six-sided dice.
  • sigma.py - tiny example returning the string "sigma".
  • symbol_to_emoji.py - map text emoticons to emoji characters.

Getting started

  1. Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate
  1. Install test dependencies:
pip install -r requirements.txt

Running tests

Run the test suite with:

pytest -q

Contributing

See CONTRIBUTING.md for guidelines on submitting issues and pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Small collection of beginner Python utility scripts

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages