Skip to main content

Introduction

λPIC

λPIC is a callback-centric Particle-In-Cell framework. It enables the customization of simulation behavior through callbacks at various stages, even when the modifications are unphysical. The flexibility of λPIC makes it easy to implement plugins, allowing developers to extend functionality seamlessly without modifying the core simulation logic.

Visit the documentation for installation and usage instructions.

Agent Skill

This repository ships an agent skill that teaches AI coding assistants (Claude Code, OpenCode, Cursor, Codex, and 75+ others) to set up λPIC and generate or debug simulation scripts.

skills.sh

Install it with the skills CLI:

npx skills add xsgeng/lambdapic

Once installed, ask your agent for a λPIC simulation — it follows the skill to create a local environment (uv venv in your working directory) and produce working simulation scripts.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

A detailed class diagram is available in the documentation.

Development Status

λPIC is currently in active development. The API may change without notice.

License

This project is licensed under the GPL-3.0 License.

Citation

If you use λPIC in your research, please cite:

BibTeX:

@article{gengLPICCallbackcentricParticleincell2027,
  title = {{\emph{{$\lambda$}}}{{PIC}}: {{A}} Callback-Centric Particle-in-Cell Framework},
  shorttitle = {{\emph{{$\lambda$}}}{{PIC}}},
  author = {Geng, Xuesong and Cui, Yunwei and Zhang, Lingang and Ji, Liangliang},
  year = 2027,
  month = feb,
  journal = {Computer Physics Communications},
  volume = {331},
  pages = {110474},
  issn = {0010-4655},
  doi = {10.1016/j.cpc.2026.110474},
  urldate = {2026-11-03},
}

Acknowledgments

This work was supported by the National Natural Science Foundation of China (NSFC) under Grant No. 12304384.

This project was inspired by and adapted elements from the EPOCH and the Smilei projects.

Metadata

Release files for lambdapic 0.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lambdapic 0.18.0
File Size Uploaded Provenance Actions
lambdapic-0.18.0.tar.gz 3.6 MB With provenance Details for lambdapic-0.18.0.tar.gz

Release files / lambdapic-0.18.0.tar.gz

Download URL lambdapic-0.18.0.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
54ddc68771dcf8bca181f3b1e2939c3d38cb25c8d31c7f1f9a3ebc5493abbc2b
BLAKE2b-256 checksum
How to use checksums
0504a4f2d95cb8965a45be3823905365b2fc9818be28855bc8c17d9a01634d33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for lambdapic 0.18.0

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for lambdapic-0.18.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page