Skip to main content

Fast, compressed storage for atomic structures with properties.

Project description

atompack

Fast, compressed storage for atomic structures with properties.

Install

uv pip install atompack-db

Import the package as atompack after installation.

The Hugging Face Hub upload/download helpers are included in the main package.

Quick start

import atompack
import numpy as np

positions = np.array([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0]], dtype=np.float32)
atomic_numbers = np.array([6, 8], dtype=np.uint8)
mol = atompack.Molecule(positions, atomic_numbers)
mol.energy = -123.456
mol.forces = np.array([[0.1, 0.2, 0.3], [0.4, 0.5, 0.6]], dtype=np.float32)

db = atompack.Database("data.atp")
db.add_molecule(mol)
db.flush()

Reopen with mmap for read-only access, or disable mmap when you want to append:

db = atompack.Database.open("data.atp")             # read-only, mmap=True by default
db = atompack.Database.open("data.atp", mmap=False)  # writable append mode

Hugging Face Hub

import atompack

db = atompack.hub.open("LeMaterial/Atompack", "omat/train")
print(db[0].energy)
db.close()

Remote datasets such as omat/train and omol/train can be opened directly from LeMaterial/Atompack.

More

Full documentation and benchmark notes live in the repository root README.md.

If you are working on the Rust crate directly, the maintained Rust entrypoints are:

  • cargo run -p atompack --example basic_usage
  • cargo run -p atompack --release --bin atompack-bench -- --help

License

Apache-2.0

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

atompack_db-0.2.0.tar.gz (415.4 kB view details)

Uploaded Source

Built Distributions

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

atompack_db-0.2.0-cp312-cp312-win_amd64.whl (684.7 kB view details)

Uploaded CPython 3.12Windows x86-64

atompack_db-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

