{"library":"parsnip-cif","title":"parsnip-cif","description":"Minimal library for parsing CIF and mmCIF files in Python. Version 0.5.0, released January 2026. Maintained by the Glotzer Lab. Active development with frequent minor releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install parsnip-cif"],"cli":null},"imports":["from parsnip import CifFile"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from parsnip import CifFile\n\n# Parse from a string\ncif_text = \"\"\"\ndata_test\n_cell_length_a 10.0\n_cell_length_b 10.0\n_cell_length_c 10.0\n\"\"\"\ncif = CifFile(cif_text, source='string')\nprint(cif.keys())  # ['_cell_length_a', '_cell_length_b', '_cell_length_c']\nprint(cif.get('_cell_length_a'))  # '10.0'\n\n# Parse a file (using context manager)\n# with open('structure.cif', 'r') as f:\n#     cif = CifFile(f)\n","lang":"python","description":"Basic parsing of CIF data using CifFile.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}