Published November 10, 2026 | Version v1

PyHelpers: A Corpus of Standalone Python Functions

Authors/Creators

Description

Extracting this archive will produce two files. The first, pyhelpers_manifest.csv, has the following columns:

  • id - the file name containing the function
  • url - URL to the function on GitHub
  • name - name of the function
  • signature - the type signature of the function
  • loc - lines of code
  • complexity - cyclomatic complexity

The second, pyhelpers, contains 2,433,117 Python files, each starting with the function name, followed by an underscore, an alphanumeric hash code, then the suffix .py. Each file begins with the URL (in a comment), followed by standard library imports, then the function body, and each file should be standalone compilable on Python 3.12.7.

Files

Files (1.8 GB)

Name Size
md5:ca4ecef60cd2b03183eb1e4371399798
1.8 GB Download