Library for identifying file type
Project description
file-type-indentifier
Library for identifying file type
Examples
import asyncio
from fti import FileTypes, get_file_types, get_file_types_async
# sync
file_types = get_file_types("http://example.com/download_pdf")
FileTypes.PDF in file_types
# async
file_types = asyncio.run(
get_file_types_async("http://example.com/download_pdf")
)
FileTypes.PDF in file_types
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file file_type_identifier-0.2.4.tar.gz.
File metadata
- Download URL: file_type_identifier-0.2.4.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e8d3590b99614c0acb30564ad98e966a2ada0120bff4492e6b735caeb34e509
|
|
| MD5 |
439f115cdf706ecb1d5ae0a50f807e36
|
|
| BLAKE2b-256 |
23be220f71667a6240cb0eec0957c34f7680f15769ec089b3eb12fd265e39124
|
File details
Details for the file file_type_identifier-0.2.4-py3-none-any.whl.
File metadata
- Download URL: file_type_identifier-0.2.4-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4744404c701531f8f4bd0987408b8813e9b5f5183ce1a23d590c46fccb48632
|
|
| MD5 |
024091f6f623c6d5f0a80965ad44bde1
|
|
| BLAKE2b-256 |
009362a9c18129a41a43b4ed5a7d9ac7c4e5e7f157068517ffae7155e30e7024
|