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

  • 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.8.1.tar.gz (6.3 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.1-cp313-cp313-win_amd64.whl (8.9 MB view details)

Uploaded CPython 3.13Windows x86-64

neptrainkit-2.8.1-cp313-cp313-win32.whl (6.8 MB view details)

Uploaded CPython 3.13Windows x86

neptrainkit-2.8.1-cp313-cp313-macosx_15_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

neptrainkit-2.8.1-cp313-cp313-macosx_15_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

neptrainkit-2.8.1-cp312-cp312-win_amd64.whl (8.9 MB view details)

Uploaded CPython 3.12Windows x86-64

neptrainkit-2.8.1-cp312-cp312-win32.whl (6.8 MB view details)

Uploaded CPython 3.12Windows x86

neptrainkit-2.8.1-cp312-cp312-macosx_15_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

neptrainkit-2.8.1-cp312-cp312-macosx_15_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

neptrainkit-2.8.1-cp311-cp311-win_amd64.whl (8.9 MB view details)

Uploaded CPython 3.11Windows x86-64

neptrainkit-2.8.1-cp311-cp311-win32.whl (6.8 MB view details)

Uploaded CPython 3.11Windows x86

neptrainkit-2.8.1-cp311-cp311-macosx_15_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

neptrainkit-2.8.1-cp311-cp311-macosx_15_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

neptrainkit-2.8.1-cp310-cp310-win_amd64.whl (8.9 MB view details)

Uploaded CPython 3.10Windows x86-64

neptrainkit-2.8.1-cp310-cp310-win32.whl (6.8 MB view details)

Uploaded CPython 3.10Windows x86

neptrainkit-2.8.1-cp310-cp310-macosx_15_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

neptrainkit-2.8.1-cp310-cp310-macosx_15_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: neptrainkit-2.8.1.tar.gz
  • Upload date:
  • Size: 6.3 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.1.tar.gz
Algorithm Hash digest
SHA256 ff4c5c436dfa875d14b327f55ad66a7a2643d7ba6f18c2d70f1dad4dd557084f
MD5 e97ce973dd27cce7750aaa9ab1723101
BLAKE2b-256 7abe3833672dfdb118338c8baf7d78821c9c05467cf01d65a2e264bf3ca81deb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 24f662bdaeb4ae6144789cd23bbc661d282c8737be069842b551be9ac6132e79
MD5 40f0e541b8dd35c1dc77d8a734be60d0
BLAKE2b-256 682363c7e70fdcf73225095e429396c3ff479ee01bc5697abcdbf1e5e1243345

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 6.8 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.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 fefe971f1045744af43232f6c89b5f65d8434433e51ba7eebde59575190114b3
MD5 2f6b8dd6cd977808a004956ebe0a4a8b
BLAKE2b-256 268c3fbbaaae81503f5c9487862ac514b6acde06c64277127a7e02a437d33364

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ded20d821e193177584a628026c38201a792c63069a89b5c1d8711538f90c1b3
MD5 af81516bf043e1d2a557703057047683
BLAKE2b-256 40f0b36edf3dd5dcba6dd36b3354915cfc02d7779dec86f69dd2314aacf951ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f6c17c05db69ecef109249d5f9994ec7a471a3b6dfc281c3d0d35c46f3e73514
MD5 81ff01889de0456a01a27aaa7eb1922d
BLAKE2b-256 2e3cafda9cb21f613a42dce0ef9d009381ae02dcf25f28e5f426c92c55571aac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 558059d16b2539328d123aceb3528e47bd139b806d940144914223632f7971fd
MD5 83c8c204ff4a2468a968befd1f758ab2
BLAKE2b-256 299072da4dc2c4037a40851da8569c3ab96fe08d50a550440dfae39633448f18

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 6.8 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.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 f0534106564f651e0c642c43dac02fb07cc14bd526abaf1650ebd326d2b7fe88
MD5 10926654805a63e14bd70d545fe62232
BLAKE2b-256 35c5144afee0b35426cb188404b5b6f79c97d4c8ac148d8714e56f230f9e931e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 89c66dd25d5a0d81ed6c063d2d9c984eb89fbd45f5acc33484543f799a483614
MD5 f80b48b6f3e26efefdf7cfbfdaa694c4
BLAKE2b-256 81c06ce64ee9244165eab721b37f3de69a44d8221d3573a748f569ac58cbf46d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e100947a31573930f5f5948a9bc2e6ff87c9e97c840645a667a3e6e988e924cb
MD5 9b61236f3867d46e2986751cd5d3192e
BLAKE2b-256 65b0adbff606fb96b7a409897c0d2fd9683ae17c06b01ac0480297de82bb1103

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1d8d22e54785e2b3162c2b7fa44dde65573262f8d25e67e1292c45cc877e40a6
MD5 4120f710473014c8f25866c000b22702
BLAKE2b-256 22dd0faf0ae9f2b0fc3499ee593d126adacc0f0f8a7d69e39480c6bb656f3400

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 6.8 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.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 3cf28ec4c5ec8ef47add03e94c7e3ddfde9c643d4a9186c94c1ce5b1a9d173cf
MD5 dae97a78f5b886cddd10e81cfd353c1f
BLAKE2b-256 1ab8f7c4b4ca151cc7a67fd088dc28d5fddaa74212609090760c36e54eff6be6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 518f627f260b652007a6672fae7e14facf8df8cff43d46bdf3827299a13e9cba
MD5 b70130bbdd1d1b9aa1a351d5a2302674
BLAKE2b-256 95748ad73f30dd106b76cb4ae827f98179916856c6ba2eba4e5f0af7b8d94f03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d2dde85b59437ef46fb5fd7cf4ff0b24239fc80b69deec48a4a78d8a2833473f
MD5 70ef078e573f14c9afc26587e80dc76a
BLAKE2b-256 9f1b654f21c7f56d55250b2e583836a1d1430ea0361f6c9131c935430de40201

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1b7ccaea35f3a0d00553ecce7d92c39acd4c2747c1dc6693e911da10d0c58245
MD5 f950216e2275aa6666ed656e73511e18
BLAKE2b-256 c34ad6aac1a47e2dbb25e051ebaff97d3bfa46d688a379d9b4cedd66a27e9451

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 6.8 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.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 1886ac62ec03a4ac6eb53773c66229b779a3fbdfb09d5339b8adff0f417bb96a
MD5 657c4ffe803cc1016f28e9cd0e25b771
BLAKE2b-256 338cabc334ff485c054a88fc3492c027038a74e15ecd1982dcafba3d11dac75a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 28b692540a5b0b6b68ea724f279545a5d352f97bd8701c5adcb93fb127be325d
MD5 e1393a24774910d4b46aea3cd1450481
BLAKE2b-256 948d9fd68736932b6e8179a815f2c9b0407480a9f7dba00720d43721337983f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.1-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 45d4986c7cadeaea14d8046641bc887db5ffe51591903863635a1e34fdc27a1f
MD5 35d984e86bcac40b5ad33bd716e4a4ea
BLAKE2b-256 8ae30fd8f1f30dda9eede2d61891ed2f917d025b1d687531862c63d606c87f75

See more details on using hashes here.

Provenance

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