r/Python • • Aug 29 '26

Discussion Contribution to pyperf

I am recently came across the library pyperf because I have to benchmark my changes in a certain open source project to add metrics to the PR I was creating for the changes, but one thing I feel off is types, I don't know why but pyperf has lot of unknown types which is kind of weird so I was planning to contribute to it to make it a little bit better typed.

So I am wondering do projects like pyperf which comes under pdf accept contribution in generally? If there are any maintainers/contributors of pyperf here then then could answer my question.

Thanks in advance.

My Dev Environment

OS: Windows

Type Checker: Pyrefly

14 Upvotes

14 comments sorted by

View all comments

Show parent comment

0

u/DxNovaNT Aug 29 '26

Well I could check with different typecheckers . I guess there 3 widely used checker, Pyrefly, Ty, Mypy.

Do pyperf have a separate issue tracker?

4

u/BeamMeUpBiscotti Aug 29 '26

pyright also has significant usage

i mean the issue tracker on github

2

u/KaffeeKiffer Aug 29 '26

Go to https://pypi.org/project/pyperf/

That one lists the maintainers but it most importantly links to https://github.com/psf/pyperf

The GitHub page of the project is the best place to engage: Raise an Issue for missing/incomplete type hints and offer to (what you think you can) contribute.