pypa / pypa/packaging

Utility functions to compose file distribution names

Open
#408 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement packaging.utils
Dominant language
Python
Stars
751
Forks
324
Avg merge
12h 58m
Merged PRs (30d)
3

Description

Is there interest in a pull request for functions that perform the inverse operation of packaging.utils.parse_wheel_filename and parse_sdist_filename?

It seems like an omission that there is no function such that x == compose_wheel_filename(*parse_wheel_filename(x))

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the packaging.utils.parse_wheel_filename and parse_sdist_filename entry points named in the issue, and review the discussion before defining the inverse API. Done means an agreed implementation and tests establish that composing each parser with its corresponding function reproduces the original distribution filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.