
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
English 🇺🇸/🇬🇧 | Occitan ![]() | French 🇫🇷 | Arpitan ![]() | Gallo‑Italic ![]() | Catalan ![]() | Spanish 🇪🇸 | Italian 🇮🇹 |
---|---|---|---|---|---|---|---|
neighbo(u)r | vesin | voisin | vesin | visin | veí | vecino | vicino |
Vesin is a fast and easy to use library computing neighbor lists for atomistic system. We provide an interface for the following programing languages:
To use the code from Python, you can install it with pip
:
pip install vesin
See the documentation for more information on how to install the code to use it from C or C++.
You can either use the NeighborList
calculator class:
import numpy as np
from vesin import NeighborList
# positions can be anything compatible with numpy's ndarray
positions = [
(0, 0, 0),
(0, 1.3, 1.3),
]
box = 3.2 * np.eye(3)
calculator = NeighborList(cutoff=4.2, full_list=True)
i, j, S, d = calculator.compute(
points=positions,
box=box,
periodic=True,
quantities="ijSd"
)
We also provide a function with drop-in compatibility to ASE's neighbor list:
import ase
from vesin import ase_neighbor_list
atoms = ase.Atoms(...)
i, j, S, d = ase_neighbor_list("ijSd", atoms, cutoff=4.2)
See the documentation for more information on how to use the code from C or C++.
You can find below benchmark result computing neighbor lists for increasingly
large diamond supercells, using an AMD 3955WX CPU and an NVIDIA 4070 Ti SUPER
GPU. You can run this benchmark on your system with the script at
benchmarks/benchmark.py
. Missing points indicate that a specific code could
not run the calculation (for example, NNPOps requires the cell to be twice the
cutoff in size, and can't run with large cutoffs and small cells).
Vesin is is distributed under the 3 clauses BSD license. By contributing to this code, you agree to distribute your contributions under the same license.
FAQs
Computing neighbor lists for atomistic system
We found that vesin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.