Test & Code
Test & Code
Brian Okken
197: Python project trove classifiers - Do you need this bit of pyproject.toml metadata? - Brett Cannon
33 minutes Posted Apr 5, 2023 at 1:30 am.
0:00
33:39
Download MP3
Show notes

Classifiers are one bit of Python project metadata that predates PyPI.

 Classifiers are weird.

 They were around in setuptools days, and are still here with pyproject.toml. 

  • What are they? 
  • Why do we need them? 
  • Do we need them?
  • Which classifiers should I include?
  • Why are they called "trove classifiers" in the Python docs

Brett Cannon joins the show to discuss these wacky bits of metadata.

Here's an example, from pytest-crayons:

[project]
...
classifiers = [
"License :: OSI Approved :: MIT License",
"Framework :: Pytest"
]


Links:


 Learn pytest

★ Support this podcast on Patreon ★