Example scripts for the pushshift dump files
Find a file
2021-09-10 22:37:55 -07:00
scripts More fixes 2021-09-10 22:37:55 -07:00
.gitignore Initial commit 2021-09-04 23:17:53 -07:00
Pipfile Initial commit 2021-09-04 23:17:53 -07:00
Pipfile.lock Initial commit 2021-09-04 23:17:53 -07:00
README.md Clean up 2021-09-09 22:24:14 -07:00

This repo contains example python scripts for processing the reddit dump files created by pushshift. The files can be downloaded from here or torrented from here.

  • single_file.py decompresses and iterates over a single zst compressed file
  • iterate_folder.py does the same, but for all files in a folder
  • combine_folder_multiprocess.py uses separate processes to iterate over multiple files in parallel, writing lines that match the criteria passed in to text files, then combining them into a final zst compressed file