Skip to content

README

โšก[Quickstart](../QUICKSTART.md) ยท ๐Ÿ“ฆ[Modules](../MODULES.md) ยท ๐Ÿ†˜[Support](../SUPPORT.md) ยท ๐Ÿš€[Contributing](../CONTRIBUTING.md) ยท ๐ŸŒŸ[Contributors](../CONTRIBUTORS.md) ยท ๐Ÿ“œ[Changelog](../CHANGELOG.md) ยท ๐Ÿ”’[Security](../SECURITY.md) ยท ๐ŸŒฑ[Code of Conduct](../CODE_OF_CONDUCT.md) ยท โš–๏ธ[License](../LICENSE.md)
# py-simple-wrap **Making Python feel like plain English.** [![PyPI](https://img.shields.io/pypi/v/py-simple-wrap?style=flat-square&logo=pypi&logoColor=white&color=3775A9)](https://pypi.org/project/py-simple-wrap/) [![Tests](https://img.shields.io/github/actions/workflow/status/sara-czasak/py-simple-wrap/tests.yml?style=flat-square&logo=github&label=tests)](https://github.com/sara-czasak/py-simple-wrap/actions/workflows/tests.yml) [![Contributors](https://img.shields.io/badge/contributors-31-orange?style=flat-square)](../CONTRIBUTORS.md) [![License](https://img.shields.io/badge/license-MIT-lightgrey?style=flat-square)](../LICENSE.md) [![Discord](https://img.shields.io/discord/1533803449895092245?style=flat-square&logo=discord&logoColor=white&label=discord&color=5865F2)](https://discord.gg/Ge5HnVw2p)


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](https://img.shields.io/badge/Files-4C8BF5?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_file_manager/) | [๐Ÿ•ฐ๏ธ ![Dates](https://img.shields.io/badge/Dates-E0692A?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_date_formatter/) | [๐Ÿ”ข ![Numbers](https://img.shields.io/badge/Numbers-C98C1B?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_numbers/) | [๐Ÿ“‹ ![Lists](https://img.shields.io/badge/Lists-2FA84F?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_lists/) | [๐Ÿ”ค ![Strings](https://img.shields.io/badge/Strings-2FA84F?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_strings/) | [โœ‚๏ธ ![Text](https://img.shields.io/badge/Text-2FA84F?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_text/) | [๐Ÿ”„ ![Converter](https://img.shields.io/badge/Converter-C98C1B?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_converter/) | [โœ… ![Validator](https://img.shields.io/badge/Validator-2FA84F?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_validator/) | [๐ŸŒ ![Web](https://img.shields.io/badge/Web-9B59D0?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_web/) | [๐ŸŽจ ![Colors](https://img.shields.io/badge/Colors-9B59D0?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_colors/) | | [๐Ÿ”„ ![Flow](https://img.shields.io/badge/Flow-E0692A?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_flow/) | [๐Ÿ“„ ![JSON](https://img.shields.io/badge/JSON-4C8BF5?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_json/) | [๐Ÿ” ![Regex](https://img.shields.io/badge/Regex-2FA84F?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_regex/) | [โšก ![Async](https://img.shields.io/badge/Async-E0692A?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_async/) | [๐Ÿ”‘ ![Dict](https://img.shields.io/badge/Dict-4C8BF5?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_dict/) | [๐Ÿ–ผ๏ธ ![Images](https://img.shields.io/badge/Images-9B59D0?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_images/) | [๐Ÿงฎ ![Math](https://img.shields.io/badge/Math-C98C1B?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_math/) | [๐Ÿ“Š ![Stats](https://img.shields.io/badge/Stats-C98C1B?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_stats/) | [๐Ÿ“‘ ![CSV](https://img.shields.io/badge/CSV-4C8BF5?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_csv/) | [๐Ÿ“ˆ ![Data viz](https://img.shields.io/badge/Data%20viz-9B59D0?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_data_visualization/) | | [๐ŸŽฎ ![Game](https://img.shields.io/badge/Game-E0507A?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_game/) | [๐ŸŽฒ ![Generator](https://img.shields.io/badge/Generator-E0507A?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_generator/) | [๐Ÿ—œ๏ธ ![Archive](https://img.shields.io/badge/Archive-4C8BF5?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_archive/) | [โ” ![SQL](https://img.shields.io/badge/SQL-4C8BF5?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_sql/) | [๐Ÿ”€ ![Random](https://img.shields.io/badge/Random-E0507A?style=flat-square)](https://sara-czasak.github.io/py-simple-wrap/docs/reference/easy_random/) | | | | | | ### Legend: | | | | | | | |------------------------------------------------|-----------------------------------------------------|--------------------------------------------------|-------------------------------------------------------|-------------------------------------------------|----------------------------------------------------| |
๐ŸŸฆ Files & data
|
๐ŸŸฉ Text & validation
|
๐ŸŸจ Numbers & math
|
๐ŸŸง Time & control flow
|
๐ŸŸช Web & visuals
|
๐ŸŸฅ Fun & generators
| ## Documentation |
๐Ÿ“ฆ **[Module reference](../MODULES.md)**
|
๐Ÿค **[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 | 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](../CONTRIBUTING.md) ยท [Changelog](../CHANGELOG.md) ยท [License](../LICENSE.md)** Built for beginners, grown by 30+ contributors โœจ