{"id":37654050,"url":"https://github.com/mwisslead/vfp2py","last_synced_at":"2026-01-16T11:39:18.099Z","repository":{"id":65766785,"uuid":"70626962","full_name":"mwisslead/vfp2py","owner":"mwisslead","description":"Convert Visual FoxPro(VFP) code into python code","archived":false,"fork":false,"pushed_at":"2023-02-08T21:26:38.000Z","size":4528,"stargazers_count":56,"open_issues_count":0,"forks_count":26,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-11-28T13:24:59.364Z","etag":null,"topics":["antlr4","conversion","foxpro","parse","parser","python","rewrite","vfp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mwisslead.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}},"created_at":"2016-10-11T19:13:52.000Z","updated_at":"2025-08-14T05:31:56.000Z","dependencies_parsed_at":"2023-02-21T00:01:22.152Z","dependency_job_id":null,"html_url":"https://github.com/mwisslead/vfp2py","commit_stats":{"total_commits":906,"total_committers":1,"mean_commits":906.0,"dds":0.0,"last_synced_commit":"7deff7b18950048b4341e7ffdbc063d0c4654a60"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mwisslead/vfp2py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwisslead%2Fvfp2py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwisslead%2Fvfp2py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwisslead%2Fvfp2py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwisslead%2Fvfp2py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwisslead","download_url":"https://codeload.github.com/mwisslead/vfp2py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwisslead%2Fvfp2py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["antlr4","conversion","foxpro","parse","parser","python","rewrite","vfp"],"created_at":"2026-01-16T11:39:15.838Z","updated_at":"2026-01-16T11:39:18.094Z","avatar_url":"https://github.com/mwisslead.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vfp2py\nvfp2py is an attempt to create a tool to automatically create python code from\nfoxpro 9 code.\n\nMany but not nearly all commands are currently supported with missing commands\nto be added as need arises. Conversion can be done on individual prg files or\nwhole projects pjx files.\n\n## Features\n- Translates code comments\n- Handles preprocessor commands\n- Support for reading and writing dbf files via Ethan Furman's dbf package\n- Many functions are inlined in the generated python code.\n- Many complex functions and commands are available through a runtime - vfpfunc.py\n- Somewhat functioning gui using PySide\n\n## Future work\n- Add more commands to parser\n- Improve gui\n- Rework scoping to facilitate operation of some commands.\n- Add missing code conversion for some commands currently supported by parser\n- Add more runtime functions\n- Put package on pypi for easier install\n- Speed up parsing\n\n## Installation\n`python -m pip install vfp2py`\n\n## Usage\n```\n    $ vfp2py --help\n    usage: vfp2py [-h] [--logging] infile outpath [search [search ...]]\n    \n    Tool for rewriting Foxpro code in Python\n    \n    positional arguments:\n      infile      file to convert - supported file types are prg, mpr, spr, scx,\n                  vcx, or pjx,\n      outpath     path to output converted code, will be a filename for all but\n                  pjx which will be a directory\n      search      directory to search for included files\n    \n    optional arguments:\n      -h, --help  show this help message and exit\n      --logging   file to convert\n```\n\nTo convert a file simply run `vfp2py --logging input_file.prg output_file.py` or `vfp2py --logging input_project.pjx output_directory`\n\n### Acknowledgments\nJayanta Narayan Choudhuri for providing a list of keyword and function abbreviations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwisslead%2Fvfp2py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwisslead%2Fvfp2py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwisslead%2Fvfp2py/lists"}