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.5.1.tar.gz (451.5 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.5.1-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.5.1-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.5.1-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.5.1.tar.gz.

File metadata

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

File hashes

Hashes for pydseamslib-2.5.1.tar.gz
Algorithm Hash digest
SHA256 c2beef57f0696566303a709b7db2c582d939cfc1c085fa60edd1370f793e0054
MD5 37433c23e8ca90f17aefb67c3a2a135d
BLAKE2b-256 3a37938a75b3b872eda8c3094aae513e37b1fd7e2a99e0911d3129b9dc62d1f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.5.1.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.5.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pydseamslib-2.5.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 348a6c797a9644381160649981b3ff062d7e55340b6010a7162b13ce315dc1c8
MD5 592590cdd2aed9db6530690bb3b99f23
BLAKE2b-256 97a042ed2dc1fc16ea172d8f61ccf6d949f8b4adcd7504878f45dba4fc549ce5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.5.1-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.5.1-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pydseamslib-2.5.1-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4019a1abb4a2e9ea569b588ac888f955e17f9a455530939f8aa5b0fde71af3f1
MD5 7c09fbf67e434e4beef5bf9f003240dd
BLAKE2b-256 1d8aa5f9c6dd5401fe4f432b858ba9d0319153eed85453841e31cbaa33dae21a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.5.1-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.5.1-cp312-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pydseamslib-2.5.1-cp312-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 da70a53843eb28a90827b8e194eaeab67e0834f6bc2e12fa759d8cf54a423e75
MD5 2e6214b0e24df28d60ede019da7eab46
BLAKE2b-256 43a19ba457acd62afc2918e99756d7b9d0c2c6f5459bbdd6be1d05d9c72be428

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydseamslib-2.5.1-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