Skip to main content

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

Metadata

Release files for file-type-identifier 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for file-type-identifier 0.3.0
File Size Uploaded Provenance Actions
file_type_identifier-0.3.0.tar.gz 6.1 kB Without provenance Details for file_type_identifier-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for file-type-identifier 0.3.0
File Interpreter ABI Platform Actions
file_type_identifier-0.3.0-py3-none-any.whl Python 3 none any Details for file_type_identifier-0.3.0-py3-none-any.whl

Total release size: 13.7 kB

Release files / file_type_identifier-0.3.0.tar.gz

Download URL file_type_identifier-0.3.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f8adbf8c0d82a65c0a9e85217bc53ea61a01b99bd9ab1fb04eda81aa71625b2a
BLAKE2b-256 checksum
How to use checksums
65fdcc26b4df2fbaa1c5e7aeca1a886f91c64a7259f5252050fe4271afa41f8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.10.2 Linux/7.0.0-1017-azure

Release files / file_type_identifier-0.3.0-py3-none-any.whl

Download URL file_type_identifier-0.3.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8fb11c5a47f0993dc376660a1eb516ef8053f10a343cbd7f704e3c136fc89fa
BLAKE2b-256 checksum
How to use checksums
726d1bc1d48ad185321e2d639638aeaf1d45eaab7419a13b8c6ca6ac4533cc32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.10.2 Linux/7.0.0-1017-azure

Security for file-type-identifier 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page