pic-chrono


Namepic-chrono JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/kondakoffer/PicChrono
SummaryA tool to automaticallly rename images to their respective date-time taken
upload_time2023-06-27 14:50:55
maintainer
docs_urlNone
authorValentin Ruben Kondakov
requires_python>=3.10,<4.0
licenseMIT
keywords metadata extraction date-time extraction file renaming pillow library media organization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PicChrono

[![License](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)
[![Code Style](https://img.shields.io/badge/Code%20Style-black-black.svg)](https://github.com/psf/black)
[![Coverage](./assets/badges/coverage.svg)](./assets/badges/coverage.svg)
[![Testing](https://img.shields.io/badge/Testing-PyTest-olive.svg)](https://docs.pytest.org/)


## Description
A python package helping you to archive your photos. It renames the photos based on the date and time they were taken.

## Prerequisites
Before you begin, ensure that you have the following prerequisites installed:

- Python (version 3.10 or higher), refer to [python's website](https://www.python.org) to install it.
- pip, refer to [pip's official documentation](https://pip.pypa.io/en/stable/installing/) to install it.

## Installation
Install the package using pip:
```bash
pip install pic-chrono
```
or 
```bash
pip install git+https://github.com/kondakoffer/PicChrono
```
It is recommended to use a virtual environment to install the package (see [here](https://docs.python.org/3/library/venv.html)).

## Usage
Once the package is installed, you can use it as a command line tool or as a python package.

### As command line tool
The intended usage is as command line tool. You can use it as follows:
```bash
PicChrono [OPTIONS] SOURCE_PATH [DESTINATION_DIR] [ERROR_DIR]  
```
- `SOURCE_PATH`: The path to the directory containing the photos you want to rename. You can also specify a single file by using its path.
- `DESTINATION_DIR`: The path to the directory where you want to save the renamed photos. If not specified, the photos will be stored in the current directory.
- `ERROR_DIR`: The path to the directory where you want to save the photos that could not be renamed. If not specified, the photos will be stored in the current directory.

#### Options
- `--help`: Show the help message and exit.
- `-v` or `--version`: Show the version number and exit.

### As python package
It is also possible to integrate the package into your own python code by using the typical python import statement:
```python
import pic_chrono
```
If you only want to use the functionalities with renaming the photos, you can import the `Rename` class:
```python
from pic_chrono.renamer import Rename
```

<!-- For an extended documentation of the package, please refer to ***ADD LINK TO DOCS***. -->

## Troubleshooting
If you encounter any issues or errors, here are a few troubleshooting tips:

- Double-check that package is installed correctly.
- Consult the project's documentation or issue [tracker](https://github.com/kondakoffer/PicChrono/issues) for common troubleshooting steps.
- If the issue persists, feel free to open a new issue [here](https://github.com/kondakoffer/PicChrono/issues).

## Contributing
Any contributions are welcome! 
Please follow the [contributing guidelines](CONTRIBUTING.md) and the [code of conduct](CODE_OF_CONDUCT.md).

## License
This project is licensed under the [MIT-LICENSE](LICENSE). 
Please review the license terms before using the project.
Since this project uses other packages, you must also agree and follow their license agreements. You can find the license agreements of the packages used in the [NOTICES.md](NOTICES.md) file.

## Acknowledgements
Since this project uses other software and packages, we would like to thank the authors of these for their work.
This includes [Poetry](https://python-poetry.org/), [Python](https://www.python.org/), [Pillow](https://python-pillow.org/), [Typer](https://typer.tiangolo.com/), [rich](https://github.com/Textualize/rich), [pytest](https://docs.pytest.org/), [pytest-cov](https://github.com/pytest-dev/pytest-cov), [black](https://github.com/psf/black), [coverage-badge](https://github.com/dbrgn/coverage-badge).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kondakoffer/PicChrono",
    "name": "pic-chrono",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "Metadata extraction,Date-time extraction,File renaming,Pillow library,Media organization",
    "author": "Valentin Ruben Kondakov",
    "author_email": "kondakov.valentin@icloud.com",
    "download_url": "https://files.pythonhosted.org/packages/99/87/bb89085790ab222dd92cdde68bc6b4279d010261fe8b0e548819e3fe4354/pic_chrono-1.0.0.tar.gz",
    "platform": null,
    "description": "# PicChrono\n\n[![License](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)\n[![Code Style](https://img.shields.io/badge/Code%20Style-black-black.svg)](https://github.com/psf/black)\n[![Coverage](./assets/badges/coverage.svg)](./assets/badges/coverage.svg)\n[![Testing](https://img.shields.io/badge/Testing-PyTest-olive.svg)](https://docs.pytest.org/)\n\n\n## Description\nA python package helping you to archive your photos. It renames the photos based on the date and time they were taken.\n\n## Prerequisites\nBefore you begin, ensure that you have the following prerequisites installed:\n\n- Python (version 3.10 or higher), refer to [python's website](https://www.python.org) to install it.\n- pip, refer to [pip's official documentation](https://pip.pypa.io/en/stable/installing/) to install it.\n\n## Installation\nInstall the package using pip:\n```bash\npip install pic-chrono\n```\nor \n```bash\npip install git+https://github.com/kondakoffer/PicChrono\n```\nIt is recommended to use a virtual environment to install the package (see [here](https://docs.python.org/3/library/venv.html)).\n\n## Usage\nOnce the package is installed, you can use it as a command line tool or as a python package.\n\n### As command line tool\nThe intended usage is as command line tool. You can use it as follows:\n```bash\nPicChrono [OPTIONS] SOURCE_PATH [DESTINATION_DIR] [ERROR_DIR]  \n```\n- `SOURCE_PATH`: The path to the directory containing the photos you want to rename. You can also specify a single file by using its path.\n- `DESTINATION_DIR`: The path to the directory where you want to save the renamed photos. If not specified, the photos will be stored in the current directory.\n- `ERROR_DIR`: The path to the directory where you want to save the photos that could not be renamed. If not specified, the photos will be stored in the current directory.\n\n#### Options\n- `--help`: Show the help message and exit.\n- `-v` or `--version`: Show the version number and exit.\n\n### As python package\nIt is also possible to integrate the package into your own python code by using the typical python import statement:\n```python\nimport pic_chrono\n```\nIf you only want to use the functionalities with renaming the photos, you can import the `Rename` class:\n```python\nfrom pic_chrono.renamer import Rename\n```\n\n<!-- For an extended documentation of the package, please refer to ***ADD LINK TO DOCS***. -->\n\n## Troubleshooting\nIf you encounter any issues or errors, here are a few troubleshooting tips:\n\n- Double-check that package is installed correctly.\n- Consult the project's documentation or issue [tracker](https://github.com/kondakoffer/PicChrono/issues) for common troubleshooting steps.\n- If the issue persists, feel free to open a new issue [here](https://github.com/kondakoffer/PicChrono/issues).\n\n## Contributing\nAny contributions are welcome! \nPlease follow the [contributing guidelines](CONTRIBUTING.md) and the [code of conduct](CODE_OF_CONDUCT.md).\n\n## License\nThis project is licensed under the [MIT-LICENSE](LICENSE). \nPlease review the license terms before using the project.\nSince this project uses other packages, you must also agree and follow their license agreements. You can find the license agreements of the packages used in the [NOTICES.md](NOTICES.md) file.\n\n## Acknowledgements\nSince this project uses other software and packages, we would like to thank the authors of these for their work.\nThis includes [Poetry](https://python-poetry.org/), [Python](https://www.python.org/), [Pillow](https://python-pillow.org/), [Typer](https://typer.tiangolo.com/), [rich](https://github.com/Textualize/rich), [pytest](https://docs.pytest.org/), [pytest-cov](https://github.com/pytest-dev/pytest-cov), [black](https://github.com/psf/black), [coverage-badge](https://github.com/dbrgn/coverage-badge).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A tool to automaticallly rename images to their respective date-time taken",
    "version": "1.0.0",
    "project_urls": {
        "Documentation": "https://github.com/kondakoffer/PicChrono",
        "Homepage": "https://github.com/kondakoffer/PicChrono",
        "Repository": "https://github.com/kondakoffer/PicChrono"
    },
    "split_keywords": [
        "metadata extraction",
        "date-time extraction",
        "file renaming",
        "pillow library",
        "media organization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e8cd43a25764e443a98762798da186ae711f521cf320a5774b1a4f9d490dbdf",
                "md5": "ae0b9fe9965fadd6ee4e06939408cdb0",
                "sha256": "347aba504fbc8f04b8228ea469c88590b179e53cfcc5c0be900dff4bbe972d53"
            },
            "downloads": -1,
            "filename": "pic_chrono-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ae0b9fe9965fadd6ee4e06939408cdb0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 6612,
            "upload_time": "2023-06-27T14:50:50",
            "upload_time_iso_8601": "2023-06-27T14:50:50.033768Z",
            "url": "https://files.pythonhosted.org/packages/2e/8c/d43a25764e443a98762798da186ae711f521cf320a5774b1a4f9d490dbdf/pic_chrono-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9987bb89085790ab222dd92cdde68bc6b4279d010261fe8b0e548819e3fe4354",
                "md5": "5ac317bd7371b9fb5c5a7389ffe8a5af",
                "sha256": "a452202a06ea8bf3b65abedb431b7e64b09f509a5848b2f8787d4d48b74da231"
            },
            "downloads": -1,
            "filename": "pic_chrono-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5ac317bd7371b9fb5c5a7389ffe8a5af",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 5536,
            "upload_time": "2023-06-27T14:50:55",
            "upload_time_iso_8601": "2023-06-27T14:50:55.618142Z",
            "url": "https://files.pythonhosted.org/packages/99/87/bb89085790ab222dd92cdde68bc6b4279d010261fe8b0e548819e3fe4354/pic_chrono-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-27 14:50:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kondakoffer",
    "github_project": "PicChrono",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pic-chrono"
}
        
Elapsed time: 9.06204s