Skip to main content

pymsym

PyPI version Downloads

libmsym is a C library dealing with point group symmetry in molecules. pymsym is its python interface.

about

this library was originally developed by Marcus Johansson. the original library can be found here and seems unmaintained - after reaching out to the initial authors, i've decided to fork this so i can maintain it.

for more info, read the blog post.

installation

use pip:

pip install pymsym

api

there are two high-level functions, pymsym.get_point_group() and pymsym.get_symmetry_number().

here's a simple introduction:

import pymsym

# water
atomic_numbers = [8, 1, 1]
positions = [
  [0.007544053252786398, 0.39774343371391296, 0.0],
  [-0.7671031355857849, -0.18439316749572754, 0.0],
  [0.7595590949058533, -0.21335026621818542, 0.0]
 ]

pymsym.get_point_group(atomic_numbers, positions) # returns C2v
print(pymsym.get_symmetry_number(atomic_numbers, positions)) # returns 2

the original lower-level classes from libmsym can also be accessed (pymsym.Element, etc).

point groups

here's all the point groups that pymsym can handle. some of these haven't been tested very well, please let me know if there are issues.

point_groups = [
    "C1", "Cs", "Ci", "C2", "C3", "C4", "C5", "C6", "C7", "C8",
    "D2", "D3", "D4", "D5", "D6", "D7", "D8", "C2v", "C3v", "C4v",
    "C5v", "C6v", "C7v", "C8v", "C2h", "C3h", "C4h", "C5h", "C6h",
    "C7h", "C8h", "D2h", "D3h", "D4h", "D5h", "D6h", "D7h", "D8h",
    "D2d", "D3d", "D4d", "D5d", "D6d", "D7d", "D8d", "S4", "S6",
    "S8", "T", "Th", "Td", "O", "Oh", "Cinfv", "Dinfh", "I", "Kh"
]

Corin Wagen, 2024

Metadata

Release files for pymsym 0.3.5

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

Source distribution (sdist)

Source distribution for pymsym 0.3.5
File Size Uploaded Provenance Actions
pymsym-0.3.5.tar.gz 89.0 kB Without provenance Details for pymsym-0.3.5.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pymsym 0.3.5
File Actions
pymsym-0.3.5-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for pymsym-0.3.5-cp314-cp314-musllinux_1_2_x86_64.whl
pymsym-0.3.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for pymsym-0.3.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
pymsym-0.3.5-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for pymsym-0.3.5-cp314-cp314-macosx_11_0_arm64.whl
pymsym-0.3.5-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details for pymsym-0.3.5-cp314-cp314-macosx_10_15_x86_64.whl
pymsym-0.3.5-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for pymsym-0.3.5-cp313-cp313-musllinux_1_2_x86_64.whl
pymsym-0.3.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for pymsym-0.3.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
pymsym-0.3.5-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for pymsym-0.3.5-cp313-cp313-macosx_11_0_arm64.whl
pymsym-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for pymsym-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl
pymsym-0.3.5-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for pymsym-0.3.5-cp312-cp312-musllinux_1_2_x86_64.whl
pymsym-0.3.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for pymsym-0.3.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
pymsym-0.3.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for pymsym-0.3.5-cp312-cp312-macosx_11_0_arm64.whl
pymsym-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for pymsym-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl
pymsym-0.3.5-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for pymsym-0.3.5-cp311-cp311-musllinux_1_2_x86_64.whl
pymsym-0.3.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for pymsym-0.3.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
pymsym-0.3.5-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for pymsym-0.3.5-cp311-cp311-macosx_11_0_arm64.whl
pymsym-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for pymsym-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl

Total release size: 1.9 MB

Release files / pymsym-0.3.5.tar.gz

Download URL pymsym-0.3.5.tar.gz
Size 89.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d3ca3fc5c1704ac3addb8521885144f06ca118d95d2af8e449bbe71b2d847150
BLAKE2b-256 checksum
How to use checksums
b6554647ce5b49f71807768fcc0ac78b3699706005ca0442c4a7aa8485bf2ad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL pymsym-0.3.5-cp314-cp314-musllinux_1_2_x86_64.whl
Size 121.0 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
fc22822ff7e0aa409d1d6560136bfedadbfdf0e708259c4977fc243dfe4d95f1
BLAKE2b-256 checksum
How to use checksums
0504ce898b80280ff30037853614d0f00e24b529eda0f013f174a286833e51d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL pymsym-0.3.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 119.2 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
be8173e81692ddd49e5735b76eb58996e48fcc3898520083ed2210954864dd68
BLAKE2b-256 checksum
How to use checksums
7800ea42e6faf78c7220fce9b36c3b35e5c3c6c0984894547ccc1110ca9dcac3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp314-cp314-macosx_11_0_arm64.whl

Download URL pymsym-0.3.5-cp314-cp314-macosx_11_0_arm64.whl
Size 104.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e3b7f36c1168493dd79ab7fa73407bb927a7389fa540af8f4ee89085460c2ba0
BLAKE2b-256 checksum
How to use checksums
5ca17e7d3534fa55a8cfbde992d23b3421a768fc2fddcbdd863e5c3f535d6a65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp314-cp314-macosx_10_15_x86_64.whl

Download URL pymsym-0.3.5-cp314-cp314-macosx_10_15_x86_64.whl
Size 115.5 kB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
ccb390db8fc02c9326978149f2e5407af94f98f35d52d3350427f44d7e8632b3
BLAKE2b-256 checksum
How to use checksums
89cc21c124d49f1f6b959b184e7c1092ecba87c4596cfe98bf2bb04bb08f8be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL pymsym-0.3.5-cp313-cp313-musllinux_1_2_x86_64.whl
Size 121.0 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
9266d45b71f9cc0b3f821157ed2062b04df7a8b0c891a2eb234500f678301409
BLAKE2b-256 checksum
How to use checksums
3385730c29a7d7a566bc4b89472310128e6c0dff534611dd20822d76370ba058
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL pymsym-0.3.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 119.2 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
26ecea43e656da88777d9ebea87af867ca8a6668f58ec2267f07d2bff5502aaf
BLAKE2b-256 checksum
How to use checksums
7b0f3a1ba824fdb10c8895be302055ea75fa0eb7f3525fea4f765dd55e8945be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp313-cp313-macosx_11_0_arm64.whl

Download URL pymsym-0.3.5-cp313-cp313-macosx_11_0_arm64.whl
Size 104.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
25de7f285dd2fea7b78819a30a80bf18e96f6c56e6808c2360b167fbfe1badf1
BLAKE2b-256 checksum
How to use checksums
b77c2089f249e01a135208033e291375f6eaee34e7907513318eb5124edd074b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl

Download URL pymsym-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl
Size 115.4 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
23cca5cd54cec1eff1e8ffcce9bdf6f83cdac37809f58df16ca38c43c6c3d099
BLAKE2b-256 checksum
How to use checksums
35e3c22c77f5da5f1d75b47b0b70d471f489cc1302834998bdfb84a25397c7d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL pymsym-0.3.5-cp312-cp312-musllinux_1_2_x86_64.whl
Size 121.0 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
5d20c0f97798f84933c79fb00931da74bfbd635653cf55b0e030bf593b7e2e1e
BLAKE2b-256 checksum
How to use checksums
5131be5f49601629a4da140f61bf338e608255f1dfde37306eddcbcae0ec2929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL pymsym-0.3.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 119.2 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1393dabff3cbca36711f8d55ab49266a8516406a30e21c7608b53b58e54279b5
BLAKE2b-256 checksum
How to use checksums
9b1dfd8c0df5701df68eced1b49f920e17112d10a451bd25d3d4c12c627b53bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp312-cp312-macosx_11_0_arm64.whl

Download URL pymsym-0.3.5-cp312-cp312-macosx_11_0_arm64.whl
Size 104.9 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1a849b213d4ba835882fdf834759051ea7386aafa7c33319424644dad9118b6b
BLAKE2b-256 checksum
How to use checksums
026b0274227260b40dd21ba0a5958d5d2b77b64d1606c7f209e86fa1df5adb44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl

Download URL pymsym-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl
Size 115.4 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
b8379e3f33c3ad94a8214464f3da37aaddff81386e0e0699c579541adeebe6d7
BLAKE2b-256 checksum
How to use checksums
13688e4d32f52fb7432d287a065a5131fc69bb66597acf0e8e392b96171b53d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL pymsym-0.3.5-cp311-cp311-musllinux_1_2_x86_64.whl
Size 121.0 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
894b3224479513340a54e115c3670bf9226e987a7cc9faa94e554c1444098110
BLAKE2b-256 checksum
How to use checksums
773576c7087bbb513183007c8669ec7afbc819296df4149318efc560fec1f640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL pymsym-0.3.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 119.2 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6adf39942e5bc0885b4af5e1503eae5051e417aab4a17d6b8744a0843f33328f
BLAKE2b-256 checksum
How to use checksums
adb2f34f0fb1ad3476a100a0bdc252c2aa4088b42c739a1be88ccb6633e9ff2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL pymsym-0.3.5-cp311-cp311-macosx_11_0_arm64.whl
Size 104.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bc3764a9d3fb4871932d0e514dc37666de3333c6326f918cedbd20ff4b3ec115
BLAKE2b-256 checksum
How to use checksums
f5c0361a93509f7824f195be8f2bb5cd45f9858cc2e3442f82608513569bdc97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / pymsym-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl

Download URL pymsym-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl
Size 115.2 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
f4ec131776af044c8c43094b10817f229fe260600a59cdaa72c075591f7c0e3f
BLAKE2b-256 checksum
How to use checksums
d901e9f8aa01c88d6fa16f65e88ba1a51997a46b5ca5f15cde807f762d862cc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for pymsym 0.3.5

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