{"id":22225476,"url":"https://github.com/beliavsky/python-scripts-for-fortran","last_synced_at":"2025-03-25T08:22:03.391Z","repository":{"id":259753529,"uuid":"879352435","full_name":"Beliavsky/Python-scripts-for-Fortran","owner":"Beliavsky","description":"Python scripts to analyze and reformat Fortran code","archived":false,"fork":false,"pushed_at":"2025-03-12T13:07:46.000Z","size":524,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T14:20:05.545Z","etag":null,"topics":["fortran","python","tool"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Beliavsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T17:21:10.000Z","updated_at":"2025-03-12T13:07:50.000Z","dependencies_parsed_at":"2024-10-27T20:44:10.003Z","dependency_job_id":"cd3b57f0-ec91-49db-9cf4-9269d620d11f","html_url":"https://github.com/Beliavsky/Python-scripts-for-Fortran","commit_stats":null,"previous_names":["beliavsky/python-scripts-for-fortran"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beliavsky%2FPython-scripts-for-Fortran","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beliavsky%2FPython-scripts-for-Fortran/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beliavsky%2FPython-scripts-for-Fortran/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beliavsky%2FPython-scripts-for-Fortran/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Beliavsky","download_url":"https://codeload.github.com/Beliavsky/Python-scripts-for-Fortran/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245423889,"owners_count":20612859,"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","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":["fortran","python","tool"],"created_at":"2024-12-03T00:18:01.511Z","updated_at":"2025-03-25T08:22:03.381Z","avatar_url":"https://github.com/Beliavsky.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python scripts for Fortran\nPython scripts to create make files and to fix, analyze and reformat Fortran code.\n\n`xxmake_bat_fortran.py` is a script to create a make file given a compiler and a list of source files.\n\n`fortran_procedures.py` has the function\n\n```\ndef extract_procedures(lines):\n    \"\"\" Extracts subroutine and function definitions from a list of lines of Fortran code. \"\"\"\n```\n\n`xxsplit_fortran_line.py` has the function\n```\ndef split_fortran_line(line):\n    \"\"\" Splits a Fortran line into code and comment parts, ignoring '!' inside quotes. \"\"\"\n```\n\n`move_fortran_declarations.py` is a tool by ClaudeAI for fixing Fortran code by moving declarations\nbefore executable statements. ChatGPT o1 can produce code that needs such a fix.\n\n`xremove_fortran_continuations.py` has the function\n```\ndef remove_fortran_continuations(code):\n    \"\"\"Convert Fortran continuation lines into single lines.\"\"\"\n```\n\n`xsplit_fortran_statements.py` has the function\n```\ndef split_fortran_statements(code):\n    \"\"\"Split Fortran statements separated by semicolons into separate lines.\"\"\"\n```\n\n`xadd_colons_fortran_declarations.py` has the function\n```\ndef add_colon_to_declarations(code):\n    \"\"\"Add :: to Fortran declarations that do not have it.\"\"\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeliavsky%2Fpython-scripts-for-fortran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeliavsky%2Fpython-scripts-for-fortran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeliavsky%2Fpython-scripts-for-fortran/lists"}