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.3.tar.gz (3.8 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.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k3mime-0.1.3.tar.gz
  • Upload date:
  • Size: 3.8 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.3.tar.gz
Algorithm Hash digest
SHA256 dca82099775f6564c82f8955266c5853e0b85176adc211363b07bb4e1684fb7a
MD5 d6b5b1efeb28c5763e731feabf064d4e
BLAKE2b-256 653c4a62f447da53e0f632385e5c37f10557a0ec037a2afc3fa759daa109ca58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k3mime-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7e9bec2eff214105560c35057174667fe4675f8ffb83a267ff828c0355fb8f94
MD5 24e610e00a166ab2daccd94f65450949
BLAKE2b-256 1b6daaa973dd30df797ae64a7776eebbca7f39fdc921dd2565a4edb6a2a41248

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