Skip to main content

用于离线查找地球上任何点(坐标)的时区的快速python包

项目描述

https://github.com/jannikmi/timezonefinder/actions/workflows/build.yml/badge.svg?branch=master 文件状态 https://img.shields.io/pypi/wheel/timezonefinder.svg 预提交 PyPI 总下载量 PyPI 的最新版本 conda-forge 上的最新版本 https://img.shields.io/badge/code%20style-black-000000.svg

这是一个快速且轻量级的 python 包,用于完全离线查找地球上给定坐标的相应时区。

快速指南:

pip install timezonefinder
from timezonefinder import TimezoneFinder

tf = TimezoneFinder()  # reuse

query_points = [(13.358, 52.5061), ...]
for lng, lat in query_points:
    tz = tf.timezone_at(lng=lng, lat=lat)  # 'Europe/Berlin'

有关更多信息,请参阅文档

还要检查:

派皮

在线 GUI 和 API

康达锻造原料

红宝石端口:timezone_finder

下载统计

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

timezonefinder-6.1.3.tar.gz (45.7 MB 查看哈希

已上传 source

内置分布

timezonefinder-6.1.3-cp38-cp38-manylinux_2_31_x86_64.whl (45.7 MB 查看哈希

已上传 cp38