Skip to main content

Utility functions for fuckjpeg

Reason this release was yanked:

Possible to nuke Apple photo libraries, no good.

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.

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


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.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

fuckjpeg-0.0.2-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fuckjpeg-0.0.2.tar.gz.

File metadata

  • Download URL: fuckjpeg-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for fuckjpeg-0.0.2.tar.gz
Algorithm Hash digest
SHA256 74bb08170ce94972287d645e6d43ebee47f28db7908067578d74330b393f3d0f
MD5 875b2978078d0f593a09176e902d0b39
BLAKE2b-256 03fa58f510962032bfc349e06975a7d06f31d68b1684dd3abd2c440372b5b117

See more details on using hashes here.

File details

Details for the file fuckjpeg-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: fuckjpeg-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for fuckjpeg-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cf514bb94ce5158aa4743e5274b9abad1ac9d5c3c162240e035833aa2d187c31
MD5 0972d250fbcb7b0f2cce8446450d8593
BLAKE2b-256 42223e17b991104aa07fd19713e03dc51ee7235af345c4e6a890609c08188f03

See more details on using hashes here.

Supported by

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