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.0.tar.gz (206.2 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.0-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gamspreprocessor-0.5.0.tar.gz
  • Upload date:
  • Size: 206.2 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.0.tar.gz
Algorithm Hash digest
SHA256 678986fd0ffd038cd6b1f3df5f13322f155e82a5aafd667243d8a4ae8ff87743
MD5 982e39bb76b15636f48f40e807452ac8
BLAKE2b-256 febba4e05d1e508b25e7da7af83e245d5a9fb320a8037561114c44d2da404a09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamspreprocessor-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 42.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1724decb5da001dd8cfbaed1f810c39e0a0671751a6676f1454d0eae301a29a1
MD5 9265c73b9455a66f852702ed9c216e2f
BLAKE2b-256 864a775b76571cbf198b1d8a81a57ab7aaccd27c2aff05e4bb7a779ef22992d8

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