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.1.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.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file pinn_kit-0.1.1.tar.gz.

File metadata

  • Download URL: pinn_kit-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0fadb3614e749ae78230ab7b85c8f202df79be5265d553e7ad737ca6359e37d5
MD5 6892449e693be3c15afd7641a4e778f3
BLAKE2b-256 16af6187b94f79de0a2d103cc9adc1474f8113dbb212e8bf12e016da67701df6

See more details on using hashes here.

File details

Details for the file pinn_kit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pinn_kit-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d800091f284b2edab78638f1844c2c85e48863bafa9ee967c663e3e203341a56
MD5 b3400701d19a86812b7052ac8c6960ea
BLAKE2b-256 3d6911ccac2a18ecc2b695f1795de571a828d885a410599865bb00d5dcd98a47

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