材料模拟环境
安装
主要基于ase, janus-core 包
- 安装: 常规: pip install soft_learn_project pip install git+https://gitee.com/wangjl580/soft_learn_project.git # 安装最新版本 推荐: git clone https://gitee.com/wangjl580/soft_learn_project.git cd soft_learn_project pip install -e . # 安装当前目录的代码
用法
- 示例:
from soft_learn_project.ase_learn import aseLearn
al = aseLearn.AseLearn()
# 使用不同的计算器
# calc = al.CalcModule.get_calc_lammps(
# directory='/Users/wangjinlong/job/tmp/t1', )
# calc = al.CalcModule.get_calc_vasp(
# directory='/Users/wangjinlong/job/tmp/t1',
# kpts=(3,3,3))
# calc = al.CalcModule.get_calc_gpaw(
# directory='/Users/wangjinlong/job/tmp/t1',
# kpts=(3,3,3))
calc = al.CalcModule.get_calc_MLIP(
directory='/Users/wangjinlong/job/tmp/t1', )
atoms = al.Model.get_atoms_normal_crsytal(name='W', cubic=True)
al.calc_lattice_constant(atoms=atoms,
calc=calc,
is_recalc=True
)
最新的源码: https://gitee.com/wangjl580/soft_learn_project/tree/main
说明
可以用于vasp, lammps, gpaw, MLIP 等计算器 对于vasp 需要安装 vasp 可执行文件 1. 从 https://www.vasp.at/ 下载 vasp 编译 对于 lammps 需要安装 lammps的 python 包, 使 import lammps 可以使用, 1. git clone https://gitlab.com/lammps/lammps.git 2. cd lammps 3. cd src 4. make mac_mpi mode=shlib -j8 5. make install-python
Metadata
Release files for soft-learn-project 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| soft_learn_project-0.0.2.tar.gz | 808.6 kB | Without provenance | Details for soft_learn_project-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| soft_learn_project-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for soft_learn_project-0.0.2-py3-none-any.whl |
Total release size: 1.7 MB
Release files / soft_learn_project-0.0.2.tar.gz
| Download URL | soft_learn_project-0.0.2.tar.gz |
|---|---|
| Size | 808.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
079178e3a8df9951316b2951fc54b2e6505e3dfa20f90a29f1957e486cd0bdbb
|
|
BLAKE2b-256 checksum How to use checksums |
eef5da048dfffc052892bb4751cd834803d1a568886f97231df30b98f0989ff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / soft_learn_project-0.0.2-py3-none-any.whl
| Download URL | soft_learn_project-0.0.2-py3-none-any.whl |
|---|---|
| Size | 911.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18b569e1cb9e257d74ee930cb2861cc0be13f3769e2f0cdc62b06b771e6c8ce2
|
|
BLAKE2b-256 checksum How to use checksums |
99f82e6ec31a8af2c561efbb9b5f2c4dc4d2b9cc9e7b9baf07bf1c28f904c1da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for soft-learn-project 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.