{"id":26826,"library":"chem","title":"Open edX Cheminformatics Helper","description":"A helper library for chemistry calculations, used by the edx-platform. Version 2.0.0 is the latest stable release. Originally part of edx-platform, it was spun off as an independent package. Release cadence is irregular.","status":"active","version":"2.0.0","language":"python","source_language":"en","source_url":"https://github.com/openedx/openedx-chem","tags":["chemistry","edx","openedx"],"install":[{"cmd":"pip install chem","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"The package is named 'chem' on PyPI, but the module is also 'chem'. No common wrong import.","symbol":"chem","correct":"import chem"}],"quickstart":{"code":"import chem\n\n# Example: access chemistry constants or functions\nfrom chem import some_function  # replace with actual function\nprint(chem.__version__)","lang":"python","description":"Import the library and use its functions. Replace with actual API calls from documentation."},"warnings":[{"fix":"Pin to version: pip install chem==2.0.0","message":"The package name 'chem' is very short and may conflict with other packages. Ensure you are installing the correct 'chem' from PyPI.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'calculate' instead of 'add'.","message":"Version 2.0.0 introduced a breaking change: the function 'add' was removed and replaced by 'calculate'. Check changelog for details.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install chem' and ensure the import is 'import chem'.","cause":"The package is not installed, or the import name is different.","error":"ModuleNotFoundError: No module named 'chem'"},{"fix":"Use 'from chem import calculate' instead, or downgrade to 1.3.0.","cause":"The 'add' function was removed in version 2.0.0.","error":"ImportError: cannot import name 'add' from 'chem'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}