Skip to main content

No project description provided

Project description

Fast calculation of structural and autocorrelation functions

fastatomstruct is a Python package written in Rust that includes functions to calculate atomic structural quantities. If possible, thread-based parallelization (using rayon) is employed to speed up calculations and take advantage of multicore processors.

What can this package do?

The package can currently calculate the following quantities:

...

Installation

Installing fastatomstruct from source requires

  • Python 3
  • pip
  • a working Rust installation (1.56 and newer), including cargo
  • maturin, a Python package that can e.g. be installed using pip3 install --upgrade maturin

To build the Python wheel, run

maturin build --release

The resulting wheel will be located in target/wheels/. You can install it using

python3 -m pip install target/wheels/fastatomstruct-version.whl

Replace "version" with your actual Python version. The package can then be used in Python using e.g. from fastatomstruct import coordination_numbers.

Documentation

The documentation can be found here.

Example usage

Optimizing your installation for performance

Condider using

RUSTFLAGS="-c ..." maturin build --release

to optimize the binary for your local processor. As a downside, this will make the resulting Python wheel less portable.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

fastatomstruct-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

fastatomstruct-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

fastatomstruct-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

fastatomstruct-0.2.0-cp37-cp37m-manylinux_2_24_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.24+ x86-64

fastatomstruct-0.2.0-cp36-cp36m-manylinux_2_24_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.24+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page