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.1.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.1.0
File Size Uploaded Provenance Actions
qewton-0.1.0.tar.gz 374.5 kB With provenance Details for qewton-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 856.5 kB

Release files / qewton-0.1.0.tar.gz

Download URL qewton-0.1.0.tar.gz
Size 374.5 kB
Tags Source
SHA-256 checksum
How to use checksums
45f91431d8302617dc1f5004f8cd22188de9d0e2b25ef7b7e67978803a1181ba
BLAKE2b-256 checksum
How to use checksums
26e961db5b438e00c0934c8edcc867e34bccf51b4f0d53e6f2a3eef7a3f55b44
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 23, 2026.

Transparency log

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

Download URL qewton-0.1.0-py3-none-any.whl
Size 482.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d0719fdae2ab568ba0d5aea3c6ae3df732acbf906e2f20025b72b88032203c6
BLAKE2b-256 checksum
How to use checksums
e6fd21f43519d7f8c17f8c53a704067c332fa229238d56253b0496980f13b5bd
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 23, 2026.

Transparency log

Security for qewton 0.1.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.1.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 23, 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