I can get a list of trove classifiers like this:
>>> import requests
>>> response = requests.get('https://pypi.python.org/pypi', params={':action': 'list_classifiers'})
>>> classifiers = response.text.splitlines()
>>> len(classifiers)
649
>>> classifiers[:5]
['Development Status :: 1 - Planning',
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable']
Is there any way to get this list without using network access? For example, does the list exist in distutils or something? Where is the source of truth?
The source of truth is at PyPI only. Initially the list of classifiers was in trove.py, but later moved to SQL.