Skip to main content

The Chemical Core Class for Graph Theory Analysis.

Reason this release was yanked:

env

Project description

graphatoms

Conda Version Conda Downloads Pypi version PyPI Downloads

The Chemical Core Class for Graph Theory Analysis.

Overview

The graphatoms is a Python library designed for chemical graph theory analysis. It provides core classes for representing chemical systems and reactions with graph-based data structures.

Features

  • Graph-based Chemical System Representation: Represent chemical systems, clusters, and gas molecules using graph theory
  • Reaction Modeling: Support for reaction classes, KMC (Kinetic Monte Carlo) events, and MC (Monte Carlo) moves
  • Geometry Operations: Bond lists, distance calculations, neighbor lists, rotations, MIC (Minimum Image Convention), and sampling
  • Data Storage: Support for HDF5 and SQLite databases for efficient data persistence
  • Dataclasses: Pydantic-based data models for type-safe data handling
  • Array API Compatibility: Support for array API standard for cross-framework compatibility

Module Structure

src/graphatoms/
├── arrayapi/        # Array API compatibility layer
├── dataclasses/     # Pydantic-based data models
├── geometry/        # Geometric operations
├── reaction/        # Reaction classes and KMC events
│   ├── base/        # Abstract base classes
│   ├── event/       # KMC events (adsorption, desorption, reaction)
│   ├── mcmove/      # Monte Carlo moves
│   ├── mdwarpper/   # MD wrapper
│   └── network/     # Reaction network
├── system/          # Core system classes
│   ├── atoms/       # Atomic structure handling
│   ├── database/    # Database storage backends
│   └── graph/       # Graph-based system representation
└── utils/           # Utility functions

Requirements

  • Python >= 3.12
  • ase
  • pymatgen > 2023.6
  • rdkit >= 2025
  • scikit-learn >= 1.5
  • array-api-compat >= 1.10
  • array-api-extra >= 0.10
  • pyarrow
  • igraph >= 0.11
  • h5py >= 3.16
  • hydra-core
  • numpy >= 2.0.0
  • numpydantic
  • ovld
  • pydantic >= 2.10
  • python-snappy >= 0.7.3
  • loguru

Installation

pip install graphatoms

Or with conda:

conda install -c conda-forge graphatoms

Development

For development setup with pixi:

pixi install
pixi run test

Running Tests

# Run all tests
pytest src/tests/ -v

# Run benchmark tests
pytest src/tests-benchmark/ -v

License

GPL-3.0-or-later

Authors

Links

Project details


Download files

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

Source Distribution

graphatoms-1.1.4.tar.gz (167.2 kB view details)

Uploaded Source

Built Distribution

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

graphatoms-1.1.4-py3-none-any.whl (193.3 kB view details)

Uploaded Python 3

File details

Details for the file graphatoms-1.1.4.tar.gz.

File metadata

  • Download URL: graphatoms-1.1.4.tar.gz
  • Upload date:
  • Size: 167.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for graphatoms-1.1.4.tar.gz
Algorithm Hash digest
SHA256 8d641e40e0724eea4b5c2e3c74423d29a9bf1f478443094e10ce43d7dbc49158
MD5 e20ec170c7288c001c203be486a36870
BLAKE2b-256 27791a82dca08794d9a2b1baf2a5e798e87460c1e5698d86eb575cf08ab295b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphatoms-1.1.4.tar.gz:

Publisher: publish.yml on LiuGaoyong/GraphAtoms

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

File details

Details for the file graphatoms-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: graphatoms-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 193.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for graphatoms-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b3adf17b5a2f970b57edb9e9f31c7f9232ce682e747394f866a990e974a0e8f7
MD5 406e51a1250f59d79ae29ace849cd956
BLAKE2b-256 59aa5b5ada951ac6dd6b4051e4dfcb951b5ce5d6fcb654016ddbc210f255c38d

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphatoms-1.1.4-py3-none-any.whl:

Publisher: publish.yml on LiuGaoyong/GraphAtoms

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 Pingdom Monitoring Sentry Error logging StatusPage Status page