goldilocks-core
Goldilocks recommends settings for density functional theory (DFT) calculations and generates Quantum ESPRESSO input files (SCF, DOS, band structure, relaxation, variable-cell relaxation, and phonons with their density of states and dispersion) from a crystal structure.
Installation
Published on PyPI. For just the goldilocks CLI:
pip install goldilocks-core
For the CLI plus the built Workbench, ready to serve with no separate frontend build:
pip install "goldilocks-core[http]"
goldilocks serve http
Open http://127.0.0.1:8000 -- the Workbench frontend is bundled into the package itself as of this release.
To work on the Workbench or the codebase itself, clone the repository instead. Install uv first:
git clone https://github.com/stfc/goldilocks-core.git
cd goldilocks-core
uv sync
Try it
Start the Workbench
With Node.js 24 or newer installed, run:
uv sync --extra http
npm --prefix web ci
uv run goldilocks assets install workbench
uv run --extra http poe workbench
The asset step installs the models and pseudopotential tables. Open http://127.0.0.1:5173, upload a CIF or POSCAR, review the recommended settings, and download the generated inputs.
For a built frontend instead, stop the development servers and run:
uv run --extra http poe stage
Then open http://127.0.0.1:8000. See the Workbench guide for Docker and development checks.
Generate inputs from the command line
Download the prediction models and default pseudopotential table, then generate inputs for the bundled silicon structure:
uv run goldilocks assets install default
uv run goldilocks run src/goldilocks_core/examples/structures/Si.cif --out si-run
Open si-run/scf.in to see the input. The directory also contains the
pseudopotential file with its table's licence, a submission script,
goldilocks.json (the request it answers: code, task, HPC profile, your
overrides, the structure's sha256 and the goldilocks-core version; every
setting with its source, and for a setting a model chose, the model with what
it returned) and CITATIONS.md (the pseudopotential table and every model
used).
Treat the recommended settings as a starting point: review warnings and check convergence for your calculation. The quickstart explains the output and how to run it.
Guides and reference
- First calculation — generate, check, and run an input.
- Python API — use Goldilocks in a script.
- Recommendations — understand the choices and their limits.
- Pseudopotentials — choose a table and understand automatic selection.
- CLI reference — commands and options.
- mMACE — check that the magnetism features use the ML model, or use another checkpoint.
- Scientific conventions — units and numerical definitions.
- Contributing — code layout and development checks.
Licence
Code: BSD 3-Clause. Documentation under docs/ and example
structures: CC BY 4.0.
Downloaded pseudopotentials retain their
upstream licences.
Metadata
Release files for goldilocks-core 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goldilocks_core-0.3.0.tar.gz | 749.6 kB | Without provenance | Details for goldilocks_core-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goldilocks_core-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for goldilocks_core-0.3.0-py3-none-any.whl |
Total release size: 1.6 MB
Release files / goldilocks_core-0.3.0.tar.gz
| Download URL | goldilocks_core-0.3.0.tar.gz |
|---|---|
| Size | 749.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
573952a5f838ab42e358afdae67d3d10984c92ecab8f565b3e24f11b20b9f834
|
|
BLAKE2b-256 checksum How to use checksums |
5fb6b00ff214de94521ced7f05a472d8e4fdf7c8ed5bacb9b561dcd497c65adc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / goldilocks_core-0.3.0-py3-none-any.whl
| Download URL | goldilocks_core-0.3.0-py3-none-any.whl |
|---|---|
| Size | 819.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea4e4605523f44d3be4bdf5d34c6f3ce658a2dd9e1f89b6be73685ffee90c3d5
|
|
BLAKE2b-256 checksum How to use checksums |
ad81338135b04e17f95b46538d491e8c5910f4fe7b4b7d0ccb0d8dc0b5e2b777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for goldilocks-core 0.3.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.