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 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.0.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.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

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

Hashes for gkvfig-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15350a7ad4a23309eaa71d49b09ce0ff782eb28a3f2cc8680b21910c17c17a51
MD5 9606addeca3d2e790c2f287fea5cd6c9
BLAKE2b-256 fbc0ae3bcddf4c7bc23d6c18cdb57a682bd92d6023cfd4bdf07e4edbd06b7547

See more details on using hashes here.

Provenance

The following attestation bundles were made for gkvfig-0.1.0.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.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

Hashes for gkvfig-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d9237333def8f4c6417fb96fb5197cf91b40d1230cc22e3a1808553f0c1b989
MD5 35e203b98004e4c6b6d6bd9d25d3db8a
BLAKE2b-256 5da88e55b5be89e0a93d5ba6ae79d445cf08783da6b2ab335c102e546fbd8fd4

See more details on using hashes here.

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

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