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.2

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.2
File Size Uploaded Provenance Actions
qewton-0.2.2.tar.gz 379.4 kB With provenance Details for qewton-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 867.0 kB

Release files / qewton-0.2.2.tar.gz

Download URL qewton-0.2.2.tar.gz
Size 379.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cda6b2a45c57492db3244d5ab53e1fc9d2bf4dc06a6faa3c460aa8adec653acc
BLAKE2b-256 checksum
How to use checksums
07c5142250882b07f3d4027fa585c9f89091fd977f0102c3a009573769c6031e
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.2-py3-none-any.whl

Download URL qewton-0.2.2-py3-none-any.whl
Size 487.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb695036fa67ab81b13a27aa31d432986d5ca09313e0e34dbf4b3e1d418dd683
BLAKE2b-256 checksum
How to use checksums
d9dd6a27f853e8037d470a9136c0a94b541563ce5a27981e7866802005387fd5
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.2

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.2.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