A utility to sort files by type and date.
Project description
🗂️ Sortium
A Python utility to automatically sort files in a folder by their type (e.g., Images, Documents, Videos, etc.) and by their last modified date.
📚 Table of Contents
🚀 Features
- ✅ Organize files into folders based on their type (e.g., Images, Documents, Videos, Music, Others)
- 📅 Optionally further sort files by their last modified date within each category
- 📁 Optionally flatten subdirectories into a single folder
🛠️ Installation
# Clone the repository
git clone https://github.com/Sarthak-G0yal/SortPy.git
cd SortPy
# Install in editable mode
pip install -e .
🧪 Run Tests
pytest src/tests --cov=src/Structa
👤 Author
Sarthak Goyal 📧 sarthakgoyal487@gmail.com
📄 License
This project is licensed under the GNU General Public License v3.0.
🤝 Contributing
Contributions are welcome and appreciated! 🎉
If you'd like to improve this project, here's how to get started:
- Fork the repository.
- Create a new branch for your feature or fix.
- Write tests for your changes.
- Commit your changes with clear messages.
- Open a pull request and describe what you’ve changed.
Please follow conventional commit guidelines and ensure your code is linted and tested before submitting.
📚 Documentation & Issues
This project is documented using Sphinx.
-
📖 Documentation: Full documentation can be viewed in the HTML version in
_build/html/after runningmake html. -
🐛 Report Bugs / Request Features: Open an Issue
📦 PyPI (Coming Soon)
This project is not yet available on PyPI, but you can install it locally:
git clone https://github.com/Sarthak-G0yal/SortPy.git
cd SortPy
pip install -e .
Once published, you’ll be able to install it with:
pip install sortpy
Stay tuned for updates! 🚀
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sortium-1.3.1.tar.gz.
File metadata
- Download URL: sortium-1.3.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0af51f2364f5693c7c403d7ad96d396b7b83ba56cdc608599a9a009ef8bd139c
|
|
| MD5 |
0e4e8bdd7adab777904cc9667aec97dc
|
|
| BLAKE2b-256 |
e93a740ff21d9b2baccbc1313001f5f5d4a870ad76bd7559e57294e6887b0ada
|
File details
Details for the file sortium-1.3.1-py3-none-any.whl.
File metadata
- Download URL: sortium-1.3.1-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
113baadf335430ab6cf8c2c0904e9567112879c5e1a06060f0f3ffaffba419cf
|
|
| MD5 |
b6bf31053e8ae0f35976eb9c8f9f96bd
|
|
| BLAKE2b-256 |
0aa5ab3727abfe3f23a7edca1982f0c69782c2184a32bd08db4f5c2c4c6c027a
|