Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pinn_kit-0.1.3.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pinn_kit-0.1.3-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

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

Hashes for pinn_kit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f8022ec0c3856c5272f2e07ab20c26a8247081a66522dcc07a795ee642fe0448
MD5 8f29c54344196b1faa12599330d2a80d
BLAKE2b-256 86733297711c76ab628adac119f10cd3f2920360d53ca80f8fa5273ba4cb4ba7

See more details on using hashes here.

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

Hashes for pinn_kit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4a3130894f2aee3c00a67e3d0a067a8142da9d225ed80f3b992a44134b1ff5ea
MD5 81d28436e162baaca8d747cbe2955080
BLAKE2b-256 2022ad02d73359a912e545af8d3be7dc0aa3d87138ac4a5208eb60a4d5dcfea5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page