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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 15.0+ x86-64

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

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 15.0+ x86-64

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

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 15.0+ x86-64

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

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 15.0+ x86-64

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

File metadata

  • Download URL: neptrainkit-2.8.0.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.0.tar.gz
Algorithm Hash digest
SHA256 5f238e102021cfb55ef47b57232192c52e6b63461940b5d5af3c7d88b935162c
MD5 5fd07545bdc1b1bbcc55c0c52fa77eef
BLAKE2b-256 dfbf7bb638776e79c46c56fa5e77955fbd5288023ca41090b5d1f2eb91113719

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 64a1dfc482d2f42e6033b431075f50bf4a6bcbc65b2f8023db11a21fdb4e766c
MD5 aeaa812a207f1c763272398afc793d11
BLAKE2b-256 c1d047855518b080992285d27356e757168d42c359c7aa2cf6bf285fd09a1bab

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.0-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.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 33b210c9475d5d558a58d321b64f981cddfa15f7d275c81812dfb4e5cbdcfd2d
MD5 05adf4087a8c0055b343351bc1401d57
BLAKE2b-256 bd1bae41392e7849b7837db0cbf8434c37ec461d785002723534429e41f0c3a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c98e3dbf232bd89b99fa3d39af8dff4b2d673ac607eec5dba59e8603819c3773
MD5 d7012b3d95a4b7698f33db7b0714f487
BLAKE2b-256 641cbf78124bf3497a92a815bb3a5b8a183bcb6b47528b1ce973c30df99f3677

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 40f2f3cacc2136e7527efda9acbfbd085a79c9fc3041fd68388dff50851c781b
MD5 97956acd291152c8c9738727e8385fa4
BLAKE2b-256 b2f9c8e549155026617676babbc899f2bf9e4dff6cfdcfbe33f01e5c03e6b0f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 548030a8ba7edbf5b2a7ec1aeecb679617d8aafcecef0c6d20717bf6ed903b70
MD5 1287806af91528553136cc513a912e3a
BLAKE2b-256 c9cc73d678f1f0564a18989e8b30e2465d8706837b3b9017d66493071c034787

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.0-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.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 797fa8e02c97148f758a3320cbd3d5f797e7f150f209b2f87a95d5fdcdda3733
MD5 7422910d9ebd5cf47519d05061a4676b
BLAKE2b-256 63d5bffdae5d64cc00897664389b5d6452f993f6460bd2a1260abcf1b1c67df4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d1f1bc2f142daef7bf8ad4eb8dfe0c759ee750e4396c0c4458ebb9f45face157
MD5 f5b2fa3c50399cb7a74e3685fb8125b2
BLAKE2b-256 16bc01fb9f8c3f90f5295b5a6501d29caf3573b6ca71031891eec42137dea36a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 152702443f3cf894163b50286aa2194061f8f6c2abc36a536101d9303fe46f5c
MD5 ce0c77ccf86cc6b2f47d16abd724e7f4
BLAKE2b-256 4f0161c6637d2e2476b4ae583c6e2a76f2c8da0e22aa9b1ff0b4a46dc31edc20

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c4bdc9f531b4e8c113a744fc558d9f295e1844af92602e388004d9483b19c6b4
MD5 df7ec91c303825a89be9312033b1fba5
BLAKE2b-256 b8f75f0a059f3b34f42b49402c51ecc80a2010dbe6125b6ab38c0a91d164b385

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.0-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.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 1cf097b742c7c82a37ab30c1b5e7740a2630642a3d87bdd8e1631f9a2d3e8426
MD5 e16d691826e5a542311ef7cebf34c4f7
BLAKE2b-256 106475bc88c05dc9209380bda54ff3efd3aa12e41789bdd10587037c02d2b7d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 71e043b1a5c0c6d6a8e2f45d852b6848a936512d600ecf541ba123e72017893e
MD5 aeedcf953d804971f89f3a750bfceb87
BLAKE2b-256 4d2249b998c5d552fdaf4bb484748368c3432a60924e4422951bc711ad71759c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 50001959a985b2a694b323be8e777bdd6a88a109a624428315483fc0b3b12fe5
MD5 5d7255031ac244b476950828ef5aa811
BLAKE2b-256 1526d426bf728f395390fbbb4d92b796cdebf4e2192a1ddeb809adeb22d83811

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1c36bb38cec568f215b571a057e0c810ff606f916cf7ccbdb914a24c4120cec8
MD5 adf45349937178c88e9b3b253cf60aed
BLAKE2b-256 2149be1d624e73860c42879eeb87169ffb637086ba83783196e9fd9112ef4e2d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.8.0-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.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 0ba4960185009d4beceaa8f1602740805bcfe41961ab75b242d72c889bf25b63
MD5 287ff4ee716f6aafceafdcc87f2e2d66
BLAKE2b-256 6eb6e60d6ad380a36468ee945e05d59fdd1905d0586703ac0af7123c9b1bac4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 370f83830869533dd6df702b0f6e44d16d7580fa698d63486f910522745a6f37
MD5 c7f89d0d36506f19f065734bae0bc2b1
BLAKE2b-256 60abf44f7e78a9fa5fca6cdb96112fed2f38fbc28f2dea5e454669808bc514c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.8.0-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f5601a1934f55e8873199c97a6375c752c229d450e4171e780c79ed7ac19cd82
MD5 2f895ec9419d167dea48b0cb8b2cb006
BLAKE2b-256 3fb022ef550ae3f1bcc2cd6633702afa329532b1b60cc16a43c386228352a251

See more details on using hashes here.

Provenance

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