Skip to content

Get package authors from author_email if author is not provided#93

Open
provinzkraut wants to merge 1 commit intopsf:mainfrom
provinzkraut:get-author-from-email
Open

Get package authors from author_email if author is not provided#93
provinzkraut wants to merge 1 commit intopsf:mainfrom
provinzkraut:get-author-from-email

Conversation

@provinzkraut
Copy link

@provinzkraut provinzkraut commented Oct 26, 2025

For packages that make use of the "new" authors field in pyproject.toml, their authors are currently not displayed, as https://pypi.org/pypi/<package>/json returns authors under author_email in this case.

This is a simple fix by using author_email as a fallback, and extracting the names from there.


I think I successfully tested this locally :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant