Name | utility-toolkit JSON |
Version |
0.2.2
JSON |
| download |
home_page | None |
Summary | A comprehensive toolkit for AWS operations, database handling, and general utilities. |
upload_time | 2025-01-17 16:57:33 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
tools_box
tools
utilities
toolkit
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Utility Toolkit
Utility Toolkit is a comprehensive Python package that provides a collection of tools for AWS operations, database handling (PostgreSQL and SQLite), and general utility functions.
## Installation
You can install Utility Toolkit using pip:
``` cmd
pip install utility_toolkit
```
## Features
- AWS Tools: Functions for interacting with various AWS services
- PostgreSQL Handler: Easy-to-use interface for PostgreSQL database operations
- SQLite Handler: Simplified SQLite database management
- General Tools: A collection of utility functions for common tasks
## Changes and What's New
- **Version 0.2.2** (Date: 2025-01-17)
- Fix issue in postgresql handler
- Enhance functions in general tools.
- **Version 0.2.1** (Date: 2024-10-21)
- Fix import issue.
- **Version 0.2.0** (Date: 2024-10-21)
- Remove log decoration to let user log as needed.
- **Version 0.1.9** (Date: 2024-10-11)
- Improved logs.
- add more functions to global_tools.
- add sonarqube to the project.
- **Version 0.1.8** (Date: 2024-10-04)
- Improved error handling in PostgreSQL and SQLite handlers.
- Introduced new utility functions for dynamodb handler.
- Enhance logging capabilities for better debugging.
- Performance optimizations and bug fixes.
## Usage
Here are some quick examples of how to use Utility Toolkit:
```
python from utility_toolkit import aws_tools, postgresql_handler, sqlite_handler, general_tools
# AWS example
s3_content = aws_tools.get_s3_file_content('s3://my-bucket/my-file.txt')
# PostgreSQL example
with postgresql_handler.PostgreSQLConnection('my_db', 'user', 'password', 'localhost') as conn: results = conn.execute_query('SELECT * FROM my_table')
# SQLite example
with sqlite_handler.SQLiteConnection('my_database.db') as conn: conn.execute_query('CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT)')
# General tools example
general_tools.create_directory_if_not_exists('my_new_directory')
```
For more detailed usage instructions, please refer to the documentation.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
```
6. **Choose a License**
Choose an appropriate license (e.g., MIT License) and add it to the LICENSE file.
7. **Create .gitignore**
Create a `.gitignore` file in the root directory:
```
__pycache__/
*.py[cod]
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
.venv/
```
Raw data
{
"_id": null,
"home_page": null,
"name": "utility-toolkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "tools_box, tools, utilities, toolkit",
"author": null,
"author_email": "Eslam Hasanen <Eslamspot@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/45/60/c8a5a9de2f8998e6e00b732c90428fc4a44e81beb63766dfde2c12dc9e46/utility_toolkit-0.2.2.tar.gz",
"platform": null,
"description": "# Utility Toolkit\n\nUtility Toolkit is a comprehensive Python package that provides a collection of tools for AWS operations, database handling (PostgreSQL and SQLite), and general utility functions.\n\n## Installation\n\nYou can install Utility Toolkit using pip:\n``` cmd\npip install utility_toolkit\n```\n\n## Features\n\n- AWS Tools: Functions for interacting with various AWS services\n- PostgreSQL Handler: Easy-to-use interface for PostgreSQL database operations\n- SQLite Handler: Simplified SQLite database management\n- General Tools: A collection of utility functions for common tasks\n\n## Changes and What's New\n\n- **Version 0.2.2** (Date: 2025-01-17)\n - Fix issue in postgresql handler\n - Enhance functions in general tools.\n\n- **Version 0.2.1** (Date: 2024-10-21)\n - Fix import issue.\n\n- **Version 0.2.0** (Date: 2024-10-21)\n - Remove log decoration to let user log as needed.\n\n- **Version 0.1.9** (Date: 2024-10-11)\n - Improved logs.\n - add more functions to global_tools.\n - add sonarqube to the project.\n\n- **Version 0.1.8** (Date: 2024-10-04)\n - Improved error handling in PostgreSQL and SQLite handlers.\n - Introduced new utility functions for dynamodb handler.\n - Enhance logging capabilities for better debugging.\n - Performance optimizations and bug fixes.\n\n## Usage\n\nHere are some quick examples of how to use Utility Toolkit:\n\n\n```\n\npython from utility_toolkit import aws_tools, postgresql_handler, sqlite_handler, general_tools\n\n# AWS example\n\ns3_content = aws_tools.get_s3_file_content('s3://my-bucket/my-file.txt')\n\n# PostgreSQL example\n\nwith postgresql_handler.PostgreSQLConnection('my_db', 'user', 'password', 'localhost') as conn: results = conn.execute_query('SELECT * FROM my_table')\n\n# SQLite example\n\nwith sqlite_handler.SQLiteConnection('my_database.db') as conn: conn.execute_query('CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT)')\n\n# General tools example\n\ngeneral_tools.create_directory_if_not_exists('my_new_directory')\n\n```\n\nFor more detailed usage instructions, please refer to the documentation.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n```\n\n6. **Choose a License**\n\nChoose an appropriate license (e.g., MIT License) and add it to the LICENSE file.\n\n7. **Create .gitignore**\n\nCreate a `.gitignore` file in the root directory:\n\n```\n__pycache__/\n*.py[cod]\n*.so\n.Python\nbuild/\ndevelop-eggs/\ndist/\ndownloads/\neggs/\n.eggs/\nlib/\nlib64/\nparts/\nsdist/\nvar/\nwheels/\n*.egg-info/\n.installed.cfg\n*.egg\n.venv/\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A comprehensive toolkit for AWS operations, database handling, and general utilities.",
"version": "0.2.2",
"project_urls": {
"Bug Tracker": "https://github.com/eslamspot/utility_toolkit/issues",
"Homepage": "https://www.idealisticsolutions.com"
},
"split_keywords": [
"tools_box",
" tools",
" utilities",
" toolkit"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f58f2de7dc78ab644db68437e166c29e2419749da9500f884e0acacf31a4a6d7",
"md5": "9f9c2bb8c2d59592bc527d2e1f76ad6d",
"sha256": "2cf6795ef0d69c47b9541cae6dcae469fc69826d763086d580b95c868ab34f69"
},
"downloads": -1,
"filename": "utility_toolkit-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f9c2bb8c2d59592bc527d2e1f76ad6d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 37050,
"upload_time": "2025-01-17T16:57:32",
"upload_time_iso_8601": "2025-01-17T16:57:32.127986Z",
"url": "https://files.pythonhosted.org/packages/f5/8f/2de7dc78ab644db68437e166c29e2419749da9500f884e0acacf31a4a6d7/utility_toolkit-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4560c8a5a9de2f8998e6e00b732c90428fc4a44e81beb63766dfde2c12dc9e46",
"md5": "e80018f3c188fe5bf2ed152ea1e1fb37",
"sha256": "0366ed53f80f34e32777ba89562ce290258ff85dee1b3d5dfa8605149680baf6"
},
"downloads": -1,
"filename": "utility_toolkit-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "e80018f3c188fe5bf2ed152ea1e1fb37",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 35986,
"upload_time": "2025-01-17T16:57:33",
"upload_time_iso_8601": "2025-01-17T16:57:33.835833Z",
"url": "https://files.pythonhosted.org/packages/45/60/c8a5a9de2f8998e6e00b732c90428fc4a44e81beb63766dfde2c12dc9e46/utility_toolkit-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-17 16:57:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eslamspot",
"github_project": "utility_toolkit",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "utility-toolkit"
}