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
Metadata
Release files for teletiffinfo 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| teletiffinfo-0.0.4.tar.gz | 3.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teletiffinfo-0.0.4-py3.6.egg | Legacy Egg format | - | - | Details |
| teletiffinfo-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / teletiffinfo-0.0.4.tar.gz
| Download URL | teletiffinfo-0.0.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
516475034e39455a3b293a9856e7edddaa3059f4fae520e91024962856a3c70d
|
|
BLAKE2b-256 checksum How to use checksums |
76602e00f22ccb1c5d47ffe3925d6947964b2be3b1703301ba885a0a3e5f8440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / teletiffinfo-0.0.4-py3.6.egg
| Download URL | teletiffinfo-0.0.4-py3.6.egg |
|---|---|
| Size | 6.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
3dccc102e8b1a80f21931ed7ae6faef8faad3b589b2e12f0dc8190213f58358b
|
|
BLAKE2b-256 checksum How to use checksums |
4a9bd1876fe28cb7350b8538b97f02d8b12d465d5a3b9a7dc8274d24698eac42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / teletiffinfo-0.0.4-py3-none-any.whl
| Download URL | teletiffinfo-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23564cb1630a3e57b3d0b7b776d010b69e0b0827230a8b96a35f49351b6d8239
|
|
BLAKE2b-256 checksum How to use checksums |
bd6759e7abc055a603265923766f5366c67a5e3f4c72f17343be285b3a366aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|