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.4.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.4-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k3mime-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 71c5f11a2f12b8ab7a78aabbe5ea1452860aa7ca816fdd32caba8ed3e0e6a36d
MD5 8b0b3a63d978dc1af1f24ef2cc74ac4c
BLAKE2b-256 829d2510113de2ddb6fafc5d113ee2eb985a76b602f132b4cc5f3bc9cdbd8d69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k3mime-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b6f4f870aeeebaefbd0b8a7019c957ab2d7869790c172393a5b77a69c0a36e94
MD5 ff6b1e7aba4b7a21191eeda6969acbad
BLAKE2b-256 c4d5338a7dedf340da0adca0e2655f920b0d376e6e144cd92670c7bda70fc663

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