Skip to main content

Automatically organizes images by aspect ratio.

Project description

PyImgSort is a simple utility that automatically organizes a directory of image files into subdirectories by their aspect ratio. Its intended use is the sorting of large ‘wallpaper’ directories.:

----------
ON *NIX
----------

$ pyimgsort

OR

$ pyimgsort /optional/absolutely/path/to/directory

OR

$ python /path/to/pyimgsort.py /optional/absolute/path/to/directory

OR

$ python /path/to/pyimgsort.py
>>> Enter a directory you'd like to sort: absolute/path/to/directory

-----------
ON WINDOWS:
-----------

Open a command prompt and type:

C:\path\to\python.exe C:\path\to\pyimgsortgui.py

OR

C:\path\to\python.exe C:\path\to\pyimgsort.py

(Or just double-click on whichever script)

Requirements:

Installation:

  • In Unix: Unpack the tarball, open a terminal, navigate to the directory in which you unpacked the tarball, and type (as admin, i.e., “su” or “sudo”) python setup.py install

  • In Windows, just run the .exe as normal. The script will be installed to C:\Pythondir\Lib\site-packages

Notes

I’m very new to Python.

This is an ugly, barely-functional script. It’s not really meant for general consumption, but you’re more than welcome to use it if you think you can get some use out of it. For that matter, you’re also more than welcome to modify it, copy it, distribute it (free of charge), etc. to your heart’s content.

Author

  • x.seeks (x -dot- seeks _at_ gmail -dot- com)

Thanks also to

From the Penny Arcade forums (http://forums.penny-arcade.com)

MKR

quietjay

End

JHunz

For fixing my broken code.

License

GPL version 3. See LICENSE.txt for more info.

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

PyImgSort-0.1.6.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

PyImgSort-0.1.6.linux-x86_64.exe (90.9 kB view details)

Uploaded Source

File details

Details for the file PyImgSort-0.1.6.tar.gz.

File metadata

  • Download URL: PyImgSort-0.1.6.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyImgSort-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5877da3eb4b22170ab9e547d99c95a9d1e7b8a163c219170331c6b569a5dce42
MD5 ef05ed1c109e1230d3ad3d1cb093bb86
BLAKE2b-256 2ef8d164f6b6bace1eac298583cbecc8a05021ffc9c9cf4b28587fc5bfbd5eae

See more details on using hashes here.

File details

Details for the file PyImgSort-0.1.6.linux-x86_64.exe.

File metadata

File hashes

Hashes for PyImgSort-0.1.6.linux-x86_64.exe
Algorithm Hash digest
SHA256 e1944f7bd0989ee6d9af3b1226b0218d2a1dc62fc0eb305f46eb7f0f69980994
MD5 a2ae287e269a49157674ee66f56871e2
BLAKE2b-256 4eb10ae2e12a2e6b86e29beff73ab72455493753a67fbf9ae3c9f72912d5ccf2

See more details on using hashes here.

Supported by

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