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 their last modified date.


📚 Table of Contents


🚀 Features

  • ✅ Automatically organizes files into folders based on type:

    • Images, Documents, Videos, Music, Others
  • 📅 Optionally sort files by last modified date within each category

  • 📁 Optionally flatten subdirectories into a single level before sorting


🛠️ Installation

📦 PyPI

Install the package from PyPI:

pip install sortium

Alternatively, install from source:

# Clone the repository
git clone https://github.com/Sarthak-G0yal/Sortium.git
cd Sortium

# Install in editable mode
pip install -e .

🧪 Run Tests

To run unit tests with coverage:

pytest src/tests --cov

👤 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! 🎉

To contribute:

  1. Fork the repository
  2. Create a new branch (feature/my-feature or fix/my-fix)
  3. Write tests for your changes
  4. Commit with clear and conventional messages
  5. Open a pull request and describe your changes

✅ Please follow Conventional Commits and ensure your code is linted and tested before submitting.


📚 Documentation & Issues

This project uses Sphinx for documentation.

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.4.3.tar.gz (19.5 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.4.3-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file sortium-1.4.3.tar.gz.

File metadata

  • Download URL: sortium-1.4.3.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sortium-1.4.3.tar.gz
Algorithm Hash digest
SHA256 93d76d5b1baa8e09e0b3320266eb5181a202c5459e0ed2a0487a3f32aa7b58be
MD5 6e3b835c2ee9caf11dd0b4e9e737f903
BLAKE2b-256 2921774dbb231b587f46abfa3e9a52f5b30bce6742cd78e64f81f8a07e68bcc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for sortium-1.4.3.tar.gz:

Publisher: release.yaml on Sarthak-G0yal/Sortium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sortium-1.4.3-py3-none-any.whl.

File metadata

  • Download URL: sortium-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sortium-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3309c1b7e30e199862daed4095eeb03fc39bf4413d507d534244c3d6a8d3517e
MD5 9fb6b4e2808c02f78e712a009a83f355
BLAKE2b-256 5bc4eaa236d23b9aa225198a901080d5eda477c7f6408a2df700b5309ca17920

See more details on using hashes here.

Provenance

The following attestation bundles were made for sortium-1.4.3-py3-none-any.whl:

Publisher: release.yaml on Sarthak-G0yal/Sortium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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