Metadata-Version: 2.4
Name: qewton
Version: 0.2.2
Summary: Deep Learning Framework for Application Problems
Author-email: Tom Freudenberg <tomfre@uni-bremen.de>, Nick Heilenkötter <heilenkoetter@uni-bremen.de>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/Qewton-Labs/Qewton
Project-URL: Repository, https://github.com/Qewton-Labs/Qewton
Project-URL: Issues, https://github.com/Qewton-Labs/Qewton/issues
Project-URL: Documentation, https://qewton-labs.github.io/Qewton/
Project-URL: Changelog, https://github.com/Qewton-Labs/Qewton/blob/main/CHANGELOG.rst
Keywords: deep learning,scientific machine learning,operator learning,physics-informed neural networks,pinn,neural operators,pde
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.2
Requires-Dist: matplotlib>=3.10
Requires-Dist: tqdm>=4.65
Requires-Dist: meshio>=5.3
Requires-Dist: ipykernel>=6.0
Provides-Extra: torch
Requires-Dist: torch>=2.5; extra == "torch"
Provides-Extra: gmsh
Requires-Dist: gmsh>=4.11; extra == "gmsh"
Provides-Extra: plotly
Requires-Dist: plotly>=6.1; extra == "plotly"
Requires-Dist: kaleido>=1.0; extra == "plotly"
Requires-Dist: shapely>=2.0; extra == "plotly"
Provides-Extra: dash
Requires-Dist: dash>=3.0; extra == "dash"
Requires-Dist: plotly>=6.1; extra == "dash"
Provides-Extra: widgets
Requires-Dist: ipywidgets>=8.0; extra == "widgets"
Requires-Dist: ipympl>=0.9; extra == "widgets"
Provides-Extra: tuning
Requires-Dist: optuna>=4.0; extra == "tuning"
Requires-Dist: pandas>=2.0; extra == "tuning"
Provides-Extra: tensorboard
Requires-Dist: tensorboard>=2.14; extra == "tensorboard"
Provides-Extra: hdf5
Requires-Dist: h5py>=3.8; extra == "hdf5"
Provides-Extra: all
Requires-Dist: qewton[dash,gmsh,hdf5,plotly,tensorboard,torch,tuning,widgets]; extra == "all"
Dynamic: license-file

# 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:
```bash
pip install "qewton[torch]"
```
Extras can be combined with commas, e.g. PyTorch together with Gmsh for meshing CAD files:
```bash
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](https://pytorch.org/get-started/locally/), then install Qewton with the extras you need.

To install the latest development version from GitHub:
```bash
pip install "qewton[torch] @ git+https://github.com/Qewton-Labs/Qewton.git"
```

### Structure:
The core structure of Qewton is based on few key components:
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Qewton-Labs/Qewton/main/images/struktur_dark.png">
  <img alt="Workflow in Qewton" src="https://raw.githubusercontent.com/Qewton-Labs/Qewton/main/images/struktur_light.png">
</picture>

### About us:
We are the creators of [TorchPhysics](https://github.com/qewton-labs/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.
