$npx skillfedfor your agent

fparser

Python implementation of a Fortran parser

With conditionsPyPI Software DevelopmentReleased Jun 2026115.7K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fparser-0.2.4-py3-none-any.whl
v0.2.4 · released 2026-06-26 · Python >=3.6

Yes, if you need to parse or analyze Fortran code programmatically. The package is actively maintained, has no external dependencies, and supports modern Fortran standards. Beta status and the lack of a stable API guarantee mean you should pin the version in production code, but the frequent releases and recent bug fixes suggest a maturing project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later.
  • Low install friction with no runtime dependencies.
  • Actively maintained with frequent releases; version 0.2.4 was released 49 days ago with bug fixes and F2008 support improvements.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows use in most projects without significant restrictions.

last release 2026-06-26 (49 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,731 downloads/mo, #12,237 on PyPI

Verify before relying

pip install fparser

from fparser.two import parse_file
tree = parse_file('example.f')
  • Whether the parser handles all Fortran dialects equally well or has known limitations with specific extensions.
  • Performance characteristics on large codebases or deeply nested structures.
  • API stability guarantees given the beta development status.
Same gist for agents: .md · .json

What it is and what it does

fparser is a pure-Python Fortran parser that converts Fortran source code into an abstract syntax tree for programmatic inspection and transformation. It evolved from the parser originally built for the F2PY project and now supports Fortran standards from 77 through 2008, including modern extensions like OpenMP sentinels and F2008 intrinsic functions.

The parser is designed for developers and researchers who need to analyze, transform, or generate Fortran code programmatically. It has no external runtime dependencies, making it lightweight to integrate into build pipelines, code analysis tools, or scientific computing workflows. Recent releases have focused on correctness—fixing edge cases in string handling, loop constructs, and directive processing—and expanding F2008 support.

Use it for

  • Analyze Fortran codebases to extract structure, dependencies, or metrics for documentation or refactoring.
  • Build code generation or transformation tools that read Fortran and emit modified or translated code.
  • Integrate Fortran parsing into scientific computing pipelines that need to inspect or validate legacy code.
  • Develop IDE or editor plugins that require Fortran syntax understanding for highlighting or navigation.
  • Automate migration or modernization of Fortran code by parsing and rewriting specific constructs.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to parse or analyze Fortran code programmatically.

The package is actively maintained, has no external dependencies, and supports modern Fortran standards. Beta status and the lack of a stable API guarantee mean you should pin the version in production code, but the frequent releases and recent bug fixes suggest a maturing project.

Install

fparser on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with frequent releases; version 0.2.4 was released 49 days ago with bug fixes and F2008 support improvements.

Requires Python 3.6 or later.

License in practice

BSD-3-Clause permissive license allows use in most projects without significant restrictions.

Quickstart

pip install fparser

from fparser.two import parse_file
tree = parse_file('example.f')

Verify before relying

  • Whether the parser handles all Fortran dialects equally well or has known limitations with specific extensions.
  • Performance characteristics on large codebases or deeply nested structures.
  • API stability guarantees given the beta development status.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 49 days since the last release
First released
Downloads115,731 / month, #12,237 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchNatural Language :: EnglishOperating System :: MacOSOperating System :: POSIXOperating System :: UnixProgramming Language :: FortranProgramming Language :: PythonTopic :: Scientific/EngineeringTopic :: Software DevelopmentTopic :: Utilities

Evidence: fparser-0.2.4-py3-none-any.whl

Tags

Capabilities
fortran parser pythonparse fortran codefortran syntax treefortran astfortran source analysisfortran code parsingfortran language parser
Topics
fortranparsercode-analysis
PyPI keywords
fortranparser

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fortran parser python”

  • fparserfparser parses Fortran source code (Fortran 77 through 2008) into an…
  • f90nmlf90nml reads, writes, and modifies Fortran namelist files, converting…
  • tree-sitter-fortranProvides a Fortran language grammar for tree-sitter, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also f90nml · pglast · fypp · tree-sitter-fortran · luaparser · cftime · parse · netCDF4 · deepface · typed-ast