CCFS Database #18

Merged
linnealovespie merged 6 commits from linnealovespie/database into main 2026-01-22 00:14:58 +00:00

Refactors corp_owners.py to use our own copy of the CCFS database instead of querying (and getting blocked by) the online CCFS portal.

Adds test.py in processors folder that's helpful for testing changes to corp_owners.py by comparing results with known results for buildings owned by Goodman Real Estate.

Addresses issue #17 for now, but would still be good to make a more robust test framework in the future.

Refactors `corp_owners.py` to use our own copy of the CCFS database instead of querying (and getting blocked by) the online CCFS portal. Adds `test.py` in processors folder that's helpful for testing changes to `corp_owners.py` by comparing results with known results for buildings owned by Goodman Real Estate. Addresses issue #17 for now, but would still be good to make a more robust test framework in the future.
linnealovespie added 1 commit 2026-01-21 02:54:28 +00:00
linnealovespie added 1 commit 2026-01-21 02:54:34 +00:00
linnealovespie added 1 commit 2026-01-21 02:58:43 +00:00
linnealovespie requested review from jessib 2026-01-21 02:59:11 +00:00
linnealovespie added 1 commit 2026-01-21 03:07:49 +00:00
Collaborator

It seems good idea to add .env to .gitignore if folks are going to be having that file.

It seems good idea to add `.env` to `.gitignore` if folks are going to be having that file.
linnealovespie added 1 commit 2026-01-21 03:40:15 +00:00
Author
Owner

It seems good idea to add .env to .gitignore if folks are going to be having that file.

Oh good point it somehow didn't get added to the commit, added the gitignore now.

> It seems good idea to add `.env` to `.gitignore` if folks are going to be having that file. Oh good point it somehow didn't get added to the commit, added the gitignore now.
jessib reviewed 2026-01-21 04:05:36 +00:00
@ -31,2 +31,4 @@
minio==7.2.16
pycryptodome==3.23.0
dotenv==0.9.9
python-dotenv==1.2.1
Collaborator

Should psycopg2 be added here? I needed to manually install but maybe that was something with my setup.

Should `psycopg2` be added here? I needed to manually install but maybe that was something with my setup.
Author
Owner

Yes it should good catch. I'd like to add another todo later to automate this process because slip ups like this happen, but my pip freeze command looks funky when trying to generate this file.

Yes it should good catch. I'd like to add another todo later to automate this process because slip ups like this happen, but my `pip freeze` command looks funky when trying to generate this file.
linnealovespie marked this conversation as resolved
linnealovespie added 1 commit 2026-01-21 04:11:11 +00:00
jessib approved these changes 2026-01-22 00:13:46 +00:00
jessib left a comment
Collaborator

I didn't give it the most thorough review, but looks good and doesn't seem risky.

I didn't give it the most thorough review, but looks good and doesn't seem risky.
linnealovespie merged commit 5a37d38130 into main 2026-01-22 00:14:58 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: linnealovespie/aemp-seattle#18
No description provided.