mas-4 / maudlin2

A new sentiment analyzer
MIT License
2 stars 0 forks source link

prefilter in pandas, use one sqlalchemy session, and use futures to c… #95

Closed mas-4 closed 2 months ago

mas-4 commented 2 months ago
  1. Prefilter headlines in pandas for updates
  2. Use futures for thread management on scrapers so that we don't get stuck in a queue waiting for one thread to finish
  3. Use a single sqlalchemy session instead of committing for every change

Previous commits took me from 30 minutes to 15. This one takes me from 15 to 3