{ "info": { "author": "pyLHC", "author_email": "pylhc@github.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "# TFS-Pandas\n[![Travis (.com)](https://img.shields.io/travis/com/pylhc/tfs.svg?style=popout)](https://travis-ci.com/pylhc/tfs/)\n[![Code Climate coverage](https://img.shields.io/codeclimate/coverage/pylhc/tfs.svg?style=popout)](https://codeclimate.com/github/pylhc/tfs)\n[![Code Climate maintainability (percentage)](https://img.shields.io/codeclimate/maintainability-percentage/pylhc/tfs.svg?style=popout)](https://codeclimate.com/github/pylhc/tfs)\n[![GitHub last commit](https://img.shields.io/github/last-commit/pylhc/tfs.svg?style=popout)](https://github.com/pylhc/tfs/)\n[![GitHub release](https://img.shields.io/github/release/pylhc/tfs.svg?style=popout)](https://github.com/pylhc/tfs/)\n\nThis package provides reading and writing functionality for **table format system (tfs)** files. \n\n## Getting Started\n\n### Prerequisites\n\nThe package depends heavily on `pandas` and also on `numpy`, so these packages need\nto be installed in your python environment.\n\n### Installing\n\nInstallation is easily done via `pip`. The package is then used as `tfs`.\n\n```\npip install tfs-pandas\n```\n\nExample:\n\n```\nimport tfs\n\ndata_frame = tfs.read('path_to_input.tfs', index=\"index_column\")\ntfs.write('path_to_output.tfs', data_frame, save_index=\"index_column\")\n```\n## Description\n\nReading and writing capabilities for [tfs-files](http://mad.web.cern.ch/mad/madx.old/Introduction/tfs.html)\nare provided by this package. The files are read into special `pandas` `Dataframes`, called `TfsDataFrames`,\nwhich in addition to the normal behaviour attach an `OrderedDict` of headers to the `DataFrame`.\n\n\n## Known Issues\n\n- Creating a new `DataFrame` by combining multiple `TfsDataFrame`,\nfor example via `pandas.DataFrame.append()` or `pandas.concat()`, \nwill convert the `TfsDataFrame` back to a `DataFrame` and lose therefore the headers.\n\n## Authors\n\n* **Jaime** - [jaimecp89](https://github.com/jaimecp89)\n* **Luk\u00e1\u0161** - [lmalina](https://github.com/lmalina)\n* **Josch** - [JoschD](https://github.com/JoschD)\n* **pyLHC/OMC-Team** - *Working Group* - [pyLHC](https://github.com/orgs/pylhc/teams/omc-team)\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pylhc/tfs", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tfs-pandas", "package_url": "https://pypi.org/project/tfs-pandas/", "platform": "", "project_url": "https://pypi.org/project/tfs-pandas/", "project_urls": { "Homepage": "https://github.com/pylhc/tfs" }, "release_url": "https://pypi.org/project/tfs-pandas/1.0.3/", "requires_dist": [ "numpy", "pandas" ], "requires_python": "", "summary": "Read and write tfs files.", "version": "1.0.3" }, "last_serial": 5650951, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0ee48d2492e538572c109b82ea84e3d6", "sha256": "298c543531b8f143357cb9b257fd71650dbd118c6f814c7634ed42cca13258ce" }, "downloads": -1, "filename": "tfs_pandas-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0ee48d2492e538572c109b82ea84e3d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10249, "upload_time": "2019-02-18T15:34:54", "url": "https://files.pythonhosted.org/packages/f4/1c/91cab9bc0435db3d7d0c5353876e4b5084298ac276a1370fd44da4286032/tfs_pandas-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "247a783131794382aa813d6531bfa9a9", "sha256": "26956c01839e0c0db26e3e2ac3009fc09dbfae8dcb0052fd874e166bca6fbd53" }, "downloads": -1, "filename": "tfs-pandas-1.0.0.tar.gz", "has_sig": false, "md5_digest": "247a783131794382aa813d6531bfa9a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9549, "upload_time": "2019-02-18T15:34:56", "url": "https://files.pythonhosted.org/packages/3e/42/5f6b6037390b54c54ade959089381386a5602829a9970397180c9daac1aa/tfs-pandas-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7aa156fccea590a77b73db5de77ecac2", "sha256": "05e007abe3c0f8e4db0c3eb17e81bf2be20da7eed4566fc699e457122b936d4f" }, "downloads": -1, "filename": "tfs_pandas-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7aa156fccea590a77b73db5de77ecac2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10515, "upload_time": "2019-08-01T16:01:04", "url": "https://files.pythonhosted.org/packages/ee/ed/b0b00f136240790173f1fa5d2f90db1274c0e2c812511b133ebbfa3622fd/tfs_pandas-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "37ae9b95ceb18b431fb6e64120d18f92", "sha256": "13d517cdc00f6461d63868dc6a34d9eab2ff3fe31149a72e27e4a3888ab7ec15" }, "downloads": -1, "filename": "tfs-pandas-1.0.1.tar.gz", "has_sig": false, "md5_digest": "37ae9b95ceb18b431fb6e64120d18f92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9487, "upload_time": "2019-08-01T16:01:07", "url": "https://files.pythonhosted.org/packages/fd/b9/4d91ec98f787a8ef3168c6e0cd0eb75c5f5ee1eaa32f12c300854ea1d34f/tfs-pandas-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "eb7c0b5ff05c965793e74c82a10dab23", "sha256": "2afbfafae9b8388c70c95123025cd4d74893451c913c95891a953c12c2e635c4" }, "downloads": -1, "filename": "tfs_pandas-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "eb7c0b5ff05c965793e74c82a10dab23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14099, "upload_time": "2019-08-07T16:36:20", "url": "https://files.pythonhosted.org/packages/d6/20/60a2e90b6a2c3a89444ee1656d9909699f115b231186d77a114a51a22acd/tfs_pandas-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e03dd512fe16894bdfd1ddc5c38f3146", "sha256": "9a4ac2a63326b9501bc78308a4535ce4f93142c523149ed19be6fc2fb12b50ac" }, "downloads": -1, "filename": "tfs-pandas-1.0.2.tar.gz", "has_sig": false, "md5_digest": "e03dd512fe16894bdfd1ddc5c38f3146", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12542, "upload_time": "2019-08-07T16:36:23", "url": "https://files.pythonhosted.org/packages/ad/93/6e08160856bb101ab2f441f4bb216cd93a635c1aa8090b37f2111763df71/tfs-pandas-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "032adf4a78567fa085afe0afab87d265", "sha256": "5aecf22ab918756c4625f99976dc873d94944bd951e20aecc5a5be1dc9e505e0" }, "downloads": -1, "filename": "tfs_pandas-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "032adf4a78567fa085afe0afab87d265", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14105, "upload_time": "2019-08-08T15:50:18", "url": "https://files.pythonhosted.org/packages/92/1a/39f80090314f3a2d2322948e1d480c96a3c95d03ebcb9390f146c1a4ae9d/tfs_pandas-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c4659ef0b3462f8d7f4278e3e5c146b", "sha256": "49ddaf79603607dd7010a15e13a7d1730d59f04d0dd75796a23648827002b5aa" }, "downloads": -1, "filename": "tfs-pandas-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4c4659ef0b3462f8d7f4278e3e5c146b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12530, "upload_time": "2019-08-08T15:50:20", "url": "https://files.pythonhosted.org/packages/0e/16/cfc130798fa0f5fd42c61a67da75b2c433d8ae9c3b26490ca38ba5184b63/tfs-pandas-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "032adf4a78567fa085afe0afab87d265", "sha256": "5aecf22ab918756c4625f99976dc873d94944bd951e20aecc5a5be1dc9e505e0" }, "downloads": -1, "filename": "tfs_pandas-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "032adf4a78567fa085afe0afab87d265", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14105, "upload_time": "2019-08-08T15:50:18", "url": "https://files.pythonhosted.org/packages/92/1a/39f80090314f3a2d2322948e1d480c96a3c95d03ebcb9390f146c1a4ae9d/tfs_pandas-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c4659ef0b3462f8d7f4278e3e5c146b", "sha256": "49ddaf79603607dd7010a15e13a7d1730d59f04d0dd75796a23648827002b5aa" }, "downloads": -1, "filename": "tfs-pandas-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4c4659ef0b3462f8d7f4278e3e5c146b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12530, "upload_time": "2019-08-08T15:50:20", "url": "https://files.pythonhosted.org/packages/0e/16/cfc130798fa0f5fd42c61a67da75b2c433d8ae9c3b26490ca38ba5184b63/tfs-pandas-1.0.3.tar.gz" } ] }