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{geng2026lambdapic,
  title={$\lambda$PIC: A callback-centric particle-in-cell framework},
  author={Geng, Xuesong and Cui, Yunwei and Zhang, Lingang and Ji, Liangliang},
  journal={arXiv preprint arXiv:2607.13507},
  year={2026},
  eprint={2607.13507},
  archivePrefix={arXiv},
  primaryClass={physics.comp-ph}
}

Citation

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

BibTeX:

@article{geng2026lambdapic,
  title={$\lambda$PIC: A callback-centric particle-in-cell framework},
  author={Geng, Xuesong and Cui, Yunwei and Zhang, Lingang and Ji, Liangliang},
  journal={arXiv preprint arXiv:2607.13507},
  year={2026},
  eprint={2607.13507},
  archivePrefix={arXiv},
  primaryClass={physics.comp-ph}
}

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.17.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.17.0
File Size Uploaded Provenance Actions
lambdapic-0.17.0.tar.gz 3.6 MB With provenance Details for lambdapic-0.17.0.tar.gz

Release files / lambdapic-0.17.0.tar.gz

Download URL lambdapic-0.17.0.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
667865ef8388e0dc6e909f69458f4ff1918854de3e365009a76d072fc4bb342f
BLAKE2b-256 checksum
How to use checksums
a125d4453e15a9fa1f39e7d69a2b1fc4be8e8167918315f948007ebdb2a67ccf
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 18, 2026.

Transparency log

Security for lambdapic 0.17.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.17.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 18, 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