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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 15.0+ x86-64

neptrainkit-2.8.3-cp313-cp313-macosx_15_0_arm64.whl (6.9 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

neptrainkit-2.8.3-cp312-cp312-win_amd64.whl (9.0 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 15.0+ x86-64

neptrainkit-2.8.3-cp312-cp312-macosx_15_0_arm64.whl (6.9 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

neptrainkit-2.8.3-cp311-cp311-win_amd64.whl (9.0 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 15.0+ x86-64

neptrainkit-2.8.3-cp311-cp311-macosx_15_0_arm64.whl (6.9 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

neptrainkit-2.8.3-cp310-cp310-win_amd64.whl (9.0 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 15.0+ x86-64

neptrainkit-2.8.3-cp310-cp310-macosx_15_0_arm64.whl (6.9 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for neptrainkit-2.8.3.tar.gz
Algorithm Hash digest
SHA256 4f2b541877fec03ed7f249864fc531bced0a6bb6804a4ce637e3888218b99624
MD5 807025a33386557c7c4def1a2c150c85
BLAKE2b-256 5a05d06f952ad5e09e3c350d3cd4345b5af0c30ee6ce02812c685c1eff32b8d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0ba019687db154aa5e12df5828ab8b40c59ef47bf7831c9660169b9e4a6ba202
MD5 126f5d3639fd00a89bf4080ade3afef7
BLAKE2b-256 1965ecb6cec0389094b3f79250723598a049721b262b330e9cbc1750e1a7c6f2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.3-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.7

File hashes

Hashes for neptrainkit-2.8.3-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 f08c360866dc1e774933fbc1756c923fc7843eb124d1f8a88c06ba480b8c7137
MD5 7a06e4222cb6f548024b8844fa7ea77a
BLAKE2b-256 87df1e8be1d2c1d6ce078d64a2cc30602d2cb4b56d9b699d652406c0931eca0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4f2719889332672d9e64e679d6575b177b3cbf6351efcf41b1e53cf2add90f82
MD5 57e3b03a210ab813e5739401bff7b86f
BLAKE2b-256 0b6aa3b41b31139ce5241d5312fe0d914eb79403617c7f99ca950b35c6eda78a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0943555458ce05b1f508f283026d0e71e1a8ec63795930817c8d5568fb12dd22
MD5 d6edcfc7cbbaf2eac359318bf06e775d
BLAKE2b-256 b3843ec2a57a7e383b33d9d34533f868e21cc50bc596e0347c6edc634ef5356e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 130e40de5afc86145260b6f72fab91ead882d80683af58e5fce187251284a7b4
MD5 d87c97a3d6ebecccfcba2e25efbee9d1
BLAKE2b-256 6a05a49ab80bf63a48f97a942332417c99c179cc10c95bfa4d6891ccb7ef805f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.3-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.7

File hashes

Hashes for neptrainkit-2.8.3-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 60a2a6c5db14d6b6c86720f4dc8b2186fb09c14b3a5415422bcb051db206b173
MD5 664e4c047b5df8d3ca48011dafb31359
BLAKE2b-256 dcacae726b350cb802ffdc88eeb84593682c3d76639ecf9f09d06f80c63d2fe4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 fca2f05e4500492af78edf316909b267fa412dba1680d66b307d01710a872209
MD5 52ffc2b883ed51c97401af3bf060a982
BLAKE2b-256 e11d62508e3d463892c004257c2663fbedd8c42e055acc621cfd0e5ccb5081b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a23f2c5ff7ab88e22cf19adb134a392bfc2dd1b7006da94aa1a3033695286176
MD5 830b11167bbae4b0dcfb68c3cb13de4c
BLAKE2b-256 f81b7eccb613eefd8403388a8f25bdbc2396665e842b03c99f05f012c4897a39

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 058e4c11dad1f178c0ffeb289a8bcbce317ae65578555433824cd93317586689
MD5 d542a207e7dc36de6017e2d28b0bcf49
BLAKE2b-256 658fded1eb09012579f1ee5f4891bddf2fe92d282497b6e449077524b5226f35

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.3-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.7

File hashes

Hashes for neptrainkit-2.8.3-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 4a42fa02bc7bac7025305e9b0423d784b73d3931338f70fb5c8eddaab58a1484
MD5 f62ce671ff2070a8f8d8a8c86b1ac172
BLAKE2b-256 d34fe6930b813b21cfef083f2d9bf3223f349df7637d0c6d0a18151f755f11ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4e1ea73347098fc844961cf4c988f789e78fa3844cbe1c8e1f29826bd955da1b
MD5 5eeaed33aca62a5557e4a278f1216300
BLAKE2b-256 6e6a170491a0570e6768e2fc69c701e066089de99695e2b8499c5f71be6a2c68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a511490035e3400369013349870d7ca45bd5a6f045a4483ac672d0a019e32e38
MD5 f7dc3e49d8453dd2d0a7ba9ba67549d9
BLAKE2b-256 dc7bc0502f985abbfa68cc3569d2cc8d799802ed40c2ca6bad12fd83cc2db24c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6626a82d1c2a2241249bcd78bb21eb37f147bc58db6716b89cf6e86e3be73ae0
MD5 c42ce746c4ecd9320e08c8a29a487d72
BLAKE2b-256 24e0ac65ed003240db7c6345a1de027cb4e22183667a9a0d2afccf684214a602

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.3-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.7

File hashes

Hashes for neptrainkit-2.8.3-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 c0b629e9f039b0bce7b704879e15119394ebbcee230d8a9307be6ab27d5bff21
MD5 8c16344b0baa0226a66c0427db91aaaf
BLAKE2b-256 6ca926f71a3a55fd925c994c3d85bd14d4902fd9ee728c93d2163194ef6d7939

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4008368fbe78ec683e51cb9b70808873afcb59405f38258723fe70e16caac061
MD5 923dc266650e7692ff464edcad785ace
BLAKE2b-256 f8775fede3fb52683ebc8a8b70387011ef8622ec585dadef94f87a2d719ad21e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.3-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5c21f50ef2345dd5b452d0a5147f7832028422a014708432f2df1203d1d2e74e
MD5 16871e6878bd4e3a408a771831568816
BLAKE2b-256 227ba2a7d17b1b65dfb71ffe62ef5a3bf2eee34664378b58ed4dd14de9ee2bcf

See more details on using hashes here.

Provenance

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