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.2.tar.gz (19.0 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.2-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sortium-1.4.2.tar.gz
  • Upload date:
  • Size: 19.0 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.2.tar.gz
Algorithm Hash digest
SHA256 09bc3e78c9098f7e41716dc735ca75eae78b58e706bd39f09cc511346cbafd1c
MD5 789e460225a2fe36095bda78a7ec906b
BLAKE2b-256 c2ed45d219459cf3f076ddfac196888631c18990dc9026cbabb0acadf442127f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sortium-1.4.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: sortium-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 20.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5c972571d4ffc606a12b3d42786f0cf6adb37c33683189fd3e7dd37c5b7af482
MD5 4e0a3599157dbcec9b2690bba91879a0
BLAKE2b-256 40b9d7857077aa81125b7240343e1cf03fe8a6db6c2b9ba9ce56f114b495afd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sortium-1.4.2-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