Skip to content

py-simple-wrap logo

py-simple-wrap

Making Python feel like plain English.

PyPI Tests Contributors PyPI Downloads License Discord


py-simple-wrap is a beginner-friendly Python toolbox โ€” simple, intuitive functions for common tasks, so you can build something fun before the syntax gets in the way.


Modules at a glance

๐Ÿ“‚ Files ๐Ÿ•ฐ๏ธ Dates ๐Ÿ”ข Numbers ๐Ÿ“‹ Lists ๐Ÿ”ค Strings โœ‚๏ธ Text ๐Ÿ”„ Converter โœ… Validator ๐ŸŒ Web ๐ŸŽจ Colors
๐Ÿ”„ Flow ๐Ÿ“„ JSON ๐Ÿ” Regex โšก Async ๐Ÿ”‘ Dict ๐Ÿ–ผ๏ธ Images ๐Ÿงฎ Math ๐Ÿ“Š Stats ๐Ÿ“‘ CSV ๐Ÿ“ˆ Data viz
๐ŸŽฎ Game ๐ŸŽฒ Generator ๐Ÿ—œ๏ธ Archive โ” SQL ๐Ÿ”€ Random โš™๏ธ Config ๐Ÿค– AI ๐Ÿชต Logging ๐Ÿ–ฅ๏ธ Terminal ๐Ÿ”ค Base64

Legend:

๐ŸŸฆ Files & data ๐ŸŸฉ Text & validation ๐ŸŸจ Numbers & math ๐ŸŸง Time & control flow ๐ŸŸช Web & visuals ๐ŸŸฅ Fun & generators ๐ŸŸซ AI

Documentation

HOME PAGE

|

๐Ÿ“ฆ Module reference

            |
๐Ÿ“ƒ **[Docs](https://sara-czasak.github.io/py-simple-wrap/docs/)**
                   |
๐Ÿค **[Contributor hub](https://sara-czasak.github.io/py-simple-wrap/docs/contributor-hub/)**
                                                                                             |
๐Ÿ—บ๏ธ **[Contributors quest](https://sara-czasak.github.io/py-simple-wrap/quest/)**
                                                                                                                             |

|:-------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | More detailed overview of all modules, links to documentation and tutorials, in other words everything you need to get started | Here you will find everything you need! From references through module tutorials all the way to contributor tutorials! | templates for contributors. This project is meant to help everyone learn and grow, including beginner contributors. The goal is to try to help everyone succeed on there journey with py-simple-wrap and python as a whole. | This is a gamified hub for contributors. You can participate in challenges, earn achievements, join a guild (or two). Search through open issues faster and check your progress in the leaderboard. This is meant to make contributing more fun! |



pip install py-simple-wrap

This installs the lightweight core; a few modules need extra packages โ€” see Installation in the Quickstart for the full list.

from py_simple import make_blank_file, miles_to_km, is_valid_email

make_blank_file("notes.txt")
print(miles_to_km(26.2))  # 42.16...
print(is_valid_email("hello@example.com"))  # True

Full walkthrough in QUICKSTART.md, or browse the documentation site.


๐Ÿ˜ฐ โ†’ ๐Ÿ˜Ž See the difference

The traditional way

import requests
from bs4 import BeautifulSoup

try:
    response = requests.get("https://github.com", timeout=10)
    response.raise_for_status()
    page = BeautifulSoup(response.content, "html.parser")
    title = page.title.string
except Exception as e:
    print("The site is down or address is invalid.")

The py-simple-wrap way

Needs the [web] extra: pip install py-simple-wrap[web]

from py_simple import get_page_title

print(get_page_title("https://github.com"))


๐Ÿงฉ Project tutorials

Want to see modules working together? Check out the project-based tutorials โ€” small, fun builds that combine 2+ modules into something you'd actually want to make.

๐Ÿ“ฃ Share what you build

Made something with py-simple-wrap? Post about it and tag #py-simple-wrap. I'd love to see it!

โญ If py-simple-wrap made something easier for you

Consider giving it a star โ€” it helps other beginners find it. And if there's a function you wish existed, fork it and add it; this project grew because other people did exactly that.

๐Ÿ“ข Got 2 minutes? Help shape what's next

Whether you've used one function or ten, your feedback decides what gets built next. Take the 2-minute survey โ†’

Contributing ยท Changelog ยท License

Built for beginners, grown by 70+ contributors โœจ