Skip to main content

MCPoly

Some methods to deal with some manipulation of computational chemistry, mostly about mechanical properties of polymers.

Overview

MCPoly is a Python library to make some steps of computational chemistry easier. It includes some functions of drawing molecule structures, creating proper .xyz , .inp , .mol and .data file, which specialised for using ORCA and LAMMPS, and some functions for researching the mechanical property of some polymers.

Updated in v0.6.1(11.10.23)

  1. Add molesplit function in 'status' package to judge the location of the atom.
  2. Add Hbond function in 'status' package to count the number of hydrogen bonds.

Updated in v0.6.0(08.08.23)

  1. Standardise the package to fit PEP 8 style, so 'DATAtoXYZ' is changed into 'DataToXyz', 'DATAtomolTXT' is changed into 'DataToMolTxt', 'XYZtoINP' is changed into 'XyzToInp'.
  2. Add special functions about Molecular Dynamic functions in ORCA.
  3. Fix some bugs about ORCA Calculations Settings.
  4. Fix some bugs about ORCA GUI display.
  5. Fix some bugs about judging the maximum iteration of atoms.
  6. Fix some bugs about save .xyz file in ORCA GUI.
  7. Fix some bugs about selecting files in ComboBox by file location.
  8. Add special functions 'untie' to tidy up your molecule number.

Updated in v0.5.1.3(29.06.23)

  1. Add 'rebuild' in 'lmpset' package. You can now use it to rebuild geometry structure of LAMMPS input data now.
  2. Add 'DATAtoXYZ' in 'lmpset' package to convert LAMMPS Data File into XYZ File
  3. Add 'DATAtomolTXT' to convert LAMMPS Data File into LAMMPS Molecule Text File.
  4. All these functions can be used by lmpset.mould().XXX() now.
  5. Fix some bugs about ORCA Calculations Settings.
  6. Fix some bugs about ORCA GUI display.
  7. Fix some bugs about judging the maximum iteration of atoms.

Updated in v0.4.2.3(12.06.23)

  1. BIG UPDATE: Molecule Designer GUI is included in this package. You can now use it to draw molecule with 3D view at the same time.
2. Add 'chain' in 'lmpset' package. You can now use it to convert periodic polymer structure input data now. 3. Fix some bugs about ORCA Calculations. 4. Fix some bugs about calculating stress-strain curve.

Functions for ORCA

orcaset

Used to create ORCA input files and run it on ORCA. It's especially handy for researching mechanical property of polymers.

status

Because we can't use ORCA to visualize the geometry structure, this command can be used to see the optimisation status and the trait of geometry structure.

view3d

See the 3D structure of a normal .xyz file.

sscurve

With calculated .xyz file, we can draw the stress-strain curve of each polymer, and we can also calculate the Young's modulus of relevant polymers.

moldraws (Under Construction)

Used to build a simple molecule and save it under .xyz form.

Functions for LAMMPS

lmpset

Used to draw special patterns of polymers. Mostly in grids.

Installation

To get MCPoly, you can install it with pip: $ pip install MCPoly

If you want to get the latest version of MCPoly, you can see the latest release here:

https://github.com/Omicron-Fluor/MCPoly/release

There will be a corresponding release on pip for each release on GitHub, and you can update your MCPoly with:

$ pip install MCPoly --upgrade

How to cite

https://github.com/Omicron-Fluor/MCPoly

Outlook

We will add some new function about polymers based on ReaxFF.

Metadata

Release files for MCPoly 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MCPoly 0.6.1
File Size Uploaded Provenance
MCPoly-0.6.1.tar.gz 102.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for MCPoly 0.6.1
File Interpreter ABI Platform
MCPoly-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 226.6 kB

Release files / MCPoly-0.6.1.tar.gz

Download URL MCPoly-0.6.1.tar.gz
Size 102.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a889d9f1ee6d798733fa078ed3f071217bf396df3414fc4aa0e92ba9e6dbb59
BLAKE2b-256 checksum
How to use checksums
eb859086187c700830f47641549741d9a56401606dc411e4524166807f1d9719
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / MCPoly-0.6.1-py3-none-any.whl

Download URL MCPoly-0.6.1-py3-none-any.whl
Size 124.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fd060f9f9cb6ee5c63f3067181cfa900f050e7a35c375455dd6ba4d6d2699dd
BLAKE2b-256 checksum
How to use checksums
f1580145e1651ac3ab30c11c4126e79596ec4bf909e01fd310d157a5596b7559
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for MCPoly 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page