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.0.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.0-cp313-cp313-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 14.0+ ARM64

neptrainkit-2.7.0-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.0.tar.gz.

File metadata

  • Download URL: neptrainkit-2.7.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d81435c26e97d50603657e43577db9acd7ef8e223265257c25bc46db4165fb83
MD5 8e1537e8d8aed38120a9a6740cb37ec4
BLAKE2b-256 7834e75fc24ed71c76acd996d1c8aaee6c7df318f57bf3bbde819f62c05c1784

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0.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.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 79f3978b3f68c678b04272107857d2f227432e5c610ffc93a1798fb7e6d2ad5b
MD5 8316c633057983ac1f177d9a0a26e9de
BLAKE2b-256 d24a110c933dfd5e53f6730ea85deab8d011fd2393ff6da4020415aa94781d4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp313-cp313-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.0-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.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 c18cd777675f85cb68feec03df8943230f225ef09f1221cc494cf041541543b7
MD5 fa0f8ee888025d3b08447e6f5564929a
BLAKE2b-256 b6c2690c04998a8f234c1f485068957163061bf5ea48fdcf6fc270cb9fefdefa

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 26c4c2c94ec0a578ce7bc0706476269964efbabaae44e355a990c15d56ef0337
MD5 9a2f8d6157300a2d3c2d49f125f6995b
BLAKE2b-256 71bc954bfbfab0c6c7b367d377e66a03e2f876079952708b42e6efb18f000486

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 24c6b5a87715f58cd5f814bb08a7da51c3788425432511f01e865ac7c3bf9629
MD5 bc30643aed44728161da1c0a3031f3bd
BLAKE2b-256 e1c0a568801aa9d22578e86841f8d276c1e23a9c04b4f4af47fef58b9cbe9c5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9efc5a3a1f4726087590d9c526c001514ae4da1e95a3e9ee61d004cb6a595f4b
MD5 c0d5a8a88a2f746d11355ff91070175a
BLAKE2b-256 9040c91228326403b2b16c075494bd0b2bc485d30b77b1349cfc859cb7b47926

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp312-cp312-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.0-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.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 001847c3783e77eddd7de6a9b2098acac99fca0ccf70aac5db3d531594b3979f
MD5 7893ce7dc49e2ea22dceb8389ab38c7a
BLAKE2b-256 bacfceeff14e466beb9ef38eea758a41b080280ed68b16326062449759d9bce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9dc4f7f31fdb618aea57fac7726231f546a520250968fd5a4dc9be036c72c869
MD5 af86dbf6fc245ed523015e67bea558fc
BLAKE2b-256 ba95f32af745418e41c5a13218de842673dde19b40a5942f0e888da95b058328

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c90c9d5f0b8b6bc4f4c767d5b7603b9bbe3846bb3ff0def68e12df2722afbd1d
MD5 bfd28a0d47cae93a09de7e8abedce98d
BLAKE2b-256 5d716a984e4e4d0140ca7a962ee5bab56499eb6747c018d662b3fabb6c1875ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c19ae77e2a844f11211b18768e40d201e5136d8d58453e6a5d05614893d0663e
MD5 08c1a164ca826735cae95d45b82e8177
BLAKE2b-256 43e98cfd712577c2111040aefc12e6f0d39f7e47bbcf9826445c6cc28ac7ab3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.0-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.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 7e38b3325bf9ab405ae0c1abd574bfbde526031266959527468f44009ff45575
MD5 1c642d8dcffd99b90d38a47700ed37a1
BLAKE2b-256 11608eefb0e867f3273c2a1ddeefd7197c9d0076192bc54c3ef0da90c3163933

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eb94864064a0b245c6a17a352dec06dec6be87b48651f14752dd6b0f92ba0ec7
MD5 1a1e1f5f5203b17ae41568dd76e94d0f
BLAKE2b-256 98d2e1593dc0adbb4de048f7800e7d582c90494dc927cb0232c409668bbbbda1

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8104dc413274ff652347e3fe4a714b657b16099f3c8d40cadfe57279820b8abd
MD5 3d6c13fc39e6e4c0438311a20d644414
BLAKE2b-256 52c1b07e05cfb7bdacd4b3f2b7e66de4fbc22ae522f5eca0f0927c1f5665a151

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0da8966256bef3360eb29520def9b052a291a5894db66aa6103f69014a97c776
MD5 917de29af1658a23a1f627b1474374bf
BLAKE2b-256 2b1d99bff7b8b79f68770b553c6cd88770df196cdb122fc0ca79be41582536a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: neptrainkit-2.7.0-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.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 abe75b9f7b52699c6d6569c1bcf6d5f2c37c74ad98741a7dd6ac6a2c601dcf21
MD5 9b9141bc4b8ed6247eea4ccee26bacc7
BLAKE2b-256 4bc95de0ec8b1dd0a44e3ba7ff6843b00a0d334dae5c5aed217467ba93dbc6f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2de975d4703c3794bd113df3419091a58bba179b5674f2a566a2cc4bdb65b79b
MD5 655deaf084972b282afd0099e9cd6ce6
BLAKE2b-256 568ce0534c5a5b422b128b419acf7c6c67cf19f4698b3bccd4bc2e7d7caab9c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.7.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 af280e7878c47390b0f64af035c188c2e004aac6787eab1d936300be8cedcae0
MD5 20b448d07ae64db7f85bbbde1cab04a4
BLAKE2b-256 0d795f5ad050233c424b3abb455c29eb198b5845ee51c00af774b8a4b0e32456

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.7.0-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