Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-utils-42

A versatile collection of Python utilities designed to enhance productivity and streamline development processes. This project includes functions and classes for common tasks, making it easier for developers to focus on building robust applications.

Features

  • Data Validation: Simple and effective utilities to check and validate user inputs across various data types.
  • File Management: Functions to easily read, write, and manipulate files, simplifying file handling in your applications.
  • String Manipulation: A set of helpful tools for advanced string operations, including formatting, normalization, and transformation.
  • Date & Time Utilities: Class methods for simplifying date and time calculations, conversions, and formatting.

Installation

To install python-utils-42, make sure you have Python 3.7 or higher installed. Then you can use pip to install it from npm:

pip install git+https://github.com/Developer/python-utils-42.git

Basic Usage Example

Here’s a quick example to show how you can leverage the utilities provided by python-utils-42.

from utils import Validator, FileHandler

# Validate an email address
email = "example@domain.com"
if Validator.is_valid_email(email):
    print(f"{email} is valid.")

# Write to a file
file_handler = FileHandler('example.txt')
file_handler.write("This is a test file.\nWelcome to python-utils-42!")

# Read the file
content = file_handler.read()
print(content)

Explore more in the documentation and discover how python-utils-42 can help you optimize your workflow!

License: MIT

For contributions, questions, or suggestions, feel free to open an issue or pull request on this repository. Let's build something great together!

About

Performance and utility tools for general

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages