A Python package for generating PDF of GKV standard ASCII output
Project description
gkvfig - Generating PDF of GKV standard output
gkvfig is a Python package that generates a summary figure PDF of GKV standard ASCII output.
(Previous fig_stdout tool using shell/awk/gnuplot/latex is converted to Python.)
Installation
To install from PyPI:
pip install gkvfig
Or install the latest development version from GitHub:
pip install git+https://github.com/GKV-developers/gkvfig.git
Usage
(i) Basic usage: As a command line tool
python -m gkvfig -d DIR
The argument DIR is the GKV output directory. The namelist file DIR/gkvp.namelist.001, log file DIR/log/gkvp.000000.0.log.001, and hst directory DIR/hst/ should exist.
You get a summary PDF file CWD/figpdf_yyyymmdd_hhmmss/fig_stdout.pdf.
(ii) As a Python function
from gkvfig import gkvfig
gkvfig(gkv_stdout_dir="YOUR GKV OUTPUT DIR")
You get a summary PDF file CWD/figpdf_yyyymmdd_hhmmss/fig_stdout.pdf, always in the current working directory CWD.
Dependencies
gkvfig requires the following Python packages:
numpy,matplotlib,pandas,reportlab,pypdf
License
This project is licensed under the MIT License. See the LICENSE file for details.
Author
Developed by Shinya Maeyama (maeyama.shinya@nifs.ac.jp)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gkvfig-0.1.0.tar.gz.
File metadata
- Download URL: gkvfig-0.1.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15350a7ad4a23309eaa71d49b09ce0ff782eb28a3f2cc8680b21910c17c17a51
|
|
| MD5 |
9606addeca3d2e790c2f287fea5cd6c9
|
|
| BLAKE2b-256 |
fbc0ae3bcddf4c7bc23d6c18cdb57a682bd92d6023cfd4bdf07e4edbd06b7547
|
Provenance
The following attestation bundles were made for gkvfig-0.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on GKV-developers/gkvfig
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gkvfig-0.1.0.tar.gz -
Subject digest:
15350a7ad4a23309eaa71d49b09ce0ff782eb28a3f2cc8680b21910c17c17a51 - Sigstore transparency entry: 230502827
- Sigstore integration time:
-
Permalink:
GKV-developers/gkvfig@436da6b2f6651f7d8ac972bf452e3d4173a31ce3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/GKV-developers
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@436da6b2f6651f7d8ac972bf452e3d4173a31ce3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file gkvfig-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gkvfig-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d9237333def8f4c6417fb96fb5197cf91b40d1230cc22e3a1808553f0c1b989
|
|
| MD5 |
35e203b98004e4c6b6d6bd9d25d3db8a
|
|
| BLAKE2b-256 |
5da88e55b5be89e0a93d5ba6ae79d445cf08783da6b2ab335c102e546fbd8fd4
|
Provenance
The following attestation bundles were made for gkvfig-0.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on GKV-developers/gkvfig
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gkvfig-0.1.0-py3-none-any.whl -
Subject digest:
3d9237333def8f4c6417fb96fb5197cf91b40d1230cc22e3a1808553f0c1b989 - Sigstore transparency entry: 230502832
- Sigstore integration time:
-
Permalink:
GKV-developers/gkvfig@436da6b2f6651f7d8ac972bf452e3d4173a31ce3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/GKV-developers
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@436da6b2f6651f7d8ac972bf452e3d4173a31ce3 -
Trigger Event:
workflow_dispatch
-
Statement type: