Skip to main content

PydSEAMSlib

pydseams

built with nix

Python bindings for the d-SEAMS C++ engine (seams-core).

This repository is the Python package pydseams. The C++ engine and seams CLI live in seams-core. Lua/Fennel is dseams in yodaStruct. Neighbour search is linkcell. Do not grow a second engine here. import pydseamslib still works.

pip install pydseamslib
pip install 'pydseamslib[ase]'      # ASE Atoms
pip install 'pydseamslib[solvis]'   # solvis / PyVista

Nix flake:

nix build
nix develop

Docs: docs/orgmode/ (ox-rst) and docs/source/ (Shibuya). Site: https://d-seams.github.io/PydSEAMSlib/.

import pydseams as ds

frame = ds.read("water.lammpstrj")   # also .xyz, .pdb, .gro, .dcd, .con
print(frame.chill_plus())
print(frame.cages())

frame = ds.from_ase(atoms)
atoms = frame.to_ase()
system = frame.to_solvis()           # optional extra

ds.read picks the engine reader from the suffix. yoda is the compiled surface. Helpers (Frame, io, ASE, solvis) stay in Python. _core and cyoda still name the same module.

Cutoff, frame, and k follow the same twelve-factor table as seams: SEAMS_CONFIG or ./seams.env, then the environment, then the function argument. pydseams.config is the reader.

Primary author: Ruhila S. The project started as PSF GSoC 2023 (pyseams).

Requires Python 3.12+. Wheels are built against the CPython 3.12 stable ABI (one abi3 wheel per platform). Free-threaded CPython has no limited ABI and is not a target.

License

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydseamslib-2.6.0.tar.gz (451.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pydseamslib-2.6.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pydseamslib-2.6.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

pydseamslib-2.6.0-cp312-abi3-macosx_14_0_arm64.whl (958.5 kB view details)

Uploaded CPython 3.12+macOS 14.0+ ARM64

File details

Details for the file pydseamslib-2.6.0.tar.gz.

File metadata

  • Download URL: pydseamslib-2.6.0.tar.gz
  • Upload date:
  • Size: 451.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pydseamslib-2.6.0.tar.gz
Algorithm Hash digest
SHA256 d200f1ec33f2595145b55b7b9f59a4d868092ef1d9bb4182f2fa98b9e6945058
MD5 e1ed66b5c269161948c4d8fff4a78907
BLAKE2b-256 d086bc9454526fdd6a5553ddbd6a834733345495f4dbaac308f8b6dfc73ee6ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.6.0.tar.gz:

Publisher: build_wheels.yml on d-SEAMS/PydSEAMSlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydseamslib-2.6.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pydseamslib-2.6.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ef53fb24a2c001d7fbfb513ec6c911b59975e0c8baf92249f4eebf08f7c1efe
MD5 9f752838fc096b6243223a455b98db95
BLAKE2b-256 b6f56cf0c14b7d9e92273942bb2873e25052d404cab5cccd36c2e8d71860459a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.6.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on d-SEAMS/PydSEAMSlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydseamslib-2.6.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pydseamslib-2.6.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d3ad5700ca707a14521f3fe30c5fc865daf392762d84488691713934d1ccf8de
MD5 11ff3b3990d7590fa87c262d8e833df0
BLAKE2b-256 c32a75b0544dc207cc21921ec47281bcccfcf8d6256ca64e24db77145e5605b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.6.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build_wheels.yml on d-SEAMS/PydSEAMSlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydseamslib-2.6.0-cp312-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pydseamslib-2.6.0-cp312-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 110b2f93c8aeb856f5655e7c2e8afa2a57eac24640e7d3a2c88d3fef7f1b7b40
MD5 a6236da82d2be4f9e675920b5ea52de3
BLAKE2b-256 3eddb6268809f8d60ae7e8698fbc6e8f738f0cd1263d91d66277dc7d1410f78d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.6.0-cp312-abi3-macosx_14_0_arm64.whl:

Publisher: build_wheels.yml on d-SEAMS/PydSEAMSlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page