Utility functions for fuckjpeg
Project description
fuckjpeg
Renames .jpeg files to .jpg because I hate that file extension.
Usage
Usage: fuckjpeg [OPTIONS] PATH
Renames files with .jpeg to .jpg because fuck that.
You can supply a filename or a directory, and if it's a directory it'll do
all the files.
Options:
-o, --overwrite Ignore existing files and overwrite them.
-r, --recursive Set this and supply a path, recursively
apply the fun. Use with caution, obviously.
-l, --log-level [debug|info|warn]
Set logging level
--help Show this message and exit.
Version History
- 0.0.1 - Original release.
- 0.0.2 - Bumped version number after running black and updated readme.
- 0.0.3 - Fixed some logic errors and duplicate work, refuses to engage with mac *.photoslibrary dirs.
Development
Using flit for packaging, seems neat.
virtualenv venv
source venv/bin/activate
python3 -m pip install --upgrade pip flit
flit install --deps develop
flit build
Testing
mypy fuckjpeg
pylint fuckjpeg
python3 -m fuckjpeg -n -r -o -l debug ~/Downloads
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fuckjpeg-0.0.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for fuckjpeg-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d608831ca9c2e7c8bb483f6977db7724410d3302804c794f217d5fa785a00cfc |
|
MD5 | 0509ff87eb9ae63ab3de6bc4320d6845 |
|
BLAKE2b-256 | a9a218229853e21550a9d1d25c6ffdf5068d16bb3ce7e1aef8ae73703791d853 |