gdx-pandas is a python package to translate between gdx (GAMS data) and pandas
Project description
gdx-pandas
gdx-pandas is a python package to translate between gdx (GAMS data) and pandas.
Install | Documentation | Uninstall
Install
Preliminaries
-
Python 3.11 or higher (exact compatibility might depend on which GAMS version you are using)
-
Install GAMS
-
Put the GAMS directory in your
PATHand/or assign it to theGAMS_DIRenvironment variable -
GAMS Python bindings — choose one:
Recommended. Install the
gamsapithat matches your installed GAMS version:# xx.y.z corresponds to your GAMS version pip install gamsapi[transfer]==xx.y.z
Legacy. Use the standalone
gdxccpackage from PyPI by installinggdxpdswith thelegacyextra (see below).gdxccis older and is not version-matched to your GAMS install, but the SWIG-bound C ABI is stable enough that it generally works.
Get the Latest Package
# Recommended (use with the gamsapi install above):
pip install gdxpds
# Legacy (also installs gdxcc; use if you skipped gamsapi):
pip install gdxpds[legacy]
Versions are listed at pypi and https://github.com/NatLabRockies/gdx-pandas/releases.
Verify installation
After installing gdxpds and a matching gamsapi, verify your environment
end-to-end with:
gdxpds test
For a quick environment check without running the full round-trip, use
gdxpds info — it prints Python, bindings, the resolved GAMS_DIR (and
which discovery branch produced it), and any import-time load error. Useful
for bug reports. gdxpds --version prints just the version.
Expected output:
Verifying gdxpds installation...
[OK] GAMS install found at <your GAMS directory>
[OK] GDX bindings loaded: gams.core.gdx (gamsapi)
[OK] Read embedded sample.gdx (...)
[OK] Round-trip write->read preserves all symbols
[OK] Special values (+Inf, -Inf, NaN) survive round-trip
PASSED: gdxpds installation verified.
Development tests
To run the development test suite, clone the repo and run:
pytest tests
If the tests fail due to permission IOErrors, apply chmod g+x and chmod a+x
to the tests folder.
Uninstall
pip uninstall gdxpds
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gdxpds-2.0.0.tar.gz.
File metadata
- Download URL: gdxpds-2.0.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f5d1decccfa84584929b962e2483d43c20a39f953557a18e69859d5d7462ca
|
|
| MD5 |
f5ff347dd14abda378dc57a133e9d5e4
|
|
| BLAKE2b-256 |
1896523470770c81304f8d41af94e19ff7a76781b4f9e2f614dc1680e93718d8
|
Provenance
The following attestation bundles were made for gdxpds-2.0.0.tar.gz:
Publisher:
release-pypi.yml on NatLabRockies/gdx-pandas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gdxpds-2.0.0.tar.gz -
Subject digest:
d1f5d1decccfa84584929b962e2483d43c20a39f953557a18e69859d5d7462ca - Sigstore transparency entry: 1588060467
- Sigstore integration time:
-
Permalink:
NatLabRockies/gdx-pandas@054d302effa2ed313c5eca4454a35586787a5318 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/NatLabRockies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@054d302effa2ed313c5eca4454a35586787a5318 -
Trigger Event:
release
-
Statement type:
File details
Details for the file gdxpds-2.0.0-py3-none-any.whl.
File metadata
- Download URL: gdxpds-2.0.0-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c9956a501982b656d6097a348fe43150989419b7177d1f2df38e12abd954d0c
|
|
| MD5 |
901546ae6c79319ce808149a049ad0e8
|
|
| BLAKE2b-256 |
620a9f02870d52e47f7b5e0e89417d1173051baa60719cdcb29692e2ac48cdf5
|
Provenance
The following attestation bundles were made for gdxpds-2.0.0-py3-none-any.whl:
Publisher:
release-pypi.yml on NatLabRockies/gdx-pandas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gdxpds-2.0.0-py3-none-any.whl -
Subject digest:
4c9956a501982b656d6097a348fe43150989419b7177d1f2df38e12abd954d0c - Sigstore transparency entry: 1588060497
- Sigstore integration time:
-
Permalink:
NatLabRockies/gdx-pandas@054d302effa2ed313c5eca4454a35586787a5318 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/NatLabRockies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@054d302effa2ed313c5eca4454a35586787a5318 -
Trigger Event:
release
-
Statement type: