Skip to main content

Mandacaru logo

License: MIT Python 3.14 PyPI version Documentation Status GitHub

Mandacaru

Mandacaru provides a Rust scientific core with a Python interface for electronic structure and fermionic quantum simulation. Rust owns molecular HF/DFT, variational optimization, scientific buffers and numerical kernels. Python provides input values, result views, ASE integration and external service adapters. There is no Python calculation engine or execution-engine selector.

Install and run

Mandacaru requires Python 3.14 and installs its scientific Python stack and quantum SDK integrations, including ASE, SciPy, Matplotlib, Qiskit, Braket and Cirq. Parquet files are read and written by the native extension and need no Python package. Platform wheels include the native extension. Building from source also requires Rust/Cargo.

python -m pip install mandacaru
from ase import Atoms
from mandacaru import Mandacaru

atoms = Atoms("H2",
              positions=[[0, 0, 0],
                         [0, 0, 0.74]],
              cell=[10, 10, 10])

atoms.center()

atoms.calc = Mandacaru(method="dft",
                       xc="pbe",
                       basis="HAO",
                       grid_spacing=0.20,
                       resources={"threads": 2})

print(atoms.get_potential_energy())  # eV
print(atoms.get_forces())            # eV/angstrom

Source layout

Location Responsibility
Cargo.toml, Cargo.lock Native workspace and locked dependencies
crates/mandacaru-core Basis, models, molecular/periodic solvers, PAW and quantum algorithms
crates/mandacaru-kernels Low-level numerical kernels
crates/mandacaru-python PyO3 bindings and checked NumPy transfers
src/mandacaru Python interface, workflows, result views and integrations
build_hooks/native.py Native extension build hook
scripts Local architectural and installation checks
docs Sphinx manual

There are no Rust sources inside the Python package.

Local checks

python scripts/check_architecture.py
cargo test --release --workspace
python -m pytest test/architecture
python -m sphinx -W --keep-going -b html docs/source /tmp/mandacaru-docs

Rebuild the editable extension after changing Rust:

python -m pip install --no-deps -e .

The manual describes native coverage, scientific conventions and remaining migration work. Unsupported models raise errors and do not select a Python numerical fallback.

Metadata

Release files for mandacaru 26.11.17

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

Source distribution (sdist)

Source distribution for mandacaru 26.11.17
File Size Uploaded Provenance Actions
mandacaru-26.11.17.tar.gz 3.0 MB Without provenance Details for mandacaru-26.11.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mandacaru 26.11.17
File Interpreter ABI Platform Actions
mandacaru-26.11.17-cp312-cp312-macosx_26_0_arm64.whl CPython 3.12 CPython 3.12 macOS 26.0+ ARM64 Details for mandacaru-26.11.17-cp312-cp312-macosx_26_0_arm64.whl

Total release size: 9.8 MB

Release files / mandacaru-26.11.17.tar.gz

Download URL mandacaru-26.11.17.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
64a966ce72fec309c92afc6d1bc6382b403606e326a3ea7d3e4898443a64dbfe
BLAKE2b-256 checksum
How to use checksums
d16d9b1f166b78a800a49bf4b0d57a19e65d67ed6deb394ad51bdff105348b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / mandacaru-26.11.17-cp312-cp312-macosx_26_0_arm64.whl

Download URL mandacaru-26.11.17-cp312-cp312-macosx_26_0_arm64.whl
Size 6.8 MB
Tags CPython 3.12 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
1af6a51709eae1b80b8610430162d53a459bb70d331d4a7aacd83852ccfe9fb6
BLAKE2b-256 checksum
How to use checksums
df8afe14ce775e0fa9d7bfacde1abc2876cab26f2100cf1828bd70bb26c98159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for mandacaru 26.11.17

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.

Release history Release notifications | RSS feed

This release

26.11.17 This release

2 release files No provenance

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