Skip to main content

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 path of 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gkvfig-0.1.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gkvfig-0.1.1-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file gkvfig-0.1.1.tar.gz.

File metadata

  • Download URL: gkvfig-0.1.1.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

Hashes for gkvfig-0.1.1.tar.gz
Algorithm Hash digest
SHA256 26e5ae2f41d14b103295007475b6867889cb2cc9160ab9d8e4292f483b531c37
MD5 a3cf7f8408caeacd178256c20650deb9
BLAKE2b-256 65ebea8ca20f7c914435787f846eb306c59995ff600c4c588eac0193d03d99e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gkvfig-0.1.1.tar.gz:

Publisher: publish-to-pypi.yml on GKV-developers/gkvfig

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gkvfig-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gkvfig-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gkvfig-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73bb45e100273841d7ecf83f2d93ca03ca014e49a3b66e245273370a310bd7c7
MD5 61a460e2352c09e0d224580babc2f7cd
BLAKE2b-256 56c2af53d8533734b3d9dcb4ec1c706070e56be296f2ae0107c2f818087fa9ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for gkvfig-0.1.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on GKV-developers/gkvfig

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page