Skip to main content

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:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Write tests for your changes.
  4. Commit your changes with clear messages.
  5. 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 running make 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

sortium-1.3.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sortium-1.3.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

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

Hashes for sortium-1.3.1.tar.gz
Algorithm Hash digest
SHA256 0af51f2364f5693c7c403d7ad96d396b7b83ba56cdc608599a9a009ef8bd139c
MD5 0e4e8bdd7adab777904cc9667aec97dc
BLAKE2b-256 e93a740ff21d9b2baccbc1313001f5f5d4a870ad76bd7559e57294e6887b0ada

See more details on using hashes here.

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

Hashes for sortium-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 113baadf335430ab6cf8c2c0904e9567112879c5e1a06060f0f3ffaffba419cf
MD5 b6bf31053e8ae0f35976eb9c8f9f96bd
BLAKE2b-256 0aa5ab3727abfe3f23a7edca1982f0c69782c2184a32bd08db4f5c2c4c6c027a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page