Skip to main content

kim-tools

Testing docs PyPI codecov

KIMTestDriver and SingleCrystalTestDriver classes for creating OpenKIM Test Drivers, and helper routines for writing KIM Tests and Verification Checks. Documentation at https://kim-tools.readthedocs.io.

Contributing Guide (Under Construction)

All contributed functions, classes and methods should be documented with Google style docstrings (https://google.github.io/styleguide/pyguide.html#383-functions-and-methods) and should have type hints for all arguments and return values (https://docs.python.org/3/library/typing.html). The docstrings are automatically rendered into the API documentation. To check that this is working correctly, install the Python packages in docs/requirements-docs.txt and run make html in docs/. There are some warnings, but there should be no errors, and the rendered docstring in the appropriate module html (e.g., docs/build/html/kim_tools.ase.html) should have a properly rendered section for the functions, classes and methods you wrote. See kim_tools/test_driver/core.py for a variety of examples of docstrings.

The code has a simple test suite using pytest. See the various files named test_* in tests/ for examples and add tests for any code you write.

To confirm that your code will pass the linter and style checks, install pre-commit as in this guide: https://pre-commit.com/#quick-start. The checks will run every time you make a commit.

kim_tools/ase contains utility functions that can be used for interatomic calculations. It is inherited from merging https://github.com/openkim/kim-python-utils into this repo. Previously, it worked only with KIM Models. All new functions added to this module should support being passed both a KIM Model as a string, and an ASE Calculator object. See kim-tools/ase/core.py::get_isolated_energy_per_atom for an example. If you are working on or with existing functions in this module, try to upgrade it to this functionality.

Download files

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

Source Distribution

kim_tools-0.4.14.tar.gz (910.8 kB view details)

Uploaded Source

Built Distribution

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

kim_tools-0.4.14-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file kim_tools-0.4.14.tar.gz.

File metadata

  • Download URL: kim_tools-0.4.14.tar.gz
  • Upload date:
  • Size: 910.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for kim_tools-0.4.14.tar.gz
Algorithm Hash digest
SHA256 47fadb094844a4df770e4d876f1de27a24bb0dc4df2c33fb6bf841b3c818c71d
MD5 955315d5dfb16e3571ac884224122470
BLAKE2b-256 7bf954370c683ece499cc9d43a4ef654f26f5c43e4f12b7f3e3e92b248f76d0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for kim_tools-0.4.14.tar.gz:

Publisher: release.yml on openkim/kim-tools

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

File details

Details for the file kim_tools-0.4.14-py3-none-any.whl.

File metadata

  • Download URL: kim_tools-0.4.14-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for kim_tools-0.4.14-py3-none-any.whl
Algorithm Hash digest
SHA256 08e769ba608567e738279d3f442d3bfaa7719a7ee0995131521bbd361225e191
MD5 9217ef85a3741b30b82c44f9cd4c5b17
BLAKE2b-256 e6a88b4f981aa371f86de7109c79985767d73784c90ae682eeb557419d0f2157

See more details on using hashes here.

Provenance

The following attestation bundles were made for kim_tools-0.4.14-py3-none-any.whl:

Publisher: release.yml on openkim/kim-tools

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

Release history Release notifications | RSS feed

This release

0.4.14 This release

2 files

0.4.13

2 files

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.14

2 files

0.3.13

2 files

0.3.12

2 files

0.3.11

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page