Skip to main content

Python logging handler for Grafana Loki.

Project description

简单描述

import time

print(time.time())

asdfasdf

import mimetypes

# 加载自定义配置文件
custom_mime = mimetypes.MimeTypes(["my_mime.types"])

# 识别配置文件中的类型
print(custom_mime.guess_type("README.md"))  # 输出:('text/markdown', None)
print(custom_mime.guess_type("config.yaml"))  # 输出:('application/x-yaml', None)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

image_utils_long-1.0.8-cp310-cp310-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.10Windows x86-64

File details

Details for the file image_utils_long-1.0.8-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for image_utils_long-1.0.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7b35620779930431614f4798b15bec7d9cd58901f7c51e11d1cde745d47c69df
MD5 0eb57c587599976806ba72a578e8b795
BLAKE2b-256 ff857a6fe27562c949c8478f52133212e04a39d8844848310f33cd0909b2ec06

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