Skip to main content

gdxtools

gdxtools currently contains two classes (gdxReader and gdxWriter) that enable rapid read and write operations of GAMS GDX files. These 'helper' classes will allow the user to interface with the GAMS python API through a more intuitive interface (enabled by python dicts). Examples are provided at https://github.com/boxblox/gdxtools.

Install

pip install gdxtools

Use

The example file that is included here shows how these classes are utilizied in reading from the 'transport_out.gdx' file with 'gdx_reader'. The example file also includes an implementation of 'gdx_writer' that creates 'transport_out_chk.gdx'. The user can use the GAMS utility 'gdxdiff' to view the differences between the original GDX file and the newly created check GDX file. At this time gdxrw does not write equations or variables into a GDX file (but it will read).

Requirements

Python 3, GAMS API (manual installation required, see: https://www.gams.com/latest/docs/API_PY_TUTORIAL.html)

An error(s) (such as the ones below) will be thrown if the GAMS API has not been installed:

"ERROR: Could not find a version that satisfies the requirement gams (from gdxtools) (from versions: none)" "ERROR: No matching distribution found for gams (from gdxtools)"

Metadata

Release files for gdxtools 0.1.85

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

Source distribution (sdist)

Source distribution for gdxtools 0.1.85
File Size Uploaded Provenance Actions
gdxtools-0.1.85.tar.gz 3.6 kB Without provenance Details for gdxtools-0.1.85.tar.gz

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / gdxtools-0.1.85.tar.gz

Download URL gdxtools-0.1.85.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9eac436feb52ea6694b676b7c3a17069c87808826e2f8c160d5200f01d9fa167
BLAKE2b-256 checksum
How to use checksums
4d3f592adc2ed0c1e8626470eb9c4ac80b664eb9f57e3149b499841d984ddff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1.post20191125 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

Release files / gdxtools-0.1.85-py3-none-any.whl

Download URL gdxtools-0.1.85-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27f728e9a6bad7f62c0216fa3e914c2c0b1eac290cb3f23dc20a1376346576fa
BLAKE2b-256 checksum
How to use checksums
30f4d27d751ff2064eea3537f8f8bc3bc71dd6d33679d3e5a66b8aa1d6525b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1.post20191125 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

Security for gdxtools 0.1.85

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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