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.6-cp310-cp310-win_amd64.whl (15.9 kB view details)

Uploaded CPython 3.10Windows x86-64

File details

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

File metadata

File hashes

Hashes for image_utils_long-1.0.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f46e8bc7f322639687f8d3ee52c7927c2de641e5d3d14abb8f44629249eaccb4
MD5 8065b83b4b8899ead8d2794aefbd2f3d
BLAKE2b-256 0a7ec2ead9cdfbdb73b2d06030c7d534e16b60e0bc19a50cf6d063edf05072de

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