{ "info": { "author": "Paul Natsuo Kishimoto", "author_email": "mail@paul.kishimoto.name", "bugtrack_url": null, "classifiers": [], "description": "# PyGDX\n[![Documentation Status](https://readthedocs.org/projects/pygdx/badge/?version=latest)](https://readthedocs.org/projects/pygdx/?badge=latest)\n[![Build Status](https://travis-ci.org/khaeru/py-gdx.svg?branch=master)](https://travis-ci.org/khaeru/py-gdx)\n[![Coverage Status](https://coveralls.io/repos/github/khaeru/py-gdx/badge.svg?branch=master)](https://coveralls.io/github/khaeru/py-gdx?branch=master)\n\n\n\nPyGDX is a Python package for accessing data stored in *GAMS Data eXchange* (GDX) files. GDX is a proprietary, binary file format used by the [General Algebraic Modelling System](http://www.gams.com) (GAMS); pyGDX uses the Python bindings for the [GDX API](http://www.gams.com/dd/docs/api/expert-level/gdxqdrep.html).\n\nOriginally inspired by the similar package, also named [py-gdx, by Geoff Leyland](https://github.com/geoffleyland/py-gdx), this version makes use of [xarray](http://xarray.pydata.org) to provide labelled data structures which can be easily manipulated with [NumPy](http://www.numpy.org) for calculations and plotting.\n\n**Documentation** is available at http://pygdx.readthedocs.org, built automatically from the contents of the Github repository.\n\nPyGDX is provided under the **MIT License** (see `LICENSE`).\n\nExample\n-------\n\nWith the following GAMS program:\n````\nset s 'Animals' /\n a Aardvark\n b Blue whale\n c Chicken\n d Dingo\n e Elephant\n f Frog\n g Grasshopper\n /;\n\nset t 'Colours' /\n r Red\n o Orange\n y Yellow\n g Green\n b Blue\n i Indigo\n v Violet\n /;\n\nset u 'Countries' /\n CA Canada\n US United States\n CN China\n JP Japan\n /;\n\nparameter p(s,t,u) 'Counts of nationalistic, colourful animals'\n / set.s.set.t.set.u 1 /;\n\nexecute_unload 'example.gdx'\n````\n\nThe parameter `p` can be accessed via:\n````python\n>>> import gdx\n>>> f = gdx.File('example.gdx')\n>>> f.p[:,'y','CA']\na 1\nb 1\nc 1\nd 1\ne 1\nf 1\ng 1\ndtype: float64\n````\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/khaeru/py-gdx/tarball/3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/khaeru/py-gdx", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "gdx", "package_url": "https://pypi.org/project/gdx/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gdx/", "project_urls": { "Download": "https://github.com/khaeru/py-gdx/tarball/3", "Homepage": "https://github.com/khaeru/py-gdx" }, "release_url": "https://pypi.org/project/gdx/3/", "requires_dist": null, "requires_python": null, "summary": "GAMS Data Exchange (GDX) file access", "version": "3" }, "last_serial": 2365151, "releases": { "3": [ { "comment_text": "", "digests": { "md5": "d874908c93f88ea3a6e0f7c074bccc96", "sha256": "7ca96b33327b1754f972e15a7e0ea00991abb633a5186004e5767fe0b686b1bd" }, "downloads": -1, "filename": "gdx-3.tar.gz", "has_sig": false, "md5_digest": "d874908c93f88ea3a6e0f7c074bccc96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12471, "upload_time": "2016-09-26T22:32:58", "url": "https://files.pythonhosted.org/packages/54/16/da9c90a88f5d4686796740453d7dd7eac7f908f7406355f4babdfd6d749b/gdx-3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d874908c93f88ea3a6e0f7c074bccc96", "sha256": "7ca96b33327b1754f972e15a7e0ea00991abb633a5186004e5767fe0b686b1bd" }, "downloads": -1, "filename": "gdx-3.tar.gz", "has_sig": false, "md5_digest": "d874908c93f88ea3a6e0f7c074bccc96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12471, "upload_time": "2016-09-26T22:32:58", "url": "https://files.pythonhosted.org/packages/54/16/da9c90a88f5d4686796740453d7dd7eac7f908f7406355f4babdfd6d749b/gdx-3.tar.gz" } ] }