Skip to content

Manage projects with namespaces #2589

@4383

Description

@4383

Hey!

Overview

This is a feature proposal. Now when a project is already register on pypi it's not possible to users to test a fork of any projects with the same name when it's already exist, manage projects by namespace increase possiblities for the python community.

With this feature we can introduce trusted packages by allow install/search without namespace and add namespaces on untrusted packages like docker behavior (docker pull nginx or docker pull 4383/nginx).

On docker when the package is trusted (docker trusted image mean maintained by docker itself), namespace does not exist, and when a package is maintain by a third user namespace appear into the name.

I don't want delegate official projects maintainance to the pypa team but we can introduce a vote system for the community and remove namespace when project obtain a certain number of votes from the community (users).

I'm sure to be in the right place for propose this feature, twine, pip etc... must be upgraded also for work with it.

Features

  • Allow users to vote for trust project and allow download (install, search, etc...) without prefix with user namespace
  • Allow users to upload on pypi project with a name who already exist on pypi but prefixed by user namespace.

Benefits

  • Improve project trust
  • Improve package trusting and discrease risk that users deal with a miscellaneous package come from a typo squatting example 1, pypa github discussion
  • Allow users to provide forked version of an official project
  • Allow users to test that packaging work fine on pypi

Examples

With pip:

$ pip install Django # trusted package
$ pip install 4383/Django # untrusted package

Url transposition:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions