A toolkit for Physics-Informed Neural Networks
Project description
PINN-kit
A toolkit for Physics-Informed Neural Networks (PINNs). This package provides tools and utilities for implementing and training physics-informed neural networks for solving differential equations.
Features
- Easy-to-use interface for defining physics-informed neural networks
- Support for various types of differential equations
- Domain handling utilities
- Training and evaluation tools
Installation
PINN-kit supports macOS, Linux, and Windows. You can install it using pip, which will also automatically install all required dependencies, including torch.
Create a Virtual Environment (Recommended)
It is recommended to use a virtual environment with Python 3.12 to avoid dependency conflicts.
macOS & Linux
python3.12 -m venv venv
source venv/bin/activate
Windows
Open Command Prompt or PowerShell and run:
python3.12 -m venv venv
venv\Scripts\activate
Install PINN-kit
macOS & Linux
pip install pinn-kit
Windows
Open Command Prompt or PowerShell and run:
pip install pinn-kit
Note: There is no need to install torch separately; it will be installed automatically with pinn-kit.
PINN-kit is easy to use
from pinn_kit import PINN, Domain
# Create a domain
domain = Domain(...)
# Initialize a PINN
pinn = PINN(...)
# Define the loss terms
def loss():
return loss_function
# Train the network
pinn.train_model(...)
Documentation
For detailed documentation, please visit our documentation page.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pinn_kit-0.1.3.tar.gz.
File metadata
- Download URL: pinn_kit-0.1.3.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8022ec0c3856c5272f2e07ab20c26a8247081a66522dcc07a795ee642fe0448
|
|
| MD5 |
8f29c54344196b1faa12599330d2a80d
|
|
| BLAKE2b-256 |
86733297711c76ab628adac119f10cd3f2920360d53ca80f8fa5273ba4cb4ba7
|
File details
Details for the file pinn_kit-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pinn_kit-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a3130894f2aee3c00a67e3d0a067a8142da9d225ed80f3b992a44134b1ff5ea
|
|
| MD5 |
81d28436e162baaca8d747cbe2955080
|
|
| BLAKE2b-256 |
2022ad02d73359a912e545af8d3be7dc0aa3d87138ac4a5208eb60a4d5dcfea5
|