Skip to main content

Fetch metadata from remote (https) tiff.

Project description

teletiffinfo

Read metadata of remote TIFF according to TIFF6 spec (currently only reads width and height.)

Requirements

server must support RANGE request.

Why?

For large TIFF files, it is often not feasible to download the full TIFF file in order to access the metadata.

Installation

  • via pip
pip install teletiffinfo

Usage

from teletiffinfo import try_tiff
try_tiff("https://file-examples-com.github.io/uploads/2017/10/file_example_TIFF_10MB.tiff") # returns (1950, 1301)

One could also add any custom header

from teletiffinfo import try_tiff
try_tiff("https://my.example.com/protected_tiff.tiff", {
    "Authorization": "Bearer ey..."
})

License

MIT

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

teletiffinfo-0.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distributions

teletiffinfo-0.0.4-py3.6.egg (6.5 kB view details)

Uploaded Source

teletiffinfo-0.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file teletiffinfo-0.0.4.tar.gz.

File metadata

  • Download URL: teletiffinfo-0.0.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for teletiffinfo-0.0.4.tar.gz
Algorithm Hash digest
SHA256 516475034e39455a3b293a9856e7edddaa3059f4fae520e91024962856a3c70d
MD5 9c73522b80cdd136073970edf2c02089
BLAKE2b-256 76602e00f22ccb1c5d47ffe3925d6947964b2be3b1703301ba885a0a3e5f8440

See more details on using hashes here.

File details

Details for the file teletiffinfo-0.0.4-py3.6.egg.

File metadata

  • Download URL: teletiffinfo-0.0.4-py3.6.egg
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for teletiffinfo-0.0.4-py3.6.egg
Algorithm Hash digest
SHA256 3dccc102e8b1a80f21931ed7ae6faef8faad3b589b2e12f0dc8190213f58358b
MD5 cf657307f63baf8880b5a3c2a30fccc5
BLAKE2b-256 4a9bd1876fe28cb7350b8538b97f02d8b12d465d5a3b9a7dc8274d24698eac42

See more details on using hashes here.

File details

Details for the file teletiffinfo-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: teletiffinfo-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for teletiffinfo-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 23564cb1630a3e57b3d0b7b776d010b69e0b0827230a8b96a35f49351b6d8239
MD5 3ef785d43bf5707537c889e2e4a39b78
BLAKE2b-256 bd6759e7abc055a603265923766f5366c67a5e3f4c72f17343be285b3a366aa6

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