Skip to main content

Qewton: Deep Learning for Physics and Engineering

In Qewton, the goal is to provide easy-to-use but powerful deep learning tools for physics and engineering to everyone, lowering the barrier to entry the field of AI for simulations in any imaginable application. We pre-implement methods such as

  • Operator Learning (Fourier Neural Operators, PCA-Nets, DeepONets)
  • Differentiable Physics (WIP)
  • PINNs (Physics-Informed Neural Networks)
  • and many more to come.

To simplify their usage, we provide

  • a graph-based API for defining and training models
  • connections to existing engineering and deep learning software
  • automatic model selection and hyperparameter tuning
  • visualization tools
  • automatic shape and data configuration checking
  • pre-implemented differential operators, equations and training pipelines.

Note:

This library is currently in beta, therefore things are subject to change. Feel free to try, contribute and suggest features.

Installation:

Qewton requires Python 3.10 or newer. Deep learning backends and other features are optional extras. For training models you will want a backend, e.g. PyTorch:

pip install "qewton[torch]"

Extras can be combined with commas, e.g. PyTorch together with Gmsh for meshing CAD files:

pip install "qewton[torch,gmsh]"
Extra Installs Enables
(base) numpy, matplotlib, tqdm, meshio, ipykernel the core library
torch torch the PyTorch backend
gmsh gmsh meshing CAD files like STEP/STL (create_mesh_geometry)
plotly plotly, kaleido, shapely the Plotly renderer and static image export
dash dash, plotly interactive figures as a web app (DashApplication)
widgets ipywidgets, ipympl interactive figures in Jupyter (WidgetApplication)
tuning optuna, pandas OptunaTuner and TuningAnalyzer
tensorboard tensorboard TensorboardLogger (together with torch)
hdf5 h5py HDF5DataSet
all all of the above

The quotes keep shells like zsh from interpreting the brackets. On Linux, the Gmsh package needs a few system libraries such as libGLU (e.g. apt install libglu1-mesa). To use a specific PyTorch build (e.g. CPU-only or a certain CUDA version), install PyTorch first following pytorch.org, then install Qewton with the extras you need.

To install the latest development version from GitHub:

pip install "qewton[torch] @ git+https://github.com/Qewton-Labs/Qewton.git"

Structure:

The core structure of Qewton is based on few key components: Workflow in Qewton

About us:

We are the creators of TorchPhysics, a deep learning library for PDEs. With Qewton, we aim to provide a more user-friendly and flexible framework for deep learning in physics and engineering.

Metadata

Release files for qewton 0.2.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 qewton 0.2.0
File Size Uploaded Provenance Actions
qewton-0.2.0.tar.gz 378.6 kB With provenance Details for qewton-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qewton 0.2.0
File Interpreter ABI Platform Actions
qewton-0.2.0-py3-none-any.whl Python 3 none any Details for qewton-0.2.0-py3-none-any.whl

Total release size: 864.4 kB

Release files / qewton-0.2.0.tar.gz

Download URL qewton-0.2.0.tar.gz
Size 378.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e4f6613f7efcadc95e3db15dd4d0118605db02f535581475deefad76e3bcbd27
BLAKE2b-256 checksum
How to use checksums
18d61fd3896a3d83d9704be9f44f2ff3a0f4e72803ad80522aa3157a1c2d2413
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 25, 2026.

Transparency log

Release files / qewton-0.2.0-py3-none-any.whl

Download URL qewton-0.2.0-py3-none-any.whl
Size 485.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edce1d0d870413a3507e121e77c0ab3c464087a965014297c3d60da7afce824f
BLAKE2b-256 checksum
How to use checksums
f581c8da6886a50749ee21add393aa0852320d7520f180084d036316ad7e90f6
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 25, 2026.

Transparency log

Security for qewton 0.2.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qewton-0.2.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 25, 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.

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