Mcse
Molecular Crystal Simulation Library (mcse) is an open-source Python package for manipulating and analyzing molecular crystal structures
Install / Use
/learn @manny405/McseREADME
==== mcse
.. contents:: :local:
.. figure:: doc/static/logo.png :height: 562 :width: 765 :scale: 40 % :align: center
The Molecular Crystal Simulation Environment (mcse) is an open-source Python package for manipulating and analyzing molecular crystal structures. mcse provides a practical and parallel set of tools to efficiently analyze thousands of geometries. Included is a unique Structure class for representing molecular crystals that allows users to easily and automatically obtain the molecules that make up the crystal. The molecules are found automatically by computing the covalent bonds from the periodic atomic geometry. Any typical geometry file format is accepted, through wrappers to ase_ and pymatgen_.
.. _ase: https://wiki.fysik.dtu.dk/ase/
.. _pymatgen: https://pymatgen.org/
Installation
To start installing and using mcse, it's highly recommended to start from an Anaconda distribution of Python, which can be downloaded for free here_.
.. _here: https://www.anaconda.com/products/individual
Then download the library from Github. A zip file can be downloaded using the green download code button. Alternatively, this repository can be obtained using the following command.
.. code-block:: bash
$ git clone https://github.com/manny405/mcse.git
After navigating to the mcse directory, installation is completed with the following commands.
.. code-block:: bash
$ python -m pip install -r requirements.txt
$ python setup.py install
All requirements and dependencies will be installed automatically. Please be patient as this may take a while if multiple significant dependencies are missing.
Examples
The examples folder provides an introduction to the mcse library. Included are details about the current features and analysis methods that are implemented. Geometry files are included for running every example in each respective folder. Provided is a short description of the topics that are covered:
1_Introduction: Covers the input and output (IO) of geometry files, the features of themcse.Structureobject including automatically finding molecules, and converting to and fromase,Pymatgen, andmcse.2_Standardize: Covers the standardization of molecules and crystal geometries. Standardization of crystals is to ensure that the covalent bonds of molecules are not split across periodic boundary conditions. Standardization of molecules places their center of mass and principal axis at the origin.3_Analysis_Drivers: Covers theDriverclass for performing complex analysis of molecular crystals through a standardized API. Covers thePairwiseDriverclass for comparing crystal geometries. All currently available analysis methods inmcseare described. Lastly, covers how analysis can be automatically parallelizationlibmpi.4_Visualize: Covers rendering of images for molecules and crystals provided inmcse. These capabilities automate the creation of excellent images for hundreds or thousands of geometries.
Features
Currently provided is a pre-release version of mcse. Given below is a visual representation of the features of the pre-release library. Each feature is covered in more detail with examples in the examples directory.
.. figure:: doc/static/mcse_features.png :height: 1320 :width: 1428 :scale: 40 % :align: center
Credits
I_ have been the sole developer of this library during my PhD. The use of this library by others within my research group and by external collaborators has provided a catalyst for the implementation of many features and API changes. Thank you to everyone that has used the library prior to this initial release.
.. _I: http://ibier.io/
Related Skills
claude-opus-4-5-migration
83.0kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
336.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
mcp-for-beginners
15.6kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
TrendRadar
49.8k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
