FastFEC
FastFEC copied to clipboard
An extremely fast FEC filing parser written in C
When running the fastfec from Python, some errors piped to stderr such as `fprintf(stderr, "Unknown type (%c) in %s\n", type, ctx->formType);` will `exit 1` and cause the program to crash....
Not sure if this is a bug or not. If I run `fastfec 878160` and I look at the resulting `output/878160/SA11D.csv`, then I see this: ``` form_type,filer_committee_id_number,transaction_id,back_reference_tran_id_number,back_reference_sched_name,entity_type,contributor_organization_name,contributor_last_name,contributor_first_name,contributor_middle_name,contributor_prefix,contributor_suffix,contributor_street_1,contributor_street_2,contributor_city,contributor_state,contributor_zip_code,election_code,election_other_description,contribution_date,contribution_amount,contribution_aggregate,contribution_purpose_descrip,contributor_employer,contributor_occupation,donor_committee_fec_id,donor_committee_name,donor_candidate_fec_id,donor_candidate_last_name,donor_candidate_first_name,donor_candidate_middle_name,donor_candidate_prefix,donor_candidate_suffix,donor_candidate_office,donor_candidate_state,donor_candidate_district,conduit_name,conduit_street1,conduit_street2,conduit_city,conduit_state,conduit_zip_code,memo_code,memo_text_description,reference_code SA11D,C00477828,C7168136,,,CAN,,Clarke,Hansen,,,,2900 E Jefferson...
Hi! Thanks for this great utility. I only care about the Schedule A itemizations. In some cases of multi gig .FEC files, the non-schedule A entries can take up more...
Per #35, fastfec now does not support system installed pcre, can we add option of recovering that? Thanks! relates to https://github.com/Homebrew/homebrew-core/pull/107476
FastFEC export seems to be missing a trailing comma in lines that have one or more empty items at the end of a row. Using homebrew version of fastfec on...
## Description Fixes #44. Adds an option to use the vendored pcre that defaults to true. For installation with package managers like Homebrew, vendored_pcre will be set to false to...
Attempting to build from source with `brew install --build-from-source fastfec` no longer links with Homebrew PCRE, but the system-provided one instead. This seems to be due to a change in...
👋 it looks like the `0.1.9` release build does not build against zig 0.11 ``` ==> zig build -Dvendored-pcre=false /private/tmp/fastfec-20240112-70052-um5wxm/FastFEC-0.1.9/build.zig:18:6: error: no field or member function named 'setPreferredReleaseMode' in 'Build'...
I wanted to tackle #24, but I got distracted on the way ;) Now this thing is huge, sorry about that. If it's intimidating, take solace in the many tests...
What if we made it so the .c stuff only ever compiles to a library, and the only way to access it was through python? The current CLI stuff in...