Skip to main content

MIME type detection by filename

Project description

k3mime

Action-CI Build Status Documentation Status Package

This module provide some util methods to handle mime type.

k3mime is a component of pykit3 project: a python3 toolkit set.

Table of Content

Name

k3mime

Status

The library is considered production ready.

Install

pip install k3mime

Synopsis

import k3mime

print(k3mime.get_by_filename('file.json'))
#  application/json

Author

Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com

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

k3mime-0.1.5.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

k3mime-0.1.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file k3mime-0.1.5.tar.gz.

File metadata

  • Download URL: k3mime-0.1.5.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for k3mime-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f6d9f7e51c2d34bccd0574e0e5558370eca4b6df9cd0c75a6cb5b3bc118ac06b
MD5 e8c28eecd857bd808ae6a284ad82f311
BLAKE2b-256 8b602c6d995c3414486395c55e85db2c4ba1285246fe7317ed4970e7a2c9bfe5

See more details on using hashes here.

File details

Details for the file k3mime-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: k3mime-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for k3mime-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 03dcc26bb2eccc8f8f7c464ea7fdbd6d62580fc1c85f60bf0112bd3a5348b4a1
MD5 febb18d0c596cd699566102f5dd87d70
BLAKE2b-256 d8d4a226195282df40af2f0fd3c077375fb93869d81009b62e9759ac1b0e358a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page