mdinfo-exiftool


Namemdinfo-exiftool JSON
Version 0.1.1 PyPI version JSON
download
home_page
SummaryExiftool plugin for mdinfo
upload_time2023-03-19 04:56:17
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License
keywords exiftool mdinfo metadata cli plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
mdinfo-exiftool
===============

Plugin for `mdinfo <https://github.com/RhetTbull/mdinfo>`_ that provides a template interface to `exiftool <https://exiftool.org/>`_.

Synopsis
--------

.. code-block:: bash

   $ mdinfo -p "{exiftool:XMP:Title}" -p "{exiftool:Keywords}" *.jpeg
   flowers.jpeg: Zinia flowers in a field
   pears.jpeg: Pears on a tree fruit pears

Installation
------------

Requires `mdinfo <https://github.com/RhetTbull/mdinfo>`_ to be installed.

.. code-block:: bash

   pip install mdinfo
   pip install mdinfo-exiftool

Template Help
-------------

``{exiftool}``

Format: ``{exiftool:GROUP:TAGNAME}``; use exiftool (https://exiftool.org) to extract metadata, in form GROUP:TAGNAME or TAGNAME, from image. E.g. ``{exiftool:Make}`` to get camera make, or ``{exiftool:IPTC:Keywords}`` to extract keywords. See https://exiftool.org/TagNames/ for list of valid tag names.  Group name is optional (e.g. EXIF, IPTC, etc) but if specified, should be the same as used in ``exiftool -G``\ , e.g. ``{exiftool:EXIF:Make}``. exiftool must be installed in the path to use this template field (https://exiftool.org/).

The ``{exiftool}`` template uses the third-party exiftool app (https://exiftool.org) to extract metadata from photo and video files.

It must be used with one or more subfields which are exiftool tags, for example: ``{exiftool:EXIF:Make}`` for camera make,
or ``{exiftool:IPTC:Keywords}`` for keywords. The exiftool Group name (e.g. ``IPTC``\ ) is optional.

There are two derived subfields: ``created`` and ``modified`` which represent the created date or the modified date, respectively.
These subfields are datetime values and you can access the various attributes of the datetime by using an
attribute name following a period, e.g. ``{exiftool:created.year}`` for the 4-digit year.  This follows the conventions of mdinfo date/time fields.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mdinfo-exiftool",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "exiftool,mdinfo,metadata,cli,plugin",
    "author": "",
    "author_email": "Rhet Turnbull <rturnbull+git@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/3a/1c/1256c45fde28e914356f4498367b26d5663237d6432567d97f9594aac606/mdinfo-exiftool-0.1.1.tar.gz",
    "platform": null,
    "description": "\nmdinfo-exiftool\n===============\n\nPlugin for `mdinfo <https://github.com/RhetTbull/mdinfo>`_ that provides a template interface to `exiftool <https://exiftool.org/>`_.\n\nSynopsis\n--------\n\n.. code-block:: bash\n\n   $ mdinfo -p \"{exiftool:XMP:Title}\" -p \"{exiftool:Keywords}\" *.jpeg\n   flowers.jpeg: Zinia flowers in a field\n   pears.jpeg: Pears on a tree fruit pears\n\nInstallation\n------------\n\nRequires `mdinfo <https://github.com/RhetTbull/mdinfo>`_ to be installed.\n\n.. code-block:: bash\n\n   pip install mdinfo\n   pip install mdinfo-exiftool\n\nTemplate Help\n-------------\n\n``{exiftool}``\n\nFormat: ``{exiftool:GROUP:TAGNAME}``; use exiftool (https://exiftool.org) to extract metadata, in form GROUP:TAGNAME or TAGNAME, from image. E.g. ``{exiftool:Make}`` to get camera make, or ``{exiftool:IPTC:Keywords}`` to extract keywords. See https://exiftool.org/TagNames/ for list of valid tag names.  Group name is optional (e.g. EXIF, IPTC, etc) but if specified, should be the same as used in ``exiftool -G``\\ , e.g. ``{exiftool:EXIF:Make}``. exiftool must be installed in the path to use this template field (https://exiftool.org/).\n\nThe ``{exiftool}`` template uses the third-party exiftool app (https://exiftool.org) to extract metadata from photo and video files.\n\nIt must be used with one or more subfields which are exiftool tags, for example: ``{exiftool:EXIF:Make}`` for camera make,\nor ``{exiftool:IPTC:Keywords}`` for keywords. The exiftool Group name (e.g. ``IPTC``\\ ) is optional.\n\nThere are two derived subfields: ``created`` and ``modified`` which represent the created date or the modified date, respectively.\nThese subfields are datetime values and you can access the various attributes of the datetime by using an\nattribute name following a period, e.g. ``{exiftool:created.year}`` for the 4-digit year.  This follows the conventions of mdinfo date/time fields.\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Exiftool plugin for mdinfo",
    "version": "0.1.1",
    "split_keywords": [
        "exiftool",
        "mdinfo",
        "metadata",
        "cli",
        "plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15cae4668032d83f19078bcfbf2ec0e14bf3d802ed4a809885f64db86ba5bc81",
                "md5": "237f5bf8c74af9ab43cb3e669ccb140d",
                "sha256": "31c83c3256655e18a17fbba71bbb3f7a94dc709d8326e3169df496df5c1cf587"
            },
            "downloads": -1,
            "filename": "mdinfo_exiftool-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "237f5bf8c74af9ab43cb3e669ccb140d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 12923,
            "upload_time": "2023-03-19T04:56:00",
            "upload_time_iso_8601": "2023-03-19T04:56:00.011307Z",
            "url": "https://files.pythonhosted.org/packages/15/ca/e4668032d83f19078bcfbf2ec0e14bf3d802ed4a809885f64db86ba5bc81/mdinfo_exiftool-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a1c1256c45fde28e914356f4498367b26d5663237d6432567d97f9594aac606",
                "md5": "f28a05a06db73c78fca0585b13857d8b",
                "sha256": "c1241146ec1e7517ed5eadcbe08592aa2b210d7f210e7d3b6c0ca90f72f5ee52"
            },
            "downloads": -1,
            "filename": "mdinfo-exiftool-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f28a05a06db73c78fca0585b13857d8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 13949663,
            "upload_time": "2023-03-19T04:56:17",
            "upload_time_iso_8601": "2023-03-19T04:56:17.669498Z",
            "url": "https://files.pythonhosted.org/packages/3a/1c/1256c45fde28e914356f4498367b26d5663237d6432567d97f9594aac606/mdinfo-exiftool-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-19 04:56:17",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "mdinfo-exiftool"
}
        
Elapsed time: 0.04759s