Test & Code

197: Python project trove classifiers - Do you need this bit of pyproject.toml metadata? - Brett Cannon


Listen Later

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:

  • Classifiers · PyPI
  • PEP 621 – Storing project metadata in pyproject.toml | peps.python.org
  • Packaging Python Projects — Python Packaging User Guide — Configuring metadata
  • PEP 639 – Improving License Clarity with Better Package Metadata | peps.python.org
  • SPDX



...more
View all episodesView all episodes
Download on the App Store

Test & CodeBy Brian Okken

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

70 ratings


More shows like Test & Code

View all
Radiolab by WNYC Studios

Radiolab

44,008 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Heavy Networking by Packet Pushers

Heavy Networking

328 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

588 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,002 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners

Unexplainable by Vox

Unexplainable

2,283 Listeners

Network Automation Nerds by Packet Pushers

Network Automation Nerds

3 Listeners