# File Management Utility
This Python script provides a utility to find and optionally delete files based on their suffixes in specified directories. It uses `os`, `glob`, and `colorama` modules for file management and terminal text coloring.
---
## Features
1. **Find Files**
- Search for files with specific suffixes in multiple directories.
- Display the file names along with their sizes in a formatted and colorized output.
2. **Delete Files**
- Delete files with specific suffixes in multiple directories.
- Provides confirmation messages after successful deletion.
---
## Requirements
- Python 3.6 or later
- Install the `colorama` library for colorized terminal output:
```bash
pip install colorama
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/myfirstpkg",
"name": "myfirstpkg2412",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "lys",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/c4/33/1558f15ab3fa01c989e4063a1402c9f84d875c8df04090d17264e43a8994/myfirstpkg2412-0.1.1.tar.gz",
"platform": null,
"description": "# File Management Utility\n\nThis Python script provides a utility to find and optionally delete files based on their suffixes in specified directories. It uses `os`, `glob`, and `colorama` modules for file management and terminal text coloring.\n\n---\n\n## Features\n\n1. **Find Files** \n - Search for files with specific suffixes in multiple directories.\n - Display the file names along with their sizes in a formatted and colorized output.\n\n2. **Delete Files** \n - Delete files with specific suffixes in multiple directories.\n - Provides confirmation messages after successful deletion.\n\n---\n\n## Requirements\n\n- Python 3.6 or later\n- Install the `colorama` library for colorized terminal output:\n ```bash\n pip install colorama\n",
"bugtrack_url": null,
"license": null,
"summary": "A sample Python package hhhhh 2024\u5e7412\u670807\u65e521:48:15",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/yourusername/myfirstpkg"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "31fb77e00fa18f86b4f08ace7c9fe79d745bcba49e28df44108ec03790acaf97",
"md5": "f925e0f9ed3c344dbd51f3294cf1ee41",
"sha256": "d3198582472dc406b5336f57fc0e320745a9b1531b794a1284dd9af59e180328"
},
"downloads": -1,
"filename": "myfirstpkg2412-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f925e0f9ed3c344dbd51f3294cf1ee41",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2749,
"upload_time": "2024-12-07T13:52:21",
"upload_time_iso_8601": "2024-12-07T13:52:21.255596Z",
"url": "https://files.pythonhosted.org/packages/31/fb/77e00fa18f86b4f08ace7c9fe79d745bcba49e28df44108ec03790acaf97/myfirstpkg2412-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c4331558f15ab3fa01c989e4063a1402c9f84d875c8df04090d17264e43a8994",
"md5": "849da14f3b2ea035bc4439819f6ec3ba",
"sha256": "0f821c4ce0c108f32f69d4b095af5693465cf9f9cdef2cda51624c0569ec7843"
},
"downloads": -1,
"filename": "myfirstpkg2412-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "849da14f3b2ea035bc4439819f6ec3ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2803,
"upload_time": "2024-12-07T13:52:23",
"upload_time_iso_8601": "2024-12-07T13:52:23.107900Z",
"url": "https://files.pythonhosted.org/packages/c4/33/1558f15ab3fa01c989e4063a1402c9f84d875c8df04090d17264e43a8994/myfirstpkg2412-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-07 13:52:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "myfirstpkg",
"github_not_found": true,
"lcname": "myfirstpkg2412"
}