Skip to main content

NepTrainKit is a Python package for visualizing and manipulating training datasets for NEP.

Project description


NepTrainKit

NepTrainKit is a toolkit focused on the operation and visualization of neuroevolution potential (NEP) training datasets. It is mainly used to simplify and optimize the NEP model training process, providing an intuitive graphical interface and analysis tools to help users adjust train dataset.


Community Support


Installation

It is strongly recommended to use pip for installation.

Method 1: Install via pip

If you are using Python 3.10 or a later version, you can install NepTrainKit using an environment manager like conda:

  1. Create a new environment:

    conda create -n nepkit python=3.10
    
  2. Activate the environment:

    conda activate nepkit
    
  3. For CentOS users, install PySide6 (required for GUI functionality):

    conda install -c conda-forge pyside6
    
  • Install directly using the pip install command:

    pip install NepTrainKit
    

    GPU build note (Linux/WSL2): The build auto‑detects CUDA. If a compatible CUDA toolkit is present, the NEP backend is compiled with GPU acceleration; otherwise, it falls back to a CPU‑only build. If CUDA is not detected automatically, export one of CUDA_HOME or CUDA_PATH and ensure the lib64 directory is on your loader path before running pip install:

    # choose your installed CUDA version/path
    export CUDA_HOME=/usr/local/cuda-12.4
    export PATH="$CUDA_HOME/bin:$PATH"
    export LD_LIBRARY_PATH="$CUDA_HOME/lib64:${LD_LIBRARY_PATH}"
    # now install
    pip install NepTrainKit
    

    GPU build note (Windows PowerShell): Set CUDA_PATH (or CUDA_HOME) and add bin to Path before pip install:

    $env:CUDA_PATH = "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.4"
    $env:Path = "$env:CUDA_PATH\\bin;" + $env:Path
    pip install NepTrainKit
    

    After installation, you can call the program using either NepTrainKit or nepkit.

  • For the latest version (from GitHub):

    pip install git+https://github.com/aboys-cb/NepTrainKit.git
    

Method 2: Windows Executable

A standalone executable is available for Windows users.

  • Visit the Releases page
  • Download NepTrainKit.win32.zip

Note: Only supported on Windows platforms.

GPU Acceleration (optional)

  • NepTrainKit includes an optional GPU‑accelerated NEP backend.
  • Requirements: NVIDIA GPU/driver compatible with CUDA 12.4 runtime.
  • Selection: In the app, go to Settings → NEP Backend and choose Auto/CPU/GPU.
    • Auto tries GPU first and falls back to CPU if unavailable.
    • Adjust GPU Batch Size to balance speed and memory.
    • If you see “CUDA driver version is insufficient for CUDA runtime version”, switch to CPU.

Documentation

For detailed usage documentation and examples, please refer to the official documentation:
https://neptrainkit.readthedocs.io/en/latest/index.html

  • What's new: see docs/source/changelog.md or the Documentation "Changelog" page.

Citation

If you use NepTrainKit in academic work, please cite the following publication and acknowledge the upstream projects where appropriate:

