{"id":15359902,"url":"https://github.com/matthewfeickert/pythia-python","last_synced_at":"2025-04-15T07:55:58.426Z","repository":{"id":45388031,"uuid":"240769221","full_name":"matthewfeickert/pythia-python","owner":"matthewfeickert","description":"Pythia 8 Docker image with Python 3 and the HEP simulation stack","archived":false,"fork":false,"pushed_at":"2023-01-25T08:23:40.000Z","size":92,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T07:55:53.097Z","etag":null,"topics":["fastjet","hep","hepmc","lhapdf","particle-physics","physics","physics-simulation","pythia","pythia8"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/matthewfeickert/pythia-python","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthewfeickert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-15T18:43:11.000Z","updated_at":"2025-01-17T00:25:26.000Z","dependencies_parsed_at":"2023-02-14T06:02:00.211Z","dependency_job_id":null,"html_url":"https://github.com/matthewfeickert/pythia-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfeickert%2Fpythia-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfeickert%2Fpythia-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfeickert%2Fpythia-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfeickert%2Fpythia-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewfeickert","download_url":"https://codeload.github.com/matthewfeickert/pythia-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249031776,"owners_count":21201357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastjet","hep","hepmc","lhapdf","particle-physics","physics","physics-simulation","pythia","pythia8"],"created_at":"2024-10-01T12:46:44.242Z","updated_at":"2025-04-15T07:55:58.408Z","avatar_url":"https://github.com/matthewfeickert.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PYTHIA 8 Docker image with Python 3 and HEP simulation stack\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/matthewfeickert/pythia-python)](https://hub.docker.com/r/matthewfeickert/pythia-python)\n[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/matthewfeickert/pythia-python/latest)](https://hub.docker.com/r/matthewfeickert/pythia-python/tags?name=latest)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/matthewfeickert/pythia-python/HEAD)\n\n\u003e PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations.\n\n`PYTHIA` 8's source is [distributed on GitLab](https://gitlab.com/Pythia8/releases) and is a product of the [`PYTHIA` development team](https://pythia.org/).\n\n## Distributed Software\n\nThe Docker image contains:\n\n* Python 3.10\n* [HepMC3](http://hepmc.web.cern.ch/hepmc/) `v3.2.5`\n* [LHAPDF](https://lhapdf.hepforge.org/) `v6.5.3`\n* [FastJet](http://fastjet.fr/) `v3.4.0`\n* [PYTHIA](https://pythia.org/) `v8.308`\n\n## Installation\n\n- Check the [list of available tags on Docker Hub](https://hub.docker.com/r/matthewfeickert/pythia-python/tags?page=1) to find the tag you want.\n- Use `docker pull` to pull down the image corresponding to the tag. For example:\n\n```\ndocker pull matthewfeickert/pythia-python:pythia8.308\n```\n\n## Use\n\nYou can either use the image as \"`PYTHIA` as a service\", as demoed here with the test script in the repo using the Python bindings\n\n```\ndocker run \\\n  --rm \\\n  --user $(id -u $USER):$(id -g $USER) \\\n  --volume $PWD:/home/docker/work \\\n  matthewfeickert/pythia-python:pythia8.308 \\\n  'python tests/main01.py \u003e main01_out_py.txt'\n```\n\nor the original C++\n\n```\ndocker run \\\n  --rm \\\n  --user $(id -u $USER):$(id -g $USER) \\\n  --volume $PWD:/home/docker/work \\\n  matthewfeickert/pythia-python:pythia8.308 \\\n  'g++ tests/main01.cc -pthread -o tests/main01 $(pythia8-config --cxxflags --ldflags); ./tests/main01 \u003e main01_out_cpp.txt'\n```\n\nor you can run interactively\n\n```\ndocker run \\\n  --rm \\\n  -ti \\\n  --publish 8888:8888 \\\n  --user $(id -u $USER):$(id -g $USER) \\\n  --volume $PWD:/home/docker/work \\\n  matthewfeickert/pythia-python:pythia8.308\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewfeickert%2Fpythia-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewfeickert%2Fpythia-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewfeickert%2Fpythia-python/lists"}