Skip to main content

A utility to sort files by type and date.

Project description

Sortium

Sortium is a Python utility that automatically organizes files in a directory based on their type (e.g., Images, Documents, Videos, etc.) and optionally by their last modified date.


Table of Contents


Features

  • Automatically organizes files into folders by type:
    • Images, Documents, Videos, Music, Others
  • Optional sorting by last modified date within each category
  • Optional flattening of subdirectories into a single level before sorting

Installation

PyPI

To install from PyPI:

pip install sortium

To install from source:

git clone https://github.com/Sarthak-G0yal/Sortium.git
cd Sortium
pip install -e .

Running Tests

To run the test suite with coverage reporting:

pytest src/tests --cov=src/sortium

Refer to the Test Suite README for test structure and guidelines.


Author

Sarthak Goyal Email: sarthakgoyal487@gmail.com


License

This project is licensed under the GNU General Public License v3.0.


Contributing

Contributions are welcome.

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, conventional messages
  5. Open a pull request with a description of your changes

Please follow the Conventional Commits specification. Ensure all code is linted and tested before submitting.


Documentation and Issues

This project uses Sphinx for documentation.

  • To build the documentation locally:

    cd docs
    make html
    

    View the generated files at docs/_build/html/index.html.

  • Online documentation: View Documentation

  • For issues and feature requests: Open an issue


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.5.0.tar.gz (22.2 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.5.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sortium-1.5.0.tar.gz
Algorithm Hash digest
SHA256 afa27e9746901ad387f2c72fed619661df0e8c4baf20b9f88bceb97ae49ccedd
MD5 f10e61e4b03fc8a9ac9e609b6c51ac79
BLAKE2b-256 a8ffdba39d0cd32def3fe680c59a9baf2d8c1dec417cf89331bfdc23fe9c7656

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sortium-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 24.6 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b9f1b568dbbaa0ae8d56a4b94e450f9fed4423ea635faf9be7c1316caca64ce
MD5 1e0cc997aca5c134ecc7ea882f39fabd
BLAKE2b-256 2c192c5677ebbfc69cb6e52f5014e0654f1add12ac9d280bc0b6b5122129e5cf

See more details on using hashes here.

Provenance

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