You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-47Lines changed: 61 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -30,57 +30,43 @@ SonarCloud:
30
30
31
31
# DevSetGo Common Library
32
32
33
-
## Introduction
34
-
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.
35
-
36
-
## Compatibility and Testing
37
-
-**Tested on**: Windows, Linux.
38
-
-**Compatibility**: Potentially compatible with MacOS (feedback on issues is appreciated).
39
-
40
-
## Library Functions
41
-
### Common Functions
42
-
-**File Functions**:
43
-
- CSV File Functions
44
-
- JSON File Functions
45
-
- Text File Functions
46
-
-**Folder Functions**:
47
-
- Make Directory
48
-
- Remove Directory
49
-
- Last File Changed
50
-
- Directory List
51
-
-**Calendar Functions**:
52
-
- Get Month
53
-
- Get Month Number
54
-
-**Patterns**:
55
-
- Pattern Between Two Characters
33
+
`devsetgo_lib` is a versatile library designed to provide common functions for Python applications. Its main goal is to increase reusability and reduce the need to rewrite the same functions across multiple applications. This also allows for quick defect resolution and propagation of fixes across all dependent projects.
34
+
35
+
## Key Features
36
+
37
+
-**File Operations**:
38
+
-**CSV, JSON, and Text File Functions**: Create, read, write, and manipulate various file types with ease.
39
+
-**Folder Functions**: Create and remove directories, list directory contents, and manage file system operations efficiently.
40
+
56
41
-**Logging**:
57
-
-Logging configurationand interceptor
42
+
-Comprehensive logging setup using the `loguru` library. Provides extensive customization options for log configuration, including log rotation, retention, and formatting.
58
43
59
-
### FastAPI Endpoints
60
-
-**Systems Health Endpoints**:
61
-
- Status/Health, Heapdump, Uptime
62
-
-**HTTP Codes**:
63
-
- Method to generate HTTP response codes
44
+
-**Calendar Functions**:
45
+
- Convert between month names and numbers seamlessly.
64
46
65
-
### Async Database
66
-
- Database Config
67
-
- Async Session
68
-
- CRUD Operations
47
+
-**Pattern Matching**:
48
+
- Powerful tools for searching patterns in text using regular expressions.
69
49
70
-
## Examples and Usage
71
-
Refer to the [Recipes Pages](https://devsetgo.github.io/devsetgo_lib/recipes/fastapi/)
50
+
-**FastAPI Endpoints**:
51
+
- Pre-built endpoints for system health checks, status, and uptime monitoring.
52
+
- Functions to generate HTTP response codes easily.
Contributions and feedback are highly appreciated. Please refer to our [Contribution Guidelines](https://github.com/devsetgo/devsetgo_lib/blob/main/CONTRIBUTING.md).
83
+
Here's a quick example to demonstrate how you can use some of the key features of `devsetgo_lib`:
84
+
85
+
```python
86
+
from devsetgo_lib import file_functions, logging_config, patterns, calendar_functions
For detailed documentation on each module and function, please refer to the [official documentation](https://devsetgo.github.io/devsetgo_lib/print_page/).
109
+
110
+
## Contributing
111
+
112
+
We welcome contributions! Please see our [contributing guidelines](CONTRIBUTING.md) for more details.
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.
36
-
37
-
## Compatibility and Testing
38
-
-**Tested on**: Windows, Linux.
39
-
-**Compatibility**: Potentially compatible with MacOS (feedback on issues is appreciated).
40
-
41
-
## Library Functions
42
-
### Common Functions
43
-
-**File Functions**:
44
-
- CSV File Functions
45
-
- JSON File Functions
46
-
- Text File Functions
47
-
-**Folder Functions**:
48
-
- Make Directory
49
-
- Remove Directory
50
-
- Last File Changed
51
-
- Directory List
52
-
-**Calendar Functions**:
53
-
- Get Month
54
-
- Get Month Number
55
-
-**Patterns**:
56
-
- Pattern Between Two Characters
33
+
`devsetgo_lib` is a versatile library designed to provide common functions for Python applications. Its main goal is to increase reusability and reduce the need to rewrite the same functions across multiple applications. This also allows for quick defect resolution and propagation of fixes across all dependent projects.
34
+
35
+
## Key Features
36
+
37
+
-**File Operations**:
38
+
-**CSV, JSON, and Text File Functions**: Create, read, write, and manipulate various file types with ease.
39
+
-**Folder Functions**: Create and remove directories, list directory contents, and manage file system operations efficiently.
40
+
57
41
-**Logging**:
58
-
-Logging configurationand interceptor
42
+
-Comprehensive logging setup using the `loguru` library. Provides extensive customization options for log configuration, including log rotation, retention, and formatting.
59
43
60
-
### FastAPI Endpoints
61
-
-**Systems Health Endpoints**:
62
-
- Status/Health, Heapdump, Uptime
63
-
-**HTTP Codes**:
64
-
- Method to generate HTTP response codes
44
+
-**Calendar Functions**:
45
+
- Convert between month names and numbers seamlessly.
65
46
66
-
### Async Database
67
-
- Database Config
68
-
- Async Session
69
-
- CRUD Operations
47
+
-**Pattern Matching**:
48
+
- Powerful tools for searching patterns in text using regular expressions.
70
49
71
-
## Examples and Usage
72
-
Refer to the [Recipes Pages](https://devsetgo.github.io/devsetgo_lib/recipes/fastapi/)
50
+
-**FastAPI Endpoints**:
51
+
- Pre-built endpoints for system health checks, status, and uptime monitoring.
52
+
- Functions to generate HTTP response codes easily.
Contributions and feedback are highly appreciated. Please refer to our [Contribution Guidelines](https://github.com/devsetgo/devsetgo_lib/blob/main/CONTRIBUTING.md).
83
+
Here's a quick example to demonstrate how you can use some of the key features of `devsetgo_lib`:
84
+
85
+
```python
86
+
from devsetgo_lib import file_functions, logging_config, patterns, calendar_functions
For detailed documentation on each module and function, please refer to the [official documentation](https://devsetgo.github.io/devsetgo_lib/print_page/).
109
+
110
+
## Contributing
111
+
112
+
We welcome contributions! Please see our [contributing guidelines](CONTRIBUTING.md) for more details.
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
117
+
118
+
## Contact
119
+
120
+
For any questions or issues, please open an issue on GitHub or contact us at [devsetgo@example.com](mailto:devsetgo@example.com).
121
+
122
+
---
105
123
106
-
## Further Documentation
107
-
For more detailed information, visit [LINK_TO_DETAILED_DOCUMENTATION](https://devsetgo.github.io/devsetgo_lib/).
124
+
This updated README provides a clear and concise overview of the library's capabilities and how to get started with it. Feel free to adjust the example code and other details as needed to better fit your library's specific features.
0 commit comments