Making Python feel like plain English.
Py_simple is a beginner-friendly Python wrapper package designed to help beginners and developers perform common tasks using simple, intuitive functions.
The goal of this project is to remove the need for memorizing complex syntax or writing repetitive boilerplate code, making Python more accessible and enjoyable for everyone.
Py_simple provides simple modules designed to make common Python tasks easier.
Simplify everyday file operations with beginner-friendly utilities.
Features include:
- File management helpers
- Easier file operations
- Cleaner Python workflows
Make working with dates simpler and more readable.
Features include:
- Date formatting utilities
- Easier date manipulation
- Simple date-related functions
Perform common number operations using simple and readable functions.
Features include:
- Number utilities
- Beginner-friendly calculations
- Cleaner mathematical operations
Handle common string operations using clear, beginner-friendly functions.
Features include:
- Removing repeated spaces
- Converting text to
snake_case - Converting text to
kebab-case - Checking whether text is a palindrome
Example:
from py_simple.easy_strings import (
is_palindrome,
remove_extra_spaces,
to_kebab_case,
to_snake_case,
)
remove_extra_spaces(" hello world ")
# "hello world"
to_snake_case("Hello World")
# "hello_world"
to_kebab_case("Hello World")
# "hello-world"
is_palindrome("Never odd or even")
# TrueConvert values easily using simple utility functions.
Features include:
- Simple conversions
- Easy-to-use helpers
- Less repetitive code
Validate common input formats using simple, readable functions.
Features include:
- Email, username, and URL validation
- US zip code validation
- Password strength validation
Make getting data from the web less complex.
Features include:
- Checking if website is up
- Getting page content
More examples and documentation will be added as the project grows.
I would love to have your help in making Python simpler for everyone!
Contributions of all sizes are welcome:
- Fix documentation
- Improve existing modules
- Suggest new features
- Add new functionality
- Improve examples
Please check CONTRIBUTING.md before submitting changes.
Every contribution helps make Py_simple better for beginners and developers.
A huge thank you to the wonderful people who have helped build Py_simple:
- Sara Czasak (Creator)
- ghostfix-pm (Major features & Refactoring)
- jagjitkaur0000 (Added tests for easy_numbers module)
- Onion0121 (Improved documentation)
- averyquinnhq (Added tests for easy_converter.py)
- gaoharimran29-glitch (Added tests for easy_validator.py)
- mmaxjr (Improved documentation)
- sol4nki (Expanded easy_converter.py module)
- shivams786 (Added easy_strings.py)
See the full list of contributions in CONTRIBUTORS.md.
This project is licensed under the MIT License.
You are free to use, modify, and distribute it.
See the LICENSE.md file for the full legal text.