pytz-convert
Python extension for package pytz.
Badges
docs |
|
|---|---|
info |
|
tests |
|
package |
|
other |
Install
pip install pytz-convert
Architecture
pytz-convert is an extension of the pytz providing functions for converting timezone names, abbreviations, and offsets.
Functions
convert_bing_ads_tz: Convert Bing timezone name to Standard timezone name.
convert_tz_abbrev_to_tz_hours(): Convert timezone abbreviation to timezone hours.
convert_tz_abbrev_to_tz_offset(): Convert timezone abbreviation to timezone offset.
convert_tz_abbrev_to_tz_seconds(): Convert timezone abbreviation to timezone seconds.
convert_tz_hours_to_tz_offset(): Convert timezone hours into timezone offset.
convert_tz_name_to_date_tz_abbrev(): Convert timezone name + date to timezone abbreviation.
convert_tz_name_to_date_tz_offset(): Convert timezone name + date to timezone offset.
convert_tz_name_to_now_tz_abbrev(): Convert timezone name + current date to current timezone abbreviation.
convert_tz_name_to_now_tz_offset(): Convert timezone name + current date to current timezone offset.
convert_tz_offset_and_date_to_tz_name(): Convert timezone offset + date to timezone name.
convert_tz_offset_to_now_tz_abbrev(): Convert timezone offset + current date to current timezone abbreviation.
convert_tz_offset_to_tz_hours(): Convert timezone offset to hours.
convert_tz_offset_to_tz_minutes(): Convert timezone offset to minutes.
convert_tz_offset_to_tz_seconds(): Convert timezone offset to seconds.
parse_gmt_offset_timezone(): Parse GMT string into timezone name and timezone offset.
validate_tz_abbrev(): Validate timezone abbreviation.
validate_tz_name(): Validate timezone name.
Requirements
pytz-convert module is built upon Python 3 and has dependencies upon several Python modules available within Python Package Index PyPI.
make install-requirements
or
python3 -m pip uninstall --yes --no-input -r requirements.txt
python3 -m pip install --upgrade -r requirements.txt
Dependencies
Release History
0.2.8 (2018-02-19)
Python 2.7 supported
Travis CI testing both Python 2.7 and 3.6.
0.2.8 (2018-02-16)
migrate to github/TuneLab.
0.2.3 (2018-01-25)
migrate to github/tuneinc.
LICENSE: MIT
0.2.0 (2017-12-10)
readthedocs.org
0.1.0 (2017-11-25)
README
Tests
0.0.5 (2017-06-15)
Add BING_TIMEZONES_TO_PREFERRED dict that maps bing tz names to pytz tz names
Add convert_bing_ads_tz function
0.0.1 (2016-11-17)
Initial release
Metadata
Release files for pytz-convert 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pytz-convert-0.2.9.tar.gz | 10.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytz_convert-0.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / pytz-convert-0.2.9.tar.gz
| Download URL | pytz-convert-0.2.9.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b8a0cd9aff95d799d8143d052bc6d1f91b9d15809656347e904c0df4a1f78da
|
|
BLAKE2b-256 checksum How to use checksums |
0b7dd710ae5ef338650a2a4fb45520585d94957c63c398cdf1a52bee78f1e088
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytz_convert-0.2.9-py3-none-any.whl
| Download URL | pytz_convert-0.2.9-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10ffc40885a40a90bdb7856b2720492ee8ae2fe44257bf4fa03c7cd85f3b0a69
|
|
BLAKE2b-256 checksum How to use checksums |
5a4eb77fbe619da32ff677c7a11ecabf1f71632edf291b962cff39e92eb5faa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytz-convert 0.2.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.