{ "info": { "author": "Alex Ganose", "author_email": "aganose@lbl.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", "Topic :: Other/Nonlisted Topic", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Chemistry", "Topic :: Scientific/Engineering :: Physics" ], "description": "# Robocrystallographer\n\n[![PyPI version](https://badge.fury.io/py/robocrys.svg)](https://pypi.org/project/robocrys/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/47f851408d364efa9a8cdf0ed844cd8b)](https://www.codacy.com/app/utf/robocrystallographer)\n[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/47f851408d364efa9a8cdf0ed844cd8b)](https://www.codacy.com/app/utf/robocrystallographer)\n[![CircleCI](https://circleci.com/gh/hackingmaterials/robocrystallographer.svg?style=svg)](https://circleci.com/gh/hackingmaterials/robocrystallographer)\n\n\nRobocrystallographer is a tool to generate text descriptions of crystal\nstructures. Similar to how a real-life crystallographer would analyse a\nstructure, robocrystallographer looks at the symmetry, local environment, and\nextended connectivity when generating a description. The package includes\nutilities for identifying molecule names, component orientations,\nheterostructure information, and more...\n\n## Usage\n\nRobocrystallographer can be used from the command-line or from a python API.\nThe package integrates with the [Materials Project](https://materialsproject.org)\nto for allow generation of structure descriptions directly from Materials Project\nids. For example, to generate the description of SnO2 \n([mp-856](https://materialsproject.org/materials/mp-856/)), one\ncan simply run:\n\n```bash\nrobocrys mp-856\n```\n\nAlternatively, a structure file can be specified in place of a Materials Project id.\nRobocrystallographer supports the same file formats as \n[pymatgen](http://pymatgen.org), including the Crystallographic Information \nFormat (CIF), and common electronic structure package formats such as POSCAR files.\nMore information can be found on the \n[command-line interface page](https://hackingmaterials.github.io/robocrystallographer/cli.html).\n\n### Python interface\n\nThe two core classes in robocrystallographer are:\n\n- `StructureCondenser`: to condense the structure into an intermediate JSON\n representation.\n- `StructureDescriber`: to turn the condensed structure into a text description.\n\nA minimal working example for generating text descriptions is simply:\n\n```python\nfrom robocrys import StructureCondenser, StructureDescriber\n\ncondenser = StructureCondenser()\ndescriber = StructureDescriber()\n\ncondensed_structure = condenser.condense_structure(structure)\ndescription = describer.describe(condensed_structure)\n```\n\nWhere `structure` is a pymatgen Structure object. Both classes have many\noptions for customising the output of the structure\ndescriptions. More information is provided in the \n[module documentation](https://hackingmaterials.github.io/robocrystallographer/modules).\n\n### Intermediate JSON format\n\nThe format of the intermediate JSON representation is detailed on the\n[condensed structure format page](https://hackingmaterials.github.io/robocrystallographer/format.html).\n\n\n### Example output\n\nAn example of the output generated by robocrystallographer for SnO2 ([mp-856](https://materialsproject.org/materials/mp-856/)) is given below:\n\n

\n\"SnO2\n

\n\n```\n SnO2 is Rutile structured and crystallizes in the tetragonal P4_2/mnm space\n group. The structure is three-dimensional. Sn(1) is bonded to six equivalent\n O(1) atoms to form a mixture of edge and corner-sharing SnO6 octahedra. The\n corner-sharing octahedral tilt angles are 51\u00b0. All Sn(1)\u2013O(1) bond lengths\n are 2.09 \u00c5. O(1) is bonded in a trigonal planar geometry to three equivalent\n Sn(1) atoms.\n```\n\n## Installation\n\nRobocrystallographer can be installed using pip:\n\n```bash\npip install robocrys\n```\n\nRobocrystallographer requires Python 3.6+. The \n[OpenBabel](http://openbabel.org/wiki/Python) \npackage is required to determine molecule names. This is an optional \nrequirement but its use is recommended for best\nresults. If you are using the [Conda](https://conda.io/) package management\nsystem, OpenBabel can be installed using:\n\n```\nconda install -c openbabel openbabel\n```\n\n## What\u2019s new?\n\nTrack changes to robocrystallographer through the \n[Changelog](https://hackingmaterials.github.io/robocrystallographer/changelog.html).\n\n## Contributing\n\nRobocrystallographer is in early development but we still welcome your\ncontributions. Please read our [contribution guidelines](https://hackingmaterials.github.io/robocrystallographer/contributing.html)\nfor more information. We maintain a list of all\ncontributors [here](https://hackingmaterials.github.io/robocrystallographer/contributors.html).\n\n## License\n\nRobocrystallographer is released under a modified BSD license;\nthe full text can be found \n[here](https://hackingmaterials.github.io/robocrystallographer/license.html).\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/hackingmaterials/robocrystallographer", "keywords": "crystal-structure crystallography materials-science", "license": "modified BSD", "maintainer": "", "maintainer_email": "", "name": "robocrys", "package_url": "https://pypi.org/project/robocrys/", "platform": "", "project_url": "https://pypi.org/project/robocrys/", "project_urls": { "Homepage": "https://github.com/hackingmaterials/robocrystallographer" }, "release_url": "https://pypi.org/project/robocrys/0.1.3/", "requires_dist": [ "spglib", "numpy", "scipy", "pymatgen (>=2017.12.30)", "inflect", "networkx", "matminer", "monty", "pubchempy", "pybtex", "tqdm; extra == 'dev'", "pybel; extra == 'dev'", "pebble; extra == 'dev'", "maggma; extra == 'dev'", "sphinx; extra == 'docs'", "sphinx-argparse; extra == 'docs'", "sphinx-autodoc-typehints; extra == 'docs'", "m2r; extra == 'docs'", "nose; extra == 'tests'", "coverage; extra == 'tests'", "coveralls; extra == 'tests'" ], "requires_python": "", "summary": "Automatic generation of crystal structure descriptions", "version": "0.1.3" }, "last_serial": 4617900, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "93d3b8cbb12be6fe85f72f0ef9ce1d0a", "sha256": "e2b4ae60446cbd3f5991b4e3de0250fa39486acf40f286a6120848054bbb5e0e" }, "downloads": -1, "filename": "robocrys-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "93d3b8cbb12be6fe85f72f0ef9ce1d0a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3820266, "upload_time": "2018-12-18T23:53:09", "url": "https://files.pythonhosted.org/packages/86/b0/1414adfb8f1e620315efc7c96ef9c789cc8217626070ee4e7e0abc4501f9/robocrys-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c907321ae2775e140c5078b9d7fde93", "sha256": "1febd2f2ec9d14e0498c3b0d46534a34ffdfb4b2922f7a3514401ff551fd10be" }, "downloads": -1, "filename": "robocrys-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1c907321ae2775e140c5078b9d7fde93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3814229, "upload_time": "2018-12-18T23:53:12", "url": "https://files.pythonhosted.org/packages/d9/8b/4ef6dc375e4509865006ac75dfd12bb90bc302d1be893c9a752345f337a6/robocrys-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "db4231776bfee7c7ff609c0638813a98", "sha256": "7d3d00e02b513d0511a98653b7e986abcaee52e5293b7369d52b05206444ad58" }, "downloads": -1, "filename": "robocrys-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "db4231776bfee7c7ff609c0638813a98", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3820498, "upload_time": "2018-12-19T05:54:43", "url": "https://files.pythonhosted.org/packages/fc/24/64d8d5649322277ab64195641e04a9d4324a6372b98253f9f5d4d7ade2bb/robocrys-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d7d11a45c736e611dbd08fbd2d1a9307", "sha256": "f74f9bd6b89a7523205c11e8ba0a0796f46cc4ecd1beb9229b4df5aecce5d92e" }, "downloads": -1, "filename": "robocrys-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d7d11a45c736e611dbd08fbd2d1a9307", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3812644, "upload_time": "2018-12-19T05:54:47", "url": "https://files.pythonhosted.org/packages/5e/68/b74673a1feceea15e3eb85cdce97f4099f3f5e885c8c24283003d765478a/robocrys-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4d4c1a280f2864a4c7fe7a4c05461e90", "sha256": "7ccf7996cd609d631b346195245b4b1eeae822be90908f3fa6d005ad008528f6" }, "downloads": -1, "filename": "robocrys-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4d4c1a280f2864a4c7fe7a4c05461e90", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3820515, "upload_time": "2018-12-19T05:57:28", "url": "https://files.pythonhosted.org/packages/dc/22/fb0957ef96006d67e916b5d06824c261bb80b5c657e53494b8fe8bbd801a/robocrys-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b49a4480e29b4aa86eaaaad64a3458f2", "sha256": "8cfc1f38b0b679ef2d17ffec965b4db87c753c84f89d3d168205858c6907f916" }, "downloads": -1, "filename": "robocrys-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b49a4480e29b4aa86eaaaad64a3458f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3812673, "upload_time": "2018-12-19T05:57:33", "url": "https://files.pythonhosted.org/packages/ea/93/2937b659f426cbe59db5ebf60dc7fac7559756e90cd41870c9c316328c9d/robocrys-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "9fa736ded70e3cbaab90164d203c5613", "sha256": "746dc2730e4a425d23ebe9b98a7aee095197a7e197d49594651c2e4ea6c3ae18" }, "downloads": -1, "filename": "robocrys-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9fa736ded70e3cbaab90164d203c5613", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3819341, "upload_time": "2018-12-19T19:10:52", "url": "https://files.pythonhosted.org/packages/61/bc/f2549e252658341cf5cf8394e9a2040fb71b869d51f00f99dc4cd62e888b/robocrys-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "58485760ec584ac577191d92b56090ce", "sha256": "cfcabc99ebb533da2dd4a6c59ff64905a372e848954fab64f191143470f0dc8e" }, "downloads": -1, "filename": "robocrys-0.1.3.tar.gz", "has_sig": false, "md5_digest": "58485760ec584ac577191d92b56090ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3814970, "upload_time": "2018-12-19T19:10:54", "url": "https://files.pythonhosted.org/packages/04/56/74d5d6d92b31241a47e87452f6dda611073c8423edd4163008ecc908e458/robocrys-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fa736ded70e3cbaab90164d203c5613", "sha256": "746dc2730e4a425d23ebe9b98a7aee095197a7e197d49594651c2e4ea6c3ae18" }, "downloads": -1, "filename": "robocrys-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9fa736ded70e3cbaab90164d203c5613", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3819341, "upload_time": "2018-12-19T19:10:52", "url": "https://files.pythonhosted.org/packages/61/bc/f2549e252658341cf5cf8394e9a2040fb71b869d51f00f99dc4cd62e888b/robocrys-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "58485760ec584ac577191d92b56090ce", "sha256": "cfcabc99ebb533da2dd4a6c59ff64905a372e848954fab64f191143470f0dc8e" }, "downloads": -1, "filename": "robocrys-0.1.3.tar.gz", "has_sig": false, "md5_digest": "58485760ec584ac577191d92b56090ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3814970, "upload_time": "2018-12-19T19:10:54", "url": "https://files.pythonhosted.org/packages/04/56/74d5d6d92b31241a47e87452f6dda611073c8423edd4163008ecc908e458/robocrys-0.1.3.tar.gz" } ] }