matplotlib / mpl-third-party

Third-party Packages Webpage
https://matplotlib.org/mpl-third-party/
53 stars 71 forks source link

Add explicit name attribute to all packages #137

Closed timhoffm closed 2 years ago

timhoffm commented 2 years ago

This:

jklymak commented 2 years ago

This is fine, though it seems redundant for 99% of packages. I would make it optional for the packages that want a name different than the repo or don't have a repo.

timhoffm commented 2 years ago

Can you please also update the readme template?

@story645 What do you miss?

story645 commented 2 years ago

@timhoffm sorry yeah I thought the first one was cmocean

timhoffm commented 2 years ago

This is fine, though it seems redundant for 99% of packages. I would make it optional for the packages that want a name different than the repo or don't have a repo.

IMHO there is value in making this mandatory. With a mandatory name, we can get rid of any repo parsing. Having distinct unrelated attributes is both simpler in code and simpler to explain to the end user (Understanding "Name is optional, if not given we extract it from repo" is much more effort than typing your project name).