GUI wrapper for the ALPHANSO (α,n) neutron source calculator
Project description
ALPHONSO GUI
A graphical interface for the ALPHANSO (α,n) neutron source calculator.
Installation
From a GitLab Release ✓ recommended
-
Download the wheel from the Releases page:
- Open the project on GitLab → Deploy → Releases.
- Click the release you want (e.g.
v0.1.0). - Under Assets, download the file named
alphanso_gui-<VERSION>-py3-none-any.whl.
Or download directly with
curl:# Linux / macOS curl --location --output alphanso_gui.whl \ --header "PRIVATE-TOKEN: <YOUR_TOKEN>" \ "https://gitlab.asnr.fr/wmonange/alphansogui/-/releases/v<VERSION>/downloads/alphanso_gui-<VERSION>-py3-none-any.whl"
# Windows (PowerShell) Invoke-WebRequest ` -Headers @{"PRIVATE-TOKEN"="<YOUR_TOKEN>"} ` -Uri "https://gitlab.asnr.fr/wmonange/alphansogui/-/releases/v<VERSION>/downloads/alphanso_gui-<VERSION>-py3-none-any.whl" ` -OutFile alphanso_gui.whl
-
Install with pip — identical command on Linux and Windows:
pip install alphanso_gui-<VERSION>-py3-none-any.whl
pip will fetch the remaining dependencies (
alphanso,PyQt5,matplotlib) from PyPI automatically. -
Fully offline / air-gapped — pre-download all dependencies on a machine with internet access, then transfer the
wheelhouse/folder:# On the internet-connected machine pip download alphanso_gui-<VERSION>-py3-none-any.whl -d ./wheelhouse # On the isolated machine (Linux or Windows) pip install --no-index --find-links ./wheelhouse alphanso_gui-<VERSION>-py3-none-any.whl
The wheel is tagged
py3-none-any— pure Python, no compilation needed, installs on Linux and Windows with the same file.
From the GitLab PyPI Package Registry
alphanso-gui is also published to the internal GitLab PyPI registry. You need
a GitLab personal access token with at least the read_package_registry
scope (GitLab → User settings → Access tokens).
Install directly with pip:
pip install alphanso-gui \
--extra-index-url https://__token__:<YOUR_TOKEN>@gitlab.asnr.fr/api/v4/projects/wmonange%2Falphansogui/packages/pypi/simple
Or configure pip permanently by copying the provided template:
# For a virtualenv only (recommended)
cp pip.conf.template $VIRTUAL_ENV/pip.conf
# Or globally for your user
cp pip.conf.template ~/.config/pip/pip.conf
Edit the file and replace <your-gitlab-personal-access-token> with your
token. After that a plain pip install alphanso-gui is enough.
Security note — never commit a
pip.confor.pypirccontaining a real token. Both template files are listed in.gitignore.
From source
# Clone the repository then install in editable mode
pip install -e .
This will also install alphanso and its dependencies. On first use ALPHANSO
automatically downloads ~1.1 GB of nuclear data.
Usage
# Launch the GUI (after installation)
alphanso-gui
# Or directly with Python
python -m alphanso_gui
Requirements
- Python ≥ 3.10
alphanso(pinned by this package)PyQt5 ≥ 5.15matplotlib ≥ 3.5
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alphanso_gui-0.0.2-py3-none-any.whl.
File metadata
- Download URL: alphanso_gui-0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5db485a92d77e58a8337b153c4168e1090be16c88ffbb81e58821d17a0b52f9
|
|
| MD5 |
887ec1ad327a01a4016a95fc481987ff
|
|
| BLAKE2b-256 |
2e40adce44ba77a60a05b98e7b52621b50d6a1048c57b3ae06b2038a56336938
|