DevSetGo Library is a Python library offering reusable functions for efficient coding. It includes file operations, calendar utilities, pattern matching, advanced logging with loguru, FastAPI endpoints, async database handling, and email validation. Designed for ease of use and versatility, it's a valuable tool for Python developers.
Project description
Python:
Support Python Versions
CI/CD Pipeline:
SonarCloud:
DevSetGo Common Library
Introduction
The DevSetGo Common Library is a comprehensive package of common functions designed to eliminate repetitive coding and enhance code reusability. It aims to save developers time and effort across various projects.
Compatibility and Testing
- Tested on: Windows, Linux.
- Compatibility: Potentially compatible with MacOS (feedback on issues is appreciated).
Library Functions
Common Functions
- File Functions:
- CSV File Functions
- JSON File Functions
- Text File Functions
- Folder Functions:
- Make Directory
- Remove Directory
- Last File Changed
- Directory List
- Calendar Functions:
- Get Month
- Get Month Number
- Patterns:
- Pattern Between Two Characters
- Logging:
- Logging configuration and interceptor
FastAPI Endpoints
- Systems Health Endpoints:
- Status/Health, Heapdump, Uptime
- HTTP Codes:
- Method to generate HTTP response codes
Async Database
- Database Config
- Async Session
- CRUD Operations
Examples and Usage
Refer to the Recipes Pages
Installation Guide
pip install devsetgo-lib
# Aysync database setup
pip install devsetgo-lib[sqlite]
pip install devsetgo-lib[postgres]
# Consider these experimental and untested
pip install devsetgo-lib[oracle]
pip install devsetgo-lib[mssql]
pip install devsetgo-lib[mysql]
# For adding FastAPI endpoints
pip install devsetgo-lib[fastapi]
# Install everything
pip install devsetgo-lib[all]
Contribution and Feedback
Contributions and feedback are highly appreciated. Please refer to our Contribution Guidelines.
License
Author Information
Further Documentation
For more detailed information, visit LINK_TO_DETAILED_DOCUMENTATION.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for devsetgo_lib-0.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4beeaeae495c7c3a28ba1094633895dce80cc0c042ca7aaed831af41da42bd2 |
|
MD5 | a7b7a4088ffb857e342c7244fcdaa3d1 |
|
BLAKE2b-256 | 0ad0723f2a6eb78c7fc2226a5e24f74d3650e37914518caca67191f83d321241 |