PyFeyn2
Forked from https://pyfeyn.hepforge.org/
PyFeyn is a Python-language based system for drawing Feynman diagrams. It was inspired by the C++ FeynDiagram system, and aims to provide the same functionality and quality of output as that, with the added benefits of a modern interpreted language, an improved interface and output direct to both EPS and PDF. Behind the scenes, PyFeyn uses the excellent PyX system - you can use PyX constructs in PyFeyn diagrams if you want, too.
Dependencies
- libmagickwand-dev (to display pdfs in a jupyter-notebook, might require a policy change of the imagemagick config for PDFs, see Troubleshooting)
- ghostscript
- latexmk
- (graphviz)
- (feynmp-auto/feynmf)
Installation
pip install pyfeyn2
Documentation
Similar Feynman diagram rendering project:
- https://github.com/ndeutschmann/qgraf-xml-drawer
- https://github.com/GkAntonius/feynman
- https://github.com/JP-Ellis/tikz-feynman
- https://pyfeyn.hepforge.org/
- https://feynml.hepforge.org/
- http://www.feyndiagram.com/
- https://web.physik.rwth-aachen.de/user/harlander/software/feyngame/
- https://jaxodraw.sourceforge.io/
- https://feynman.aivazis.com/
- https://feynarts.de/
Several of these are integrated into pyfeyn2.
Troubleshooting
Development
pip install -e . --user --break-system-packages
Metadata
Release files for pyfeyn2 2.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfeyn2-2.4.3.tar.gz | 123.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfeyn2-2.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.7 kB
Release files / pyfeyn2-2.4.3.tar.gz
| Download URL | pyfeyn2-2.4.3.tar.gz |
|---|---|
| Size | 123.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73fe604f62419fb8646ba7e7eb03b171a1c6cc149a216ba89e404914a8a3ce0a
|
|
BLAKE2b-256 checksum How to use checksums |
b6df89a00781fe4d5d52142c6d8b34247f3b12926fb6223d171bfad6f8dc8c41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|
Release files / pyfeyn2-2.4.3-py3-none-any.whl
| Download URL | pyfeyn2-2.4.3-py3-none-any.whl |
|---|---|
| Size | 76.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0e005651b8d60ac1a724658bd22f39dfd0cc54c3394f590c10a105b33746789
|
|
BLAKE2b-256 checksum How to use checksums |
a34ec602a752eb357d0dc1d4beed35a58a00a5f4894e3a2a36d1c07ba6c93f4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|