atompack_db-0.2.0-cp312-cp312-macosx_11_0_arm64.whl (858.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

atompack_db-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl (955.0 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

atompack_db-0.2.0-cp311-cp311-win_amd64.whl (684.0 kB view details)

Uploaded CPython 3.11Windows x86-64

atompack_db-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

atompack_db-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (862.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

atompack_db-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl (959.1 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

atompack_db-0.2.0-cp310-cp310-win_amd64.whl (684.5 kB view details)

Uploaded CPython 3.10Windows x86-64

atompack_db-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

atompack_db-0.2.0-cp310-cp310-macosx_11_0_arm64.whl (862.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

atompack_db-0.2.0-cp310-cp310-macosx_10_12_x86_64.whl (959.3 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

atompack_db-0.2.0-cp39-cp39-win_amd64.whl (685.9 kB view details)

Uploaded CPython 3.9Windows x86-64

atompack_db-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

atompack_db-0.2.0-cp39-cp39-macosx_11_0_arm64.whl (865.9 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

atompack_db-0.2.0-cp39-cp39-macosx_10_12_x86_64.whl (961.4 kB view details)

Uploaded CPython 3.9macOS 10.12+ x86-64

atompack_db-0.2.0-cp38-cp38-win_amd64.whl (685.5 kB view details)

Uploaded CPython 3.8Windows x86-64

atompack_db-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

atompack_db-0.2.0-cp38-cp38-macosx_11_0_arm64.whl (865.3 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

atompack_db-0.2.0-cp38-cp38-macosx_10_12_x86_64.whl (960.9 kB view details)

Uploaded CPython 3.8macOS 10.12+ x86-64

File details

Details for the file atompack_db-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for atompack_db-0.2.0.tar.gz
Algorithm Hash digest
SHA256 018216289464410aa4e3ddf093c4a032791eced4f4f7567ce16704fd713ca110
MD5 2d5d1b4b9bd3a3f68aa4beadc7d35b63
BLAKE2b-256 7e22f3e813747bd805b4ba964700a9f57a5e0475bf5e7207cb303a10383675de

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0.tar.gz:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 988bef70c2cc063e25b2a99fa30d719c4616b498eba8fafdc245686102f66777
MD5 dfb697807b58df2cc0849264459e0b72
BLAKE2b-256 e6ba829e9fc3a5f83d3d9fa9e5c92259b640f77d8e11a32b511fda3702fad512

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp312-cp312-win_amd64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b4e384ab6bea72a46fc4e57eb41e51bf8ccf2e420f6073f3c58ed053afe671d3
MD5 a0dd8a84e37c9d9912c21f30a17d710e
BLAKE2b-256 8785a3d2903a5493f8603c635729f0db3c0c7cf5ece1f77f844f946904cf25f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 94b843286468ee95b2972969f33b73e5d150cc46ee07ac264c40539e2f4bda4e
MD5 cc4da94a809e66ee993ae03c56de6476
BLAKE2b-256 ca7e8e91e77603a40774a451b9832a29a993e1894bc9996ad6722decb22bc67d

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3c79cfe7483477ba06bdd5fc95c96b5e661309318641d78a0493674aac034355
MD5 972802199a385a4361f4ba67c61613c6
BLAKE2b-256 0e2bd66954b5f0430dfe25e20ab79c47c7854b6e1857022f9795f54f523f1f44

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 88b092d5d36c74f9ee76571f641d381011efe9d57e372e59effdbffb671a079d
MD5 994aafb58847cf5f91b7344197f469fc
BLAKE2b-256 0a041725dca755cb7b6138c0e2291618da205c743e4c7d21ae49f50089a2cc13

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp311-cp311-win_amd64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7274917ba7cd2222c62c005307b7fde42887f92b0c6b8e26365fe08a3389160e
MD5 8565cbed8987a781942d8cc101fc4afc
BLAKE2b-256 34ac0f7aee873c2f5c39d72e531c04cc13832c2abd6a53ca7f908c584d57c1f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eed3400cd7c77e16cafffeb6f658ae8ed12cac7d703d7d72ae0c0a129c2ce956
MD5 41dbdd1a103ab9ac0797fff90dc2a33e
BLAKE2b-256 cdde15db19470f355c336d3242bf53c31f9e6a14fe7212e42ad36ec45d7a8271

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 624f5005f15844c923c55385f866bc4fb988ea9997a5caf476756bbc79d18024
MD5 a3c774ab2f47f35f2561a6cd4286f0e0
BLAKE2b-256 943cf2172f83973f7b1a1f37fdc1da9cc2576aa902832de6d197f7a5a96c9de2

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f913403ff42105e98faeba77c354f7a4358c20ddbc0140a0bcfd3d6edba3a59b
MD5 7eef91f66d73530c7502769289d78a91
BLAKE2b-256 3e550e028466e9e168ee65bf047fb03513300142cb78cea3a55bdebe1d3f2313

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp310-cp310-win_amd64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7223a9fd12b54652ad7cff61f43b982b82bcb16ecdcd4c11ab93df35e9da8095
MD5 768ae08bf5ab666eb5aecd1351a91a33
BLAKE2b-256 5e7370e8b68524bdeca7ebd2c424412fafdfaf50346cbda5e5c7f2db8eef5fc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2f28003f1e0728b4b1d839202af0b1053b6293ac558bd41a4a438f147bdf3fb
MD5 1e24faea18bb1a6a2b3dc270b1a0376f
BLAKE2b-256 6fa4683a6b987ec7334bf16cab9ec1b936cac5b0c435c7b1917d75d60403cf5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 91c74da3f3426665b5fee29825d92d91176953add7970836be8451217084dc58
MD5 2096ecf559bc8b279e321ccd0e240ddd
BLAKE2b-256 109585846724e3588463d71c7c05daa0070891fd7bae4dd8c1e58efa1f80c822

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp310-cp310-macosx_10_12_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: atompack_db-0.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 685.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atompack_db-0.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2acce7244c2ce9bad507ce4e85993de08483f740c26ea509caa747d376ded7fb
MD5 ef870b237ed471530df22bffb24d0476
BLAKE2b-256 0603f2c19ea0d401c499e85679f462058b05f246617e799d2929d4a8548fe49e

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp39-cp39-win_amd64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5ceda049e5c6f131b52e4291e5c95b3069dc65ae9df0a8cff7cf632e11c5c14
MD5 94eb515750e218f9d51bcc1b8df4c777
BLAKE2b-256 3af3b15737275a8258a363bc26cd6cd9037e33f4a8ac2cbadb74c5aeda67a0a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d20c6f919ae71fd94f4e3d77da9132324c2d7f6cfe81ff80c7be4e6890c8f699
MD5 b0480653b682583063e9f911a6c28ba8
BLAKE2b-256 3d7ff25a6972d963af2158ab2fc35a2185f722b9fea55dd6b9ce3ac891e66cb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 80e1c329bcdeef8c6b92488f049daadcc65d877b53b6d3683066e6090011bce2
MD5 a6f3bcf712e2654040a8e6dc472afde4
BLAKE2b-256 eb2bb6dbe8293ebc62e3f1471ac77cfb8bfe04c908c5e4d42502da8d3c495d92

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp39-cp39-macosx_10_12_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: atompack_db-0.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 685.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atompack_db-0.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e5ce770184cd1cdd06d5bcf4c952094b2c7d55e9b16864567176a5d511cf00d3
MD5 4cb71db1a52ea6d1f9987987d6e26b74
BLAKE2b-256 b3d5429b6a8ef908e12368650c50e717e57c5c6f406dfadc01fe1363ebdb7794

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp38-cp38-win_amd64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae89c2180d743b93a5fc011ca0cee3f971c60a589e0b1698820753f67624946a
MD5 5556c74d4d7e52cb87a395ffb3e626bf
BLAKE2b-256 dc1824edefcde144bcdb6da8f8392de98b1fd2b681f91314e116e4c61dbd7265

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5df9d2f76894eaca6d5c8c85203394ef15948d24a238f10a71a630f6e46a9228
MD5 c92a0cbf4c35b83382d5e6b70b4dbfa8
BLAKE2b-256 7fae4541e2d85af1bd5d662591530985d6629e13efaf473cdff0b5459b3d7565

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp38-cp38-macosx_11_0_arm64.whl:

Publisher: release.yml on LeMaterial/atompack

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

File details

Details for the file atompack_db-0.2.0-cp38-cp38-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for atompack_db-0.2.0-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1119999643673e7b65e4dba14783c430b8a80fc2ff4ddd5ffe53bbb32eaf3201
MD5 5061420908a974c3425c32777970cb0d
BLAKE2b-256 13004fe1dbd32d8e149190da2c1118aa15a962763da0408eed92e054f0b3b9ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for atompack_db-0.2.0-cp38-cp38-macosx_10_12_x86_64.whl:

Publisher: release.yml on LeMaterial/atompack

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