ringsaturn / tzfpy Goto Github PK
View Code? Open in Web Editor NEWProbably the fastest Python package to convert longitude/latitude to timezone name.
Home Page: https://pypi.org/project/tzfpy/
License: MIT License
Probably the fastest Python package to convert longitude/latitude to timezone name.
Home Page: https://pypi.org/project/tzfpy/
License: MIT License
Hey, this project looks pretty neat! Thank you for your work on it so far. ๐
Installing tzfpy within Docker on Apple Silicon fails because it can't find an appropriate wheel to run:
$ docker run -it --rm python:3.9-slim bash -c "pip install tzfpy"
Unable to find image 'python:3.9-slim' locally
3.9-slim: Pulling from library/python
934ce60d1040: Pull complete
1433a1692260: Pull complete
762827e25253: Pull complete
e40fc74453ae: Pull complete
215b61f46b6a: Pull complete
Digest: sha256:50c261237b02d3597d9ad74e72f6d67daadb1494856902b28db0d888091f0592
Status: Downloaded newer image for python:3.9-slim
ERROR: Could not find a version that satisfies the requirement tzfpy (from versions: none)
ERROR: No matching distribution found for tzfpy
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
A workaround is to specify --platform linux/amd64
when running the Docker image:
$ docker run --platform linux/amd64 -it --rm python:3.9-slim bash -c "pip install tzfpy"
Unable to find image 'python:3.9-slim' locally
3.9-slim: Pulling from library/python
8740c948ffd4: Pull complete
69038a8b17e6: Pull complete
9eda7279ef48: Pull complete
03ebd05a13a5: Pull complete
c623e99b4bd9: Pull complete
Digest: sha256:50c261237b02d3597d9ad74e72f6d67daadb1494856902b28db0d888091f0592
Status: Downloaded newer image for python:3.9-slim
Collecting tzfpy
Downloading tzfpy-0.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 7.0/7.0 MB 1.3 MB/s eta 0:00:00
Installing collected packages: tzfpy
Successfully installed tzfpy-0.12.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
but most users probably won't be aware of this.
I think the appropriate wheel would be cp39-cp39-manylinux_2_17_aarch64
.
Code is ready, wait for pytz new version release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.