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}"
    
    # (optional) if you need to explicitly target your GPU compute capability (SM),
    # set NEP_GPU_GENCODE before pip install, e.g. for Turing (7.5):
    export NEP_GPU_GENCODE="arch=compute_75,code=sm_75"
    # or multiple targets:
    # export NEP_GPU_GENCODE="-gencode arch=compute_75,code=sm_75 -gencode arch=compute_86,code=sm_86"
    # 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


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.8.4.tar.gz (6.4 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.8.4-cp313-cp313-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.13Windows x86-64

neptrainkit-2.8.4-cp313-cp313-win32.whl (6.9 MB view details)

Uploaded CPython 3.13Windows x86

neptrainkit-2.8.4-cp313-cp313-macosx_15_0_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

neptrainkit-2.8.4-cp313-cp313-macosx_15_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

neptrainkit-2.8.4-cp312-cp312-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.12Windows x86-64

neptrainkit-2.8.4-cp312-cp312-win32.whl (6.9 MB view details)

Uploaded CPython 3.12Windows x86

neptrainkit-2.8.4-cp312-cp312-macosx_15_0_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

neptrainkit-2.8.4-cp312-cp312-macosx_15_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

neptrainkit-2.8.4-cp311-cp311-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.11Windows x86-64

neptrainkit-2.8.4-cp311-cp311-win32.whl (6.9 MB view details)

Uploaded CPython 3.11Windows x86

neptrainkit-2.8.4-cp311-cp311-macosx_15_0_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

neptrainkit-2.8.4-cp311-cp311-macosx_15_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

neptrainkit-2.8.4-cp310-cp310-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.10Windows x86-64

neptrainkit-2.8.4-cp310-cp310-win32.whl (6.9 MB view details)

Uploaded CPython 3.10Windows x86

neptrainkit-2.8.4-cp310-cp310-macosx_15_0_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

neptrainkit-2.8.4-cp310-cp310-macosx_15_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for neptrainkit-2.8.4.tar.gz
Algorithm Hash digest
SHA256 4f9e2698c0656390e4de5f0fa708642c6dee82cafaa78c95a58bcc22abf9a46c
MD5 7c484ad0b0f3aca9eed27f17f1a65669
BLAKE2b-256 f41dbae12b68a1d341670bb083a0f7b6e8504c5ad138d334bc19f0ad3feb7398

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2d9c9c78c27cf3c031a5e50e1f24f9f482a6825356c9fffd3d52b42005e371a0
MD5 bbb8cf66226c9017c21c2a9a6c9e2c08
BLAKE2b-256 6e1c69decf320a1eadb719fd864ea27987045bae7abdd5db5728140637b9953e

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for neptrainkit-2.8.4-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 0cdcac0a9ae1ae65115eef5da0de9e0caf7110e18825d4c4a3d4e97b45f43077
MD5 0e745cb25e34ccda79257b2237673ebe
BLAKE2b-256 590c4f47a23eb549f21c0f2a8863e5203a8001d8a32535c8d745d3139d4557ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-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.8.4-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c00e94ed7741df5aa35d71d59ce92d1cf548b3c1834949765d7fae6443f46f0a
MD5 96f8b7617ca9bc27053a30cf6937fa99
BLAKE2b-256 b10987ce9cc41314d24807f7b183c1f77d896ed09f6f17e5bd56b1c6d73bcd4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp313-cp313-macosx_15_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.8.4-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0e291f48879aba53a3239e4b385405a8b9d1bf2582737667f55ed17d5069ad02
MD5 63368f255d0f8492cad373021ec78ff7
BLAKE2b-256 bb34a955f05f35cbd6934da31c485eb19117558f0b8862fb621b13c8273514ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp313-cp313-macosx_15_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.8.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 89741f41469d4f62ed29537ba3996d3e23c46bd706035705d278d8b26d893900
MD5 aece89a07744f617b62a14f975c493c4
BLAKE2b-256 c8df381e3deb52245f14a84a1746322a9c23132caf6ab31b7d0a8f1133b2bc57

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for neptrainkit-2.8.4-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 974b2843298b78371a2b67ddf823ec2c39b950cd1b336624fc4a619c508aeb4f
MD5 e61fbc0e76657dc7d6524bd075be2341
BLAKE2b-256 9560b47e8957b805e2e25229202ee87cb950cda5b463e56e57f4cf766c1548a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-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.8.4-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a52baf8ce9279eeee87febe610f421cbfa6ebf99d523233937515ca3fc316170
MD5 742a53e8b4fc3855afecf28cecf7d159
BLAKE2b-256 d9aebcb185d9531ed0095a2d1ada4bb7154c1a92864597ba338c5a6bafa8c558

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp312-cp312-macosx_15_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.8.4-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fd3fa9036f85c02a469cdae4958a92bf7cb892f1722713877f62d4abe5e3bca8
MD5 925412d447fbcf6233326df1b3092284
BLAKE2b-256 fb4edf2f0e8179c21fbb896261a85290fee32feaf11cfab2c5e5d133224591e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp312-cp312-macosx_15_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.8.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3e66e9b8c8110ee08885672554d02d7818141e74885760d1d2aa960073b337a8
MD5 e4d9484d417a21f0e405d6a5c8bf6ca4
BLAKE2b-256 85e2b651260e97394608f6d7b3a19764242d49a238009ced6632bb598b569ed0

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for neptrainkit-2.8.4-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 b9e48e9c5e16b6a14e09e01599d6e1b7a1618895fc715cbe73db36c4576805cd
MD5 3c45a0766d7fb529eb2defe8410c9d2d
BLAKE2b-256 a0abcea0d8ced15f73fcbf7c480ed903c097224aa12f75d3a5181b728b9288e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-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.8.4-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d72418ca8caad7867a7f37cf3f1cfe2e2210afb9e7ddd55f4606b967060dfe61
MD5 6ed2eb31b28c4400dc7d774f7eaaff80
BLAKE2b-256 749589eb377c2bd863ea16cc31fb586b055cce7cadafa77579c854092c0bfe25

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp311-cp311-macosx_15_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.8.4-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 112186d181c23b546338889224b98f1c5f7163db86ba278a6d7270bd4e7d905a
MD5 0e03c1fab0d4e3826698c3449cb72ea0
BLAKE2b-256 2da3c1c4a504f328401cc07e27997326ebf31aaa0a8bb1f0c7a79e41c4a90066

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp311-cp311-macosx_15_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.8.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7f9eb1fdba35f4aa5fe3f7df30b5ebf68212ae12fb2e84f090c28f54376f1a32
MD5 5270d8d51e9fe7f43eab7b96643a5d8b
BLAKE2b-256 69e4236603a6f41d91240b1fe22baf74283ed7209af062d328ebf5bb414b98b0

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for neptrainkit-2.8.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 5568ec5d5a6f4a98c1480f5d7d47ae39d70b16d3fe17af7cd4d18cf4c09a3c8b
MD5 689dd57e119e1e3daf9ec05fc61c439c
BLAKE2b-256 d540f34c929e2b02ef797a9576b87ba23796156f1c7a322855f2b03f87d0d761

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-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.8.4-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a509e9ddf3ea80ce41da4dea1cd4d8ec2b4841e53a625bb45a0f64a2253c392c
MD5 c5746d11a7dc82f898d67c600f24dbd1
BLAKE2b-256 1e6e0468efe8f232bf566768ef62f1ad7231556fb3534201ccd62f593bfc33f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp310-cp310-macosx_15_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.8.4-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for neptrainkit-2.8.4-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 068f21976880abdb5e6fa18cd3c8ea0c56d651c08db39a7c8d56897e72719d47
MD5 9c1b10c4a26f5d2a0751eda775965014
BLAKE2b-256 71969ec0abc7110df7b6746b7dfc2535896de66bbc266d0f5843a10b8199e727

See more details on using hashes here.

Provenance

The following attestation bundles were made for neptrainkit-2.8.4-cp310-cp310-macosx_15_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.

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