/rhinopics

Rhinopics, let the fat unicorn rename your pics!

Primary LanguagePythonMIT LicenseMIT

rhinopics

Rhinopics, let the fat unicorn rename your pics!

latest release Build Status Python36

Python CLI application to rename pictures.

The date of the pictures is retrieved from the metadata of the files and concatenate with a given word to create the new name.

Example of output: word_20190621_001

A number is added at the end in chronological order, the number of digits depends on the number of pictures having the same date or being in the folder.

Installation

pip install rhinopics

Usage example

Examples are available in the docstrings of the functions. Official documentation will soon come out, or not.

Development setup

Describe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.

git clone https://github.com/axelfahy/rhinopics.git
cd rhinopics
python -m venv venv-dev
source venv-dev/bin/activate
pip install -r requirements_dev.txt
pip install -e .

Tests

Soon to come.

python tests/test_rhinopics.py

Release History

  • 0.2.1
    • ADD: Default argument for the keyword is the name of the directory.
  • 0.2.0
    • ADD: Flag to modify the extension to lowercase.
    • ADD: Add support for video files.
    • ADD: Restructuration of project.
    • ADD: Progress bar when renaming the files.
    • ADD: Logger
  • 0.1.0
    • Initial release.

Meta

Axel Fahy – axel@fahy.net

Distributed under the MIT license. See LICENSE for more information.

https://github.com/axelfahy

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Version number

The version of the package is link to the tag pushed.

To set a new version:

git tag v0.1.1
git push --tags