{ "info": { "author": "Giacomo Marangoni", "author_email": "jackjackk@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "==========\ngdxcompare\n==========\n\n\n\n\n1 Purpose\n---------\n\nTool to compare symbols in GAMS Data eXchange (GDX) files with time series data (specifically integer indexed data).\n\n2 Usage\n-------\n\nAfter installing the module, just call\n\n::\n\n python -m gdxcompare [options] gdx1 gdx2 ...\n\nAn HTML page will open up, showing something similar to `this screenshot `_.\n\n- Symbols (variables, parameters) are listed on the left and are selected by left clicking.\n\n- Set dependencies and corresponding elements are listed in adjacent columns. Set elements are selected via mouse hovering.\n\n- The color of the cells indicate the relative variance across elements in a set, so that blue elements will exhibit smaller differences across GDXs than red elements.\n\n- The time series of the queried data is shown on the right. A title reports the description of the selected symbol and the last element selected. The time axis is identified as the first set with integer elements.\n\n- Zooming is supported via horizontal or vertical mouse dragging. Mouse hovering provides details on the top right corner.\n\n3 Requirements\n--------------\n\n- Python (tested with Python 3.6).\n\n- up-to-date `numpy `_ module.\n\n- up-to-date `gdxpy `_ (requires manual installation from github).\n\n4 Options\n---------\n\nOptions\n\n.. table::\n\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | Short version | Long version | Description |\n +======================+============================+===============================================================================================================================================================================================================================+\n | ``-h`` | ``--help`` | Show this options list and exit |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-m XMAX`` | ``--xmax=XMAX`` | Max value for x-axis [0 = no max, default] |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-f XMIN`` | ``--xmin=XMIN`` | Min value for x-axis [0 = no min, default] |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-r RENAME_STRING`` | ``--rename=RENAME_STRING`` | Comma-separated list of new names to give to GDXs (no spaces) |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-s SYMB_REGEX`` | ``--symb=SYMB_REGEX`` | Regex for filtering symbols, or lambda starting with ``@`` (e.g. ``@len(x)<5`` for all symbol names shorter than 5 characters) |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-p PROF`` | ``--profile=PROF`` | Profile name, used if no ``SYMB_REGEX`` specified, associated to a predefined combination of regex for filtering symbols (see `here `_ for examples) |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-x LAMBDA_EXPR`` | ``--xlambda=LAMBDA_EXPR`` | Lambda function applied to each element of the x-axis |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n | ``-d`` | ``--disaggsymb`` | Flag to disaggregate large symbols across elements of the first domain |\n +----------------------+----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n\nFor example:\n\n::\n\n python -m gdxcompare -sQ -rbau,ref -m20 results_bau.gdx results_ref.gdx\n\nwill compare symbols starting with ``Q`` of the two GDX files ``results_bau.gdx`` and ``results_ref.gdx`` in the current path, labelling them as ``bau`` and ``ref``, and showing results up to period 20.\n\n5 License\n---------\n\nThe MIT License (MIT)\n\nCopyright (c) 2012-2017 Giacomo Marangoni\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jackjackk/gdxcompare", "keywords": "gdx gams dataviz", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gdxcompare", "package_url": "https://pypi.org/project/gdxcompare/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gdxcompare/", "project_urls": { "Homepage": "https://github.com/jackjackk/gdxcompare" }, "release_url": "https://pypi.org/project/gdxcompare/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Visually compare time series across GAMS GDX files", "version": "0.1.2" }, "last_serial": 2960568, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1fddea24e644e4048274fa76f333e685", "sha256": "bbd06908069eff4f4de6414f4c8473247fa1ac61f7a56a0b5cbf7c31426a05ed" }, "downloads": -1, "filename": "gdxcompare-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1fddea24e644e4048274fa76f333e685", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47944, "upload_time": "2017-06-15T14:05:50", "url": "https://files.pythonhosted.org/packages/bd/1e/b838ae49d1bd8311ba98b1d197036e6d33338e00e3e3bf64a076016d8f19/gdxcompare-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8d2105e26deea84384d95f45bf4a5a3c", "sha256": "52461f27ff8fb8c4a0183b08ec6854f0c2f09795d2651f9a9a64df8cdc7f0002" }, "downloads": -1, "filename": "gdxcompare-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8d2105e26deea84384d95f45bf4a5a3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47876, "upload_time": "2017-06-19T20:38:07", "url": "https://files.pythonhosted.org/packages/d6/a4/7211000fbd2c516d8332c3bb14ad9244b91fa2839cd57ce1fa8bacfa7806/gdxcompare-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8d2105e26deea84384d95f45bf4a5a3c", "sha256": "52461f27ff8fb8c4a0183b08ec6854f0c2f09795d2651f9a9a64df8cdc7f0002" }, "downloads": -1, "filename": "gdxcompare-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8d2105e26deea84384d95f45bf4a5a3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47876, "upload_time": "2017-06-19T20:38:07", "url": "https://files.pythonhosted.org/packages/d6/a4/7211000fbd2c516d8332c3bb14ad9244b91fa2839cd57ce1fa8bacfa7806/gdxcompare-0.1.2.tar.gz" } ] }