{"id":21743264,"url":"https://github.com/Beakerboy/MS-OVBA","last_synced_at":"2025-07-18T23:30:38.335Z","repository":{"id":65238871,"uuid":"586912716","full_name":"Beakerboy/MS-OVBA","owner":"Beakerboy","description":"Create a vbaProject.bin file from VBA source files.","archived":false,"fork":false,"pushed_at":"2024-11-24T20:09:31.000Z","size":834,"stargazers_count":15,"open_issues_count":8,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-04T04:33:27.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Beakerboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-01-09T14:24:31.000Z","updated_at":"2024-11-14T22:01:23.000Z","dependencies_parsed_at":"2024-05-28T00:29:44.491Z","dependency_job_id":"1a543c71-9c68-47d1-b8f3-80736667acc4","html_url":"https://github.com/Beakerboy/MS-OVBA","commit_stats":null,"previous_names":["beakerboy/ms-ovba"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Beakerboy/MS-OVBA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beakerboy%2FMS-OVBA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beakerboy%2FMS-OVBA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beakerboy%2FMS-OVBA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beakerboy%2FMS-OVBA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Beakerboy","download_url":"https://codeload.github.com/Beakerboy/MS-OVBA/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beakerboy%2FMS-OVBA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265853182,"owners_count":23839124,"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":[],"created_at":"2024-11-26T07:03:50.677Z","updated_at":"2025-07-18T23:30:37.428Z","avatar_url":"https://github.com/Beakerboy.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Coverage Status](https://coveralls.io/repos/github/Beakerboy/vbaProject-Compiler/badge.svg?branch=main)](https://coveralls.io/github/Beakerboy/vbaProject-Compiler?branch=main)\n# vbaProject-Compiler\nCreate a vbaProject.bin file from VBA source files.\n\n\n## VBAProject Class\n\nThe vbaProject class contains all the data and metadata that will be used to create the OLE container.\n\n```python\nfrom vbaProjectCompiler.vbaProject import VbaProject\nfrom vbaProjectCompiler.ole_file import OleFile\n\n\nproject = VbaProject()\nthisWorkbook = DocModule(\"ThisWorkbook\")\nthisWorkbook.addFile(path)\nproject.addModule(thisWorkbook)\n\nole_file = OleFile(project)\nole_file.writeFile(\".\")\n```\n\nThe VbaProject class has many layers of customization available. Forexample a librry referenece can be added to the project.\n\n```python\ncodePage = 0x04E4\ncodePageName = \"cp\" + str(codePage)\nlibidRef = LibidReference(\n    \"windows\",\n    \"{00020430-0000-0000-C000-000000000046}\",\n    \"2.0\",\n    \"0\",\n    \"C:\\\\Windows\\\\System32\\\\stdole2.tlb\",\n    \"OLE Automation\"\n)\noleReference = ReferenceRecord(codePageName, \"stdole\", libidRef)\nproject.addReference(oleReference)\n```\n\n## oleFile Class\n\nUsers should not have to interact with the oleFile class. It's job is to extract the data from the vbaProject and turn it into a valid file. This includes deciding which data stream appears where, and applying different views to the models to save the data in the correct formats.\n\nThe oleFIle has two parts, a header and a FAT Sector Chain. This FAT chain stores multiple streams of data:\n* Fat Chain Stream\n* Directory Stream\n* Minifat Chain Stream\n* Minifat Data Stream\n* Fat Data Stream\n\nThese are all different views of data from the following Models\n\n* fatChain\n* minifatChain\n* directoryStream\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBeakerboy%2FMS-OVBA","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBeakerboy%2FMS-OVBA","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBeakerboy%2FMS-OVBA/lists"}