Skip to main content

A utility which helps to preprocess GAMS objects before ingestion.

Project description

Gamspreprocessor

gamspreprocessor (or short: preprocess) provides a set of tools useful in preparation of GAMS object folders (which are required for packaging).

Installation

gamspreprocessor is available on pypi.org and can be installed via pip:

pip install gamspreprocessor

A propably better way to install this tool is to use the uv tool command, which requires, that you install uv first (see https://docs.astral.sh/uv/getting-started/installation/).

Use this command to install gamspreprocessor on your computer:

uv tool install gamspreprocessor

Afterwards, the gamspreprocessor command should be availabe on your machine.

If you do not want to install it permanently, you can use the uvx command provided by uv:

uvx gamspreprocessor --help

Usage

The package provides a single command gamsproprocessor (or short: preprocess) with a set of subcommands:

  • csv Helpers for managing GAMS object CSV files.
  • gams3export Export one or more objects from a GAMS 3 repository to...
  • multitransform Helpers for transforming multiple files at once.
  • project Helpers for managing GAMS projects.
  • splitproject Helpers for creating object directories.
  • transform Helpers for transforming GAMS files.
  • validate Validate object folder(s).

Documentation

Use preprocess --help for more information or consult the documentation: https://dhgraz.github.io/gamspreprocessor/

Contributing

The Github repository is ment to be a read only mirror of the work repository hosted on our institutional private GitLab server. You can use the bug tracker on Github, but everything else should happen in the Zimlab Github repo.

License

MIT

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

gamspreprocessor-0.5.1.tar.gz (209.6 kB view details)

Uploaded Source

Built Distribution

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

gamspreprocessor-0.5.1-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file gamspreprocessor-0.5.1.tar.gz.

File metadata

  • Download URL: gamspreprocessor-0.5.1.tar.gz
  • Upload date:
  • Size: 209.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gamspreprocessor-0.5.1.tar.gz
Algorithm Hash digest
SHA256 020347edc903ce73d2fee70825b32bf83991ad8c8ca596715f1acfc8acfe8577
MD5 eec77a4f83760c4c4b0b3701c17e0ea4
BLAKE2b-256 bb7a0a8d12f492ed76a5c6fc590299157713bce39f132b38d503e47a1bdac372

See more details on using hashes here.

File details

Details for the file gamspreprocessor-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: gamspreprocessor-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 44.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gamspreprocessor-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 696b4c078ea4148c6ba7d6d66f21e5c3c738510e02d076b9a669ad351155ac95
MD5 7f5607abf40e10aebf665849bc4ea898
BLAKE2b-256 0a83d05084951d3aa21729c5af959c77613ef2a7ff49a6f2d0da030b98763b5b

See more details on using hashes here.

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