Skip to main content

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

Metadata

Release files for gamspreprocessor 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gamspreprocessor 0.5.1
File Size Uploaded
gamspreprocessor-0.5.1.tar.gz 209.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gamspreprocessor 0.5.1
File Interpreter ABI Platform
gamspreprocessor-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 254.6 kB

Release files / gamspreprocessor-0.5.1.tar.gz

Download URL gamspreprocessor-0.5.1.tar.gz
Size 209.6 kB
Tags Source
SHA-256 checksum
How to use checksums
020347edc903ce73d2fee70825b32bf83991ad8c8ca596715f1acfc8acfe8577
BLAKE2b-256 checksum
How to use checksums
bb7a0a8d12f492ed76a5c6fc590299157713bce39f132b38d503e47a1bdac372
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / gamspreprocessor-0.5.1-py3-none-any.whl

Download URL gamspreprocessor-0.5.1-py3-none-any.whl
Size 44.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
696b4c078ea4148c6ba7d6d66f21e5c3c738510e02d076b9a669ad351155ac95
BLAKE2b-256 checksum
How to use checksums
0a83d05084951d3aa21729c5af959c77613ef2a7ff49a6f2d0da030b98763b5b
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page