Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7447437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:36:05+00:00 2026-05-29T12:36:05+00:00

The list of Trove classifers is at: http://pypi.python.org/pypi?:action=list_classifiers When I’m creating a PyPI package,

  • 0

The list of Trove classifers is at: http://pypi.python.org/pypi?:action=list_classifiers

When I’m creating a PyPI package, I’m unsure whether I need to include the ‘parents’ to the trove classifiers that obviously apply to my project.

For example, if I’ve tested my project on Windows XP, then which of the following should I include:

'Operating System :: Microsoft',
'Operating System :: Microsoft :: Windows',
'Operating System :: Microsoft :: Windows :: Windows NT/2000',

I’ve only actually tested on Window 7, or sometimes Windows XP. But neither of these are options in the classifier list, so I’m choosing “NT/2000” as the closes match, and including the ‘parent’ classifiers. Is this the right thing to do?

Similarly, if my project is tested under Python 2.7, then I obviously include the classifier:

'Programming Language :: Python :: 2.7',

Do I need to also include:

'Programming Language :: Python',
'Programming Language :: Python :: 2',

The first is a strict ‘parent’ if the original classifier, so whether to include this is presumably the same as whether to include the “Windows” parents above.

Note, however, that “Python :: 2” isn’t a parent of the “2.7” classifier – it’s a sibling. Including it would make sense if it is intended to indicate that my project works under some 2.x Python releases, but not if it’s intended to imply that my project works under all 2.x releases.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:36:06+00:00Added an answer on May 29, 2026 at 12:36 pm

    Technically, you don’t need to include parent tags. For instance lxml lists these tags (but none of their parents):

    Topic :: Text Processing :: Markup :: HTML
    Topic :: Text Processing :: Markup :: XML 
    

    And browsing to the list of packages classified Topic :: Text Processing :: Markup, lxml is included.

    Whether including parent tags makes it any clearer to users, I’m not sure.

    I would take Programming Language :: Python :: 2 to mean some Python 2.x releases, not all Python 2.x – and it seems many projects use it like this (e.g. lxml again).

    As for operating system, I’d use it to define what the package is expected to work on, not only the environments you’ve been able to test. So I’d only use a Windows classifier for a Windows-specific tool that couldn’t work on other operating systems. It doesn’t constitute a support contract.

    The Windows and Windows NT/2000 tags are probably about equivalent by now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trove library provides some fast primitive collections, eg Map , List , but it
List Comprehension for me seems to be like the opaque block of granite that
List Comprehension is a very useful code mechanism that is found in several languages,
List<String> nameList = new List<String>(); DropDownList ddl = new DropDownList(); List is populated here,
List<tinyClass> ids = new List<tinyClass(); ids.Add(new tinyClass(1, 2)); bool b = ids.IndexOf(new tinyClass(1, 2))
List comprehensions can be useful in certain situations, but they can also be rather
List<SelectListItem> items = new List<SelectListItem>(); if (a) { SelectListItem deliveryItem = new SelectListItem() {
List<CertMail> lsRecipetNumber = new List<CertMail>(); CertMail class is in data access layer which returns
List<MyClass> myclassList = (List<MyClass>) rs.get(); TreeSet<MyClass> myclassSet = new TreeSet<MyClass>(myclassList); I don't understand why
List<Foo> fooList = Session[foo] as List<Foo>; fooList.Add(bar); Does the call to Add() change the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.