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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 14.0+ ARM64

neptrainkit-2.7.2-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.2.tar.gz.

File metadata

  • Download URL: neptrainkit-2.7.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3484776a573ba506d8fccb0f51a509a309b54863250a1f4c6363df4408823c34
MD5 c7b9e553d3b3e1ec1b4342ba97221054
BLAKE2b-256 0735a88bb24a37229fa3ee2efdd94802ffbfa5044191d98fa5fdda4ddccc1ab2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ecf43b85367d78184bd645889c4847ea4b160e4f7d7afaccec3e607e88219834
MD5 5a72922837d04f62e465903282cfe3f6
BLAKE2b-256 2c47c79430d13293a4b46d7ba6e4bc1eba0a339e4346ccdadf31f8467a911936

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.7.2-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.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 b0c6c38853b0afb23f94f0f47cbc2119a1ce6eaa341d012d516f841e0f025a4d
MD5 ced991f9be0db0a0fe33ad4dd368e6d5
BLAKE2b-256 35dd7ec905c451881867632f872e7a830e9b2b2f44af03b305a5badc6c5c2dc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8baace694e9ffe7f576e2c669780d8ca2fdfa961b04c4f8e2feb847601b759e7
MD5 9d83206105474b4be5fd692cc9112d05
BLAKE2b-256 163486f40d67dc7b1f7edc87a73c04b09aada6210fd179b40d1176052a847e36

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ba3ac393e82d573de3d5d3a0b84818d84b34dbbea6d3425c87c3c058c27315f8
MD5 6da62491868faad3dbd70d1110cd4176
BLAKE2b-256 3fc170f7d1560d2c7bb3c7bc5df8dac54f1da1ec3d69e2224b7d8270ba9301be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6d02907927202eb07a8c11c97e67917c74e25a508ff3151e5be2bd47bf41c582
MD5 b824b6b4452d09b824f22f5d1f6d5ad3
BLAKE2b-256 a48d8bcc6af25b7ee60b1dce87b469c365e1787852bd8bbe887b8c21f83169b1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.7.2-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.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 f27711d43686cf0e98792d6c209350c488d55da370ba4878b1d1ca762169fcbd
MD5 ad0c6a1b31026dda81ff2f24b50330ef
BLAKE2b-256 545189367b8dec6c5f08c48690df5e39be6b27a192d8bb83f812d9b832685800

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5acc632fab5fdb2bc2d0ef9f6ae5cc2c28b5da40fa033ef3e031acdabca45d5a
MD5 3af84ac4c574977f85846204292f52d4
BLAKE2b-256 232cbeec5baa99912f07b2c4ebf440d02fa70701bc1a3800c7e75867e25f3d32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3377eb142083da02d004af11796b8da6a14bf3995fbea6973623e77cbaf59e23
MD5 7848cc1a42c218d19ac8dd4661d875bd
BLAKE2b-256 89daaade40186d5db4d6c4b28585a476fa033e9d9c452400d4f9841a8d64d617

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 90e1917ac8d3fa4c6024622e95e14a1c154a532a2ae94b0f594e57f5dec07ed3
MD5 b7742d16104bd5e45de7c4577d904168
BLAKE2b-256 8e663041411472a1cf8ed84ebad6e42eecb1c628cd93f96911ced68053039c19

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.7.2-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.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 7e6b1eb863f1eb68c62961d6f2cb2d6c6a42bc34952c8720e8019df7831eb9cc
MD5 452e1f7e03a48d51c1e3318612db4d22
BLAKE2b-256 78413761caf8eeb0f89e7e80f70e913e33026bd21a748eb05249ec4fd280724c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a956551f4b59b767abb04abd5e4334126b03ecb0561e9ddbec06440c343649c5
MD5 189f4f1e6e795bb3580ae93ec0a18fb7
BLAKE2b-256 e09c30ecb9dd0c69a367bdccd31136f2cefac8cf9ee0fcb1167f922775e6c3b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 884d10bcb40c852347bb284a8b577e8d3cd157db72cabeaf967399fe16498ebe
MD5 051d42ffd6d98ddee963348fd172c5e1
BLAKE2b-256 dfb93e89489079a77918b66fcabaac0dff85b76c2e516d5886836d7e8a322754

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 94e8f24c0d2f69f7289f0f692198d0b2cbc2a9a8d75c869e0a348d6fabce809e
MD5 24a9e51e9445785623e80212437c2eba
BLAKE2b-256 b12b126c93ad50466599a4c3dbe698fd99780bac5d75c2b976268f42d14a541a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neptrainkit-2.7.2-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.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 65105cadcdecb0a6b2db58c97909ef2a55dddbfa4614feb49c75398a2063f52c
MD5 249086d5cf4557e94fbcd547d2b403fb
BLAKE2b-256 55e22673c8137e4871124d34caec810bba635c54e2f23cf7588c5ca10677f9fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c07e1dfb124d2adcaefbac2312e99a03cb33750ce2233145ba92706750e1b49e
MD5 e1ebdc42a2fa32ee554759a325065ab8
BLAKE2b-256 7fb445a8b7ff2a78a255ba8e7dfd2c5777325c8a7a20588b0f576f96561aa9c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for neptrainkit-2.7.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4dc89067511ca8a50f3138d1264785275936abced866f4c63f9244321ee356d8
MD5 e246c05807adf7e131e0ed358e2b10ad
BLAKE2b-256 dbd22e846954ee4b04d08bbf35982615125e965191aac1e72ecd2f0515344d6c

See more details on using hashes here.

Provenance

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