Metadata-Version: 2.1
Name: file-type-identifier
Version: 0.1.3
Summary: Library for identifying file type
License: MIT
Author: Kurbanov Bulat
Author-email: b.kurbanov@speechki.org
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: httpx
Description-Content-Type: text/markdown

# 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
```
