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
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
File details
Details for the file file_type_identifier-0.2.3.tar.gz
.
File metadata
- Download URL: file_type_identifier-0.2.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.2 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086fa0ac2ae38867a85149a79130ec91fa754f8a9c935ed6a607385889fab49a |
|
MD5 | 0d544a3aa9b95a158537f666420b5d53 |
|
BLAKE2b-256 | 2cb8e8a61bd5d4fbc4ca522b85ab1706aa1a7f65d6f7f47f4e7aa0ecf49919b1 |
File details
Details for the file file_type_identifier-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: file_type_identifier-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.2 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d2fe724c90d87ccb3c114d7fc4ec40aeea730246acfc6d9f0779a3d1a87c79 |
|
MD5 | 3b5e8995a4158842049850ab2f1f5f6c |
|
BLAKE2b-256 | d1d51d07c7e9928c8cec97aeaae126921922c33ded47c2955b9e2ef99a9f36d5 |