{"id":21674,"library":"ovito","title":"OVITO","description":"OVITO (Open Visualization Tool) is a scientific data visualization and analysis software for atomistic and particle simulation data. Version 3.15.3 supports Python 3.10+. It provides a Python module for scripting data import, modification, visualization, and analysis. The library is under active development by OVITO GmbH.","status":"active","version":"3.15.3","language":"python","source_language":"en","source_url":"https://gitlab.com/ovito/ovito","tags":["visualization","molecular-dynamics","atomistic-simulation","data-analysis","scientific-visualization"],"install":[{"cmd":"pip install ovito","lang":"bash","label":"Install OVITO"}],"dependencies":[],"imports":[{"note":"The main entry point; all modules are accessed via ovito.io, ovito.modifiers, ovito.data, etc.","symbol":"ovito","correct":"import ovito"},{"note":"After loading a simulation file, the pipeline's compute method returns a DataCollection object.","symbol":"DataCollection","correct":"from ovito.data import DataCollection"}],"quickstart":{"code":"import ovito\nfrom ovito.io import import_file\nfrom ovito.modifiers import SelectTypeModifier\n\npipeline = import_file('simulation.dump')\nmod = SelectTypeModifier(types=['Atom'])\npipeline.modifiers.append(mod)\ndata = pipeline.compute()\nprint(data.attributes['SelectType.count'])","lang":"python","description":"Load a simulation file, add a modifier to select atoms, compute the pipeline, and print the count."},"warnings":[{"fix":"Rewrite scripts to use the new module structure (e.g., ovito.io instead of ovito.import_file). Refer to the migration guide.","message":"OVITO 3.0+ uses a new Python API that is not backwards compatible with OVITO 2.x scripts.","severity":"breaking","affected_versions":">=3.0"},{"fix":"Install OVITO via 'pip install ovito' or use the bundled Python interpreter that comes with the OVITO desktop application.","message":"The ovito Python module is only available in the OVITO Python interpreter or when installed via pip. Running 'import ovito' in a standard Python environment may fail if the OVITO conda/pip package is not installed.","severity":"gotcha","affected_versions":"all"},{"fix":"Always call pipeline.compute() before accessing data or attributes.","message":"Modifiers are applied lazily: calling pipeline.compute() is required to get the data. Reading data before compute returns an empty DataCollection.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.10':24 '3.15.3':21 'activ':42 'analysi':12,37,56 'atomist':15,52 'atomistic-simul':51 'data':9,19,32,55 'data-analysi':54 'develop':43 'dynam':50 'gmbh':46 'import':33 'librari':39 'modif':34 'modul':29 'molecular':49 'molecular-dynam':48 'open':3 'ovito':1,2,45 'particl':17 'provid':26 'python':23,28 'scientif':8,58 'scientific-visu':57 'script':31 'simul':18,53 'softwar':13 'support':22 'tool':5 'version':20 'visual':4,10,35,47,59","created_at":"2026-04-27T17:01:09.381322+00:00","updated_at":"2026-04-27T17:01:09.381322+00:00","problems":[{"fix":"Run 'pip install ovito' or install the OVITO conda package.","cause":"OVITO Python package not installed in the current environment.","error":"ModuleNotFoundError: No module named 'ovito'"},{"fix":"Use 'from ovito.io import import_file' instead.","cause":"Importing from the wrong module path: ovito.import_file is deprecated since OVITO 3.0.","error":"AttributeError: module 'ovito' has no attribute 'import_file'"},{"fix":"Ensure you have installed 'ovito' via pip and have a valid license if required for certain features.","cause":"Attempting to use ovito in a non-OVITO Python interpreter without a valid license or without installing the pip package.","error":"RuntimeError: This operation is not supported in the current interpreter mode"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.15.4","cli_name":"","cli_version":null,"type":"library","homepage":"https://www.ovito.org","github":null,"docs":"https://docs.ovito.org/python/","changelog":null,"pypi":"https://pypi.org/project/ovito/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-28","install_tag":null}}