{ "info": { "author": "Piccolo Lab", "author_email": "stephen_piccolo@byu.edu", "bugtrack_url": null, "classifiers": [], "description": "# shapeshifter Python Module\nThe official repository for the shapeshifter Python module, which allows for:\n* Transforming tabular data sets from one format to another.\n* Querying large data sets to filter out useful data.\n* Selecting additional columns/features to include in the resulting data set.\n* Merging data sets of various formats into a single file.\n* Gzipping resulting data sets, as well as the ability to read gzipped files.\n\nClick for information on the [shapeshifter command-line tool](https://github.com/srp33/ShapeShifter-CLI), which combines\nthe features of shapeshifter with the ease and speed of the command-line!\n\nBasic use is described below, but see the full documentation on [Read the Docs](https://shapeshifter.readthedocs.io/en/latest/). \n## Install\n`pip3 install shapeshifter`\n\n## Basic Use\nAfter installing, import the ShapeShifter class with `from shapeshifter import ShapeShifter`. A ShapeShifter object \nrepresents the file to be transformed. It is then transformed using the `export_filter_results` method. Here is a simple\nexample of file called `input_file.tsv` being transformed into an HDF5 file called `output_file.h5`, while filtering \nthe data on sex and age:\n```python\nfrom shapeshifter import ShapeShifter\n\nmy_shapeshifter = ShapeShifter(\"input_file.tsv\")\nmy_shapeshifter.export_filter_results(\"output_file.h5\", filters=\"Sex == 'M' and Age > 40\")\n```\nNote that the type of file being read and exported to were not stated explicitly but inferred by shapeshifter based on\nthe file extensions provided. If necessary, `input_file_type` and `output_file_type` can be named explicitly.\n\n\n## Contributing\nWe welcome contributions that help expand shapeshifter to be compatible with additional file formats. If you are \ninterested in contributing, please follow the instructions [here](https://github.com/srp33/ShapeShifter/wiki).\n## Currently Supported Formats\n#### Input Formats:\n* CSV\n* TSV\n* JSON\n* Excel\n* HDF5\n* Parquet\n* MsgPack\n* Stata\n* Pickle\n* SQLite\n* ARFF\n* GCT\n* Kallisto\n* GEO\n\n#### Output Formats:\n* CSV \n* TSV\n* JSON\n* Excel\n* HDF5\n* Parquet\n* MsgPack\n* Stata \n* Pickle\n* SQLite \n* ARFF \n* GCT \n* RMarkdown \n* JupyterNotebook\n\n## Future Formats to Support\nWe are working hard to expand ShapeShifter to work with even more file formats! Expect the following formats to be \nincluded in future releases:\n* Fixed-width files (fwf)\n* Genomic Data Commons clinical XML\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/srp33/ShapeShifter", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "shapeshifter", "package_url": "https://pypi.org/project/shapeshifter/", "platform": "", "project_url": "https://pypi.org/project/shapeshifter/", "project_urls": { "Homepage": "https://github.com/srp33/ShapeShifter" }, "release_url": "https://pypi.org/project/shapeshifter/1.1.1/", "requires_dist": [ "pandas", "pyarrow", "numpy (==1.15.4)", "sqlalchemy", "xlsxwriter", "tables", "xlrd", "nbformat" ], "requires_python": "", "summary": "A tool for managing large datasets", "version": "1.1.1" }, "last_serial": 4931565, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "802a8ef6823345fa68a9f6965beae733", "sha256": "e25e471c3618a3d185d27957bf59c639c82e985fa387e5e59b9e02ebbe259194" }, "downloads": -1, "filename": "shapeshifter-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "802a8ef6823345fa68a9f6965beae733", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 44715, "upload_time": "2019-01-11T15:31:29", "url": "https://files.pythonhosted.org/packages/ff/c0/7882563e42b36bd43109cf6bbaa12817e8a7c8a8f8798e21ea695b4de516/shapeshifter-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b2beab1050de50f49d04aedc072a927", "sha256": "7268d2dbd4b962c6e3cd3d0f9b782f4b61f240843c4e205a3e546278eae9da15" }, "downloads": -1, "filename": "shapeshifter-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4b2beab1050de50f49d04aedc072a927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25422, "upload_time": "2019-01-11T15:31:30", "url": "https://files.pythonhosted.org/packages/f4/9a/68057329ce557b93c2b425935de1f9cf046e6a67fd401d82a709d1fcaec2/shapeshifter-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c51d370efcbdf7efc0bb6ff8afc445ac", "sha256": "00af8caa04a6c3de75bf7bbf6738108b489b5edf5bde59a220ec569a3e1fcee8" }, "downloads": -1, "filename": "shapeshifter-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c51d370efcbdf7efc0bb6ff8afc445ac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 44714, "upload_time": "2019-01-24T19:34:12", "url": "https://files.pythonhosted.org/packages/69/98/45adea0e724def66888b92b47bdd3cce40eda390354ef61de8f362299410/shapeshifter-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f20e3b8f2ad570dfba19d2ad4dfb168c", "sha256": "dea83a20033b75e35cd4483b8703d322f81315a448133615f9254d75a03c1924" }, "downloads": -1, "filename": "shapeshifter-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f20e3b8f2ad570dfba19d2ad4dfb168c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43149, "upload_time": "2019-01-24T19:34:13", "url": "https://files.pythonhosted.org/packages/ba/63/27d7f75a09d90e0ab0a640bf2338ef580e343685f468660182a05aaac754/shapeshifter-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "dff365f1c65124253b9a48342e139752", "sha256": "9d592d5c19052b5eeca8f09dbd860a383243c44c6b3ccf3684532a89c5663805" }, "downloads": -1, "filename": "shapeshifter-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dff365f1c65124253b9a48342e139752", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34159, "upload_time": "2019-03-05T15:28:07", "url": "https://files.pythonhosted.org/packages/3c/72/5f0307ca9f02b29595e9f6592f051a0ccdf133b6bbb7195b85aec47afac8/shapeshifter-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6400bbeb8c79ba7fdbcc3dbfe108134", "sha256": "ed8901a5cc1c0fd87d38f2a837ad8e068419339c42bc28e29479ec64eb8f6325" }, "downloads": -1, "filename": "shapeshifter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c6400bbeb8c79ba7fdbcc3dbfe108134", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18890, "upload_time": "2019-03-05T15:28:09", "url": "https://files.pythonhosted.org/packages/9d/2a/19b6f63f4625c3a34810ae7f2d8556c6e417a69f22681a5fb1ed5ac4c24b/shapeshifter-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "816ebea4c7e6a5f5a77a1b95e4e11fbf", "sha256": "b1f7117b1831e8749de4e215275445abcbd59660b9534f26744c7b23122c7fa0" }, "downloads": -1, "filename": "shapeshifter-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "816ebea4c7e6a5f5a77a1b95e4e11fbf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34215, "upload_time": "2019-03-11T17:12:17", "url": "https://files.pythonhosted.org/packages/db/82/ed00f9c227ac0255a021c1b7837d4bdc06cf2221a8f7a4f7f0c56ffcbaf2/shapeshifter-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c91cdeaf76e006e3858fac6ea05a3f3", "sha256": "9c74b84dbabf23484dfd9da8a97c93a20b874e2ce44e930d4bc31d52b64507cc" }, "downloads": -1, "filename": "shapeshifter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1c91cdeaf76e006e3858fac6ea05a3f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19349, "upload_time": "2019-03-11T17:12:19", "url": "https://files.pythonhosted.org/packages/f6/e4/05a9bc68bbef400b8f365331d87675a7e29cc6f3c9192cd9f335d898b2fc/shapeshifter-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "39ffbe69c4f05654994ca6fecb0d6b79", "sha256": "13c630b6ed9846149cdbc918683059236e1fcdb6171479e66a116dfdc1e68589" }, "downloads": -1, "filename": "shapeshifter-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "39ffbe69c4f05654994ca6fecb0d6b79", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35281, "upload_time": "2019-03-12T19:14:10", "url": "https://files.pythonhosted.org/packages/ce/d4/90b58c82104ea4140229f528546c20c8ca48a3c1b03ff6c47bf194905358/shapeshifter-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee65c44ffa2c03782a844d0e738eb8aa", "sha256": "9679af30022df7eeeafa11d9f8dd62408417bb439efb343f272de615eadacd33" }, "downloads": -1, "filename": "shapeshifter-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ee65c44ffa2c03782a844d0e738eb8aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20486, "upload_time": "2019-03-12T19:14:11", "url": "https://files.pythonhosted.org/packages/64/03/e4c6848ec7d2e5982bae145b314ef16349df4cb193585ef3450efb939914/shapeshifter-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39ffbe69c4f05654994ca6fecb0d6b79", "sha256": "13c630b6ed9846149cdbc918683059236e1fcdb6171479e66a116dfdc1e68589" }, "downloads": -1, "filename": "shapeshifter-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "39ffbe69c4f05654994ca6fecb0d6b79", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35281, "upload_time": "2019-03-12T19:14:10", "url": "https://files.pythonhosted.org/packages/ce/d4/90b58c82104ea4140229f528546c20c8ca48a3c1b03ff6c47bf194905358/shapeshifter-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee65c44ffa2c03782a844d0e738eb8aa", "sha256": "9679af30022df7eeeafa11d9f8dd62408417bb439efb343f272de615eadacd33" }, "downloads": -1, "filename": "shapeshifter-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ee65c44ffa2c03782a844d0e738eb8aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20486, "upload_time": "2019-03-12T19:14:11", "url": "https://files.pythonhosted.org/packages/64/03/e4c6848ec7d2e5982bae145b314ef16349df4cb193585ef3450efb939914/shapeshifter-1.1.1.tar.gz" } ] }