tzc - time zone convert
copies input to output, converting timezone in any lines beginning with an ISO-8601 timestamp
Installation
Install this tool using pip:
$ pip install tzc
Usage
Usage: tzc [OPTIONS] [INPUT_FILE] [OUTPUT_FILE]
copy input to output, converting timezone in any lines starting with a
timestamp
Options:
--version Show the version and exit.
-i, --input-zone TEXT timezone in file
-o, --output-zone TEXT output timezone
-f, --format TEXT output format (strptime)
-s, --short format output as YYYY-MM-DD HH:MM:SS
--help Show this message and exit.
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd tzc
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Release files for tzc 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tzc-1.0.6.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tzc-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / tzc-1.0.6.tar.gz
| Download URL | tzc-1.0.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
625fed79103bbb308a3a61a47ca2e359ba8c3cf588363720e833ad4d3b94941c
|
|
BLAKE2b-256 checksum How to use checksums |
8816ae51f2140164efc12fcae0f83460373c0428ccbb4c4961bfe017b40b5ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / tzc-1.0.6-py3-none-any.whl
| Download URL | tzc-1.0.6-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91cda94b07766b5baa10e8183acb475da874fcea28d2447665c78bf47b491460
|
|
BLAKE2b-256 checksum How to use checksums |
d4b026beac798e528c74f9e1e394a73ec9b447a33b244f68cbae7d7d17c4b717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|