{"id":17143859,"url":"https://github.com/mwallerb/fsource","last_synced_at":"2025-08-21T10:31:07.158Z","repository":{"id":45143638,"uuid":"140984748","full_name":"mwallerb/fsource","owner":"mwallerb","description":"Fortran static analysis tool written in pure Python","archived":false,"fork":false,"pushed_at":"2024-10-28T13:19:46.000Z","size":3364,"stargazers_count":22,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"mainline","last_synced_at":"2025-07-08T12:57:03.816Z","etag":null,"topics":["fortran2008","fortran77","lexer","parser","static-analysis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwallerb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-14T23:30:24.000Z","updated_at":"2024-12-03T16:34:54.000Z","dependencies_parsed_at":"2022-07-25T23:33:28.102Z","dependency_job_id":null,"html_url":"https://github.com/mwallerb/fsource","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mwallerb/fsource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwallerb%2Ffsource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwallerb%2Ffsource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwallerb%2Ffsource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwallerb%2Ffsource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwallerb","download_url":"https://codeload.github.com/mwallerb/fsource/tar.gz/refs/heads/mainline","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwallerb%2Ffsource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271462692,"owners_count":24764019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fortran2008","fortran77","lexer","parser","static-analysis"],"created_at":"2024-10-14T20:42:30.058Z","updated_at":"2025-08-21T10:31:06.864Z","avatar_url":"https://github.com/mwallerb.png","language":"Python","funding_links":[],"categories":["Static Code Analysis"],"sub_categories":["System"],"readme":"fsource - Fortran static analysis tool\n======================================\n[![Tests]](https://travis-ci.org/mwallerb/fsource)\n[![PyPI]](https://pypi.python.org/pypi/fsource)\n\nfsource is a collection of tools allowing you to parse Fortran 77 through\nFortran 2008 programs.  It is written in pure Python and has no external\ndependencies.\n\nYou install fsource via pip (you may want to append `--user` flag to install\nit just for you or `--prefix=/install/path` to choose the installation location):\n\n    $ pip install fsource\n\nYou can also simply download the [source], since there are no external dependencies.\n\n    $ git clone github.com/mwallerb/fsource\n    $ cd fsource\n\nIn this case you should run `bin/fsource` instead of `fsource`, which augments the\npython path with the downloaded source files.\n\nCommand line interface\n----------------------\nfsource currently features a [command line interface]:\n\n - a [parser], which takes a Fortran file and outputs an abstract syntax tree\n   (for the definitions) allowing you to extract modules, subprograms, derived\n   types, parameters, etc.:\n\n       $ fsource parse FILE.f90\n\n - a [wrapper], which builds on the Fortran parser to extract module variables,\n   types and subroutines which can be interfaced with C and generates header\n   files for them:\n\n       $ fsource wrap FILE.f90\n\n - a [line splicer] and a [lexer], low-level tools which split a Fortran file\n   into a set of logical lines and tokens, respectively.  This allows you to\n   set up your parsing infrastructure on top of fsource:\n\n       $ fsource splice FILE.f90\n       $ fsource lex FILE.f90\n\n[source]: https://github.com/mwallerb/fsource\n[command line interface]: doc/cli.md\n[line splicer]: doc/splicer.md\n[lexer]: doc/lexer.md\n[parser]: doc/parser.md\n[wrapper]: doc/wrapper.md\n\n[Tests]: https://travis-ci.org/mwallerb/fsource.svg?branch=master\n[PyPI]: https://img.shields.io/pypi/v/fsource.svg?style=flat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwallerb%2Ffsource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwallerb%2Ffsource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwallerb%2Ffsource/lists"}