Skip to main content

pdesolve

pdesolve is a symbolic PDE toolbox built on SymPy. pdesolve(...) is the main solving entry point; the package also exposes focused APIs for first-order PDEs, complete integrals, conservation laws, constant-coefficient operators, transforms/separation, hyperbolic systems, and Green/fundamental solutions.

Quick start

import sympy as sp
import pdesolve as pds

x, t = sp.symbols("x t", real=True)
u = sp.Function("u")
eq = sp.Eq(sp.diff(u(x, t), t) + sp.diff(u(x, t), x), 0)

res = pds.pdesolve(eq, u(x, t), (x, t), method="auto")
print(res.method)
print(res.solution)

PDESolve documentation

The documentation is built from the package API, canonical execution registry, recognizers, planners, regression tests, worked examples, and executable tutorials. Start at docs/index.md. In particular:

A mkdocs.yml navigation file is included so the Markdown tree can be rendered with MkDocs if desired.

Inspecting automatic planning

problem = pds.build_pde_problem(eq, u(x, t), (x, t))
plan = pds.plan_canonical_problem(problem)
for step in plan.steps:
    print(step.method, step.score, step.reasons)

Kernel and Green-function APIs

Use solve_fundamental_solution(...) and solve_green_function(...) for explicit kernel work. Automatic kernel routing is conservative and is primarily source-driven, so ordinary homogeneous heat/wave IVPs continue to use condition-aware IVP, transform, or series paths.

Installation

pip install -e .

Requires Python 3.11+ and SymPy 1.12+.

Tests

python -m pytest -q

The suite covers solver families, coordinator layers, structured conditions/domains, verification/trace behavior, benchmarks, Green functions, and a 52-example heterogeneous PDE reference matrix.

License and source

PDESolve is licensed under the GNU General Public License v3.0 only (GPL-3.0-only). The canonical source repository is https://github.com/BhuvaneshBhatt/pdesolve.

Example materials

Runnable examples include examples/first_order_nonlinear_demo.py, examples/conservation_law_demo.py, examples/invariant_reduction_demo.py, examples/complete_integral_methods.py, and examples/pdesolve_demo.py. Focused notebooks include notebooks/invariant_reduction_demo.ipynb; the systematic tutorial curriculum is under notebooks/tutorials/; the capability matrix and method inventory provide the authoritative overview of supported methods.

Download files

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

Source Distribution

pdesolve-0.1.0.tar.gz (223.2 kB view details)

Uploaded Source

Built Distribution

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

pdesolve-0.1.0-py3-none-any.whl (222.7 kB view details)

Uploaded Python 3

File details

Details for the file pdesolve-0.1.0.tar.gz.

File metadata

  • Download URL: pdesolve-0.1.0.tar.gz
  • Upload date:
  • Size: 223.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pdesolve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e2a636d582ef6ecfbcb4e7fafc14a61793cb19a272cbe84ce9614724255cd79
MD5 c814c03dd7abbf5b7a4235b7be76c7f5
BLAKE2b-256 4d4ae47eef84cc8ebb67bb78287f97a5f0651a371275d19fbdd4fa9832e386ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdesolve-0.1.0.tar.gz:

Publisher: python-package.yml on BhuvaneshBhatt/pdesolve

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pdesolve-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdesolve-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 222.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pdesolve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b21fcc790e314006d5274d67d2228a2f4f1aeb3d70bbfc97d448499b447696c
MD5 cb321ef6e4d1a0ab11498ecb52da4246
BLAKE2b-256 3b8bf7a19f2c5bbfb769b4a8973780179428de1b970748478cebfd5f37000436

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdesolve-0.1.0-py3-none-any.whl:

Publisher: python-package.yml on BhuvaneshBhatt/pdesolve

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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