Skip to main content

txExiftool

https://travis-ci.org/znerol/txexiftool.svg?branch=master

Exiftool protocol and stream endpoint plugin to be used with twisted.

Usage

from twisted.internet import defer, endpoints, protocol, reactor
from txexiftool import ExiftoolProtocol

@defer.inlineCallbacks
def test():
    # Construct an exiftool endpoint. If the tool is installed in a custom
    # location, specify the path to the binary as the first argument. E.g.
    # 'exiftool:/path/to/exiftool'
    ep = endpoints.clientFromString(reactor, 'exiftool')

    # Instantiate the protocol by connecting to the endpoint
    f = protocol.Factory.forProtocol(ExiftoolProtocol)
    p = yield ep.connect(f)

    # Run commands and retrieve results.
    metadata = yield p.execute('-j', '/usr/share/pixmaps/gtkvim.png')
    print metadata

    # Disconnect
    yield p.loseConnection()

    reactor.stop()

reactor.callWhenRunning(test)
reactor.run()

License

The software is subject to the MIT license.

Metadata

Release files for txExiftool 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for txExiftool 0.1.3
File Size Uploaded Provenance Actions
txExiftool-0.1.3.tar.gz 4.4 kB Without provenance Details for txExiftool-0.1.3.tar.gz

Release files / txExiftool-0.1.3.tar.gz

Download URL txExiftool-0.1.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9d07bab5eb0cbfd559ef5035d61127fbff60110846f27ddd381abd81a6f9c42e
BLAKE2b-256 checksum
How to use checksums
675a2ba52db90233fbb23983c6b0f2656f22aed773184140d98cbb7a170e2aab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for txExiftool 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page