Skip to content

Latest commit

ย 

History

580 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšกQuickstart ยท ๐Ÿ“ฆModules ยท ๐Ÿ†˜Support ยท ๐Ÿš€Contributing ยท ๐ŸŒŸContributors ยท ๐Ÿ“œChangelog ยท ๐Ÿ”’Security ยท ๐ŸŒฑCode of Conduct ยท โš–๏ธLicense

py-simple-wrap

Making Python feel like plain English.

PyPI Tests Contributors 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

Legend:

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

Documentation

๐Ÿ“ฆ Module reference
๐Ÿค Contributor hub
๐Ÿ—บ๏ธ Contributors quest
More detailed overview of all modules, links to documentation and tutorials, in other words everything you need to get started 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
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

from py_simple import get_page_title
 
print(get_page_title("https://github.com"))

โญ 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.

Contributing ยท Changelog ยท License

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