@article{CHEN2025109859,
title = {NepTrain and NepTrainKit: Automated active learning and visualization toolkit for neuroevolution potentials},
journal = {Computer Physics Communications},
volume = {317},
pages = {109859},
year = {2025},
issn = {0010-4655},
doi = {https://doi.org/10.1016/j.cpc.2025.109859},
url = {https://www.sciencedirect.com/science/article/pii/S0010465525003613},
author = {Chengbing Chen and Yutong Li and Rui Zhao and Zhoulin Liu and Zheyong Fan and Gang Tang and Zhiyong Wang},
}

Licensing and Attribution

  • License: This repository is licensed under the GNU General Public License v3.0 (or, at your option, any later version). See LICENSE at the repository root.
  • Third‑party code: NepTrainKit incorporates source files and adapted logic from:
  • Directory‑level notes: See src/nep_cpu/README.md and src/nep_gpu/README.md for file‑level provenance, what was modified or added, and links to the upstream projects. A consolidated overview is also available in THIRD_PARTY_NOTICES.md.
  • Redistribution: Any modifications and redistributions must remain under the GPL and preserve copyright and license notices, per the GPL requirements.

For academic use, cite NepTrainKit as shown above and acknowledge NEP_CPU and/or GPUMD as appropriate.

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

neptrainkit-2.7.1.tar.gz (6.2 MB view details)

Uploaded Source

Built Distributions

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

neptrainkit-2.7.1-cp313-cp313-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.13Windows x86-64

neptrainkit-2.7.1-cp313-cp313-win32.whl (6.7 MB view details)

Uploaded CPython 3.13Windows x86

neptrainkit-2.7.1-cp313-cp313-macosx_14_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

neptrainkit-2.7.1-cp313-cp313-macosx_13_0_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

neptrainkit-2.7.1-cp312-cp312-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.12Windows x86-64

neptrainkit-2.7.1-cp312-cp312-win32.whl (6.7 MB view details)

Uploaded CPython 3.12Windows x86

neptrainkit-2.7.1-cp312-cp312-macosx_14_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

neptrainkit-2.7.1-cp312-cp312-macosx_13_0_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

neptrainkit-2.7.1-cp311-cp311-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.11Windows x86-64

neptrainkit-2.7.1-cp311-cp311-win32.whl (6.7 MB view details)

Uploaded CPython 3.11Windows x86

neptrainkit-2.7.1-cp311-cp311-macosx_14_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

neptrainkit-2.7.1-cp311-cp311-macosx_13_0_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

neptrainkit-2.7.1-cp310-cp310-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.10Windows x86-64

neptrainkit-2.7.1-cp310-cp310-win32.whl (6.7 MB view details)

Uploaded CPython 3.10Windows x86

neptrainkit-2.7.1-cp310-cp310-macosx_14_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

neptrainkit-2.7.1-cp310-cp310-macosx_13_0_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file neptrainkit-2.7.1.tar.gz.

File metadata

  • Download URL: neptrainkit-2.7.1.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neptrainkit-2.7.1.tar.gz
Algorithm Hash digest
SHA256 669da2021afa04cc0ae73358ada92216b6d87d4eaeceafe9b686d90b4a880b18
MD5 663ad00e3889f152283536420e756bce
BLAKE2b-256 68802ff04f533671dd175f47872cbe1686cd0077b691b71eaa6d5c5e9e6b0fcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1.tar.gz:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5a2414c32207dbce24ab3ff2f9877144145dad351d043da43a1b1f3403e6102c
MD5 7ef48fd2753c9dceae222af05144820b
BLAKE2b-256 7637bbd328f4def39538481979ea5c36b18c959dcd39d594ab2e3e75f121d4fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp313-cp313-win_amd64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp313-cp313-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neptrainkit-2.7.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 c06893d5214036b6d14d4236de67a59f046dc5ea7b131e5ce20ede3dce40adef
MD5 3c82163b3d1e0006fab2aae768f799e5
BLAKE2b-256 598e42c71b634c6e1379d17e1fec0c3f912015874ce381d89ff4fbed2b254e31

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp313-cp313-win32.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c5b02bb354eb59e58a53685f2b41670846e6d14d15755b85378f5aa9e92b1140
MD5 a83e7c1dfe0b6ed65c4335c9322e91b5
BLAKE2b-256 ea6278046085def3fa4ac91109f9b1a4f7bb295b613466f0e473c3a410bacefd

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 42b683a46cbe584aa071a5bb8fd494221eb65fa6a5744fbd91a03f4e6755d466
MD5 7d3b9586b9bd9e828e561fcae0368ec5
BLAKE2b-256 14f6e4c6d46c39c07fbec3caf352803862c51b475084f18c51d1652394266554

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 76880f288af3ccf06310341a3d1b6e82ed4f3ffe26b6617168ac90154982033b
MD5 1420950a19718743beedb56740e43d75
BLAKE2b-256 5a2200e794491cc8766bdff65ded70a491d3ba45cfef59448445f399e1be1834

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp312-cp312-win_amd64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neptrainkit-2.7.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 41532a9f5968ba593c56b843a5cc2f1d61a2523fb73f7c528fd5fc60acfa0b4e
MD5 de5cef900f09ca5d424354fafafff27a
BLAKE2b-256 f7fb10de6bcc51373d170d3d04620596ff0e939522ae00cf495a47e2d9d679a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp312-cp312-win32.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ed0b76af011b28be132c1e8beda9e80de9198f748bde40be96b00e22e64116e4
MD5 82ef4bbf403aefdd5905320de45e001f
BLAKE2b-256 b229c3ffb2dc3502d8882b3f815e7ab0308f93ea16fcc79de9b835bca1298a2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 530272e19a5ea6e7e24ad3bf404373c89e903f78b466b9cc87865695581a85bf
MD5 d8efb5d18a9a7a24dc2c7a68704ace58
BLAKE2b-256 ac3693395c04eeb7ec4f29cee15acf9ff57b01e84669cd91a0c46d8d176f478e

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 48653b27f909a9215a9a527265945a9070cadb0d83a76c78527182e7eeb9206c
MD5 de1fe6743cae3767258de88905257046
BLAKE2b-256 dd2722782e5e4c1e532810bfcaef3947478142961ad7adb12c28047abc0c2eb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp311-cp311-win_amd64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neptrainkit-2.7.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 3d4aa69cfcf024e52a62b58a19b143b7ec27772cc8577a54afcee65ae5175e04
MD5 86d7946d19a9efb7f20969acd421feb6
BLAKE2b-256 158e8b950e7bd5bc277b6dcb451b4dff0a2ec7d86c8887bc0b742ba8299f0a64

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp311-cp311-win32.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6d8411947cc5755b712336796e1d262c761effc0dd26c73b45a7ec3abb30aade
MD5 ff1d46bea2d3f45880941cddda7c634d
BLAKE2b-256 173c1081d02b11fec26598e14a5f480dba7f3791f5b6bae87f447422230f6043

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 db5dbc45ce4378b92bf3ba27127605333f742e3758943858c426676714fd8771
MD5 6892aaeda554c60a45b842399e5d6a78
BLAKE2b-256 50a47c4cca5cdad116ab070ee65a7c6d1371019088d54c8011ac79445a2d9246

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 495553ccf0873bdbca88feda36baeae20f0a3de9f8fda6789011a7352fd92c57
MD5 ef2909702b0d352c64fc9dab19f4bd31
BLAKE2b-256 66a609d453a66ec3d2883895fa693abb63a06e3b3e1d6c71c74ee64369de1afb

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp310-cp310-win_amd64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neptrainkit-2.7.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 1ec0ed88c9b4e59fc7676dd3ad6225f5579e5d370e1c9b1173d431fd386999a8
MD5 cb668d27348facf5078d64764895f28d
BLAKE2b-256 a4533bd2d2e92efb63361764a57af1c789a7b1c75f29f07f16e6e27f1c4d2b9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp310-cp310-win32.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 388cbf2d04d83952f95003cc6191ed85dc91f9cf5e35da8c6aab845b236a7d26
MD5 67127a59fffbf6d45e286653efeb6437
BLAKE2b-256 9dec68d2d6d6475c68f0bab8dc2fb8bc2851f81b23802a61ddcd93389705e41e

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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

File details

Details for the file neptrainkit-2.7.1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b4f204759b992d4ae2b71ed7520d55610cdfb97af644556050669db6f89ba9c
MD5 3e9d5a1f6334b7c5bb7977d8bffd8127
BLAKE2b-256 f323b8b9f8e3004256a4b8bd02f98799fee3ad49ff780ebdc0eb28dc1022133b

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.1-cp310-cp310-macosx_13_0_x86_64.whl:

Publisher: python-publish.yml on aboys-cb/NepTrainKit

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