-
Notifications
You must be signed in to change notification settings - Fork 1k
Documentation on Project-Urls #16513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
7181f6a
Update services recognized in detail.html
DarkaMaul c169227
Add documentation on Project-URLs
DarkaMaul 775715d
Merge branch 'main' into dm/project-urls-docs
DarkaMaul 37cbca1
Merge branch 'main' into dm/project-urls-docs
DarkaMaul 580c3b8
Update documentation
DarkaMaul 927a159
Apply suggestions from code review
DarkaMaul 777ad2b
Update documentation.
DarkaMaul 85e4031
Apply suggestions from code review
woodruffw ab1932e
Merge branch 'main' into dm/project-urls-docs
di File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Project Metadata | ||
|
||
Python packages can include additional metadata to provide more information | ||
about the project. This document outlines the specific behaviors | ||
implemented by PyPI to display project metadata and other details. The | ||
comprehensive list of metadata fields is available in the [Python Packaging | ||
User Guide]. | ||
|
||
[Python Packaging User Guide]: https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata-specifications | ||
|
||
|
||
## Project URLs | ||
|
||
Packages owners can specify various URLs related to their project using | ||
the [`[project.urls]` table](https://packaging.python.org/en/latest/specifications/pyproject-toml/#urls) in the package's `pyproject.toml`. | ||
|
||
PyPI renders these URLs on the project page and splits them into `verified` and | ||
`unverified` subgroups. They are also available using the | ||
[JSON API](https://warehouse.pypa.io/api-reference/json.html). | ||
|
||
### Verified details | ||
|
||
{ loading=lazy } | ||
|
||
PyPI currently supports several ways of verifying project URLs. When a URL is verified, PyPI highlights it using a green checkmark (:fontawesome-solid-circle-check:{ .checked }). | ||
|
||
!!! warning | ||
|
||
An URL being verified only attests that the URL is under control of the | ||
PyPI package owner, and does not imply any additional safety about that | ||
URL or any other relationship to the project in question. | ||
|
||
DarkaMaul marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### Self-links | ||
|
||
Any URL to the project on PyPI will be considered verified. | ||
|
||
### Via Trusted Publishing | ||
|
||
[Trusted Publishing](trusted-publishers/index.md) allows PyPI to attest that the | ||
publishing workflow for a package is coming from a verified source. | ||
|
||
PyPI supports the following OIDC Publishers: | ||
|
||
- [GitHub Actions][gh-action-tab] | ||
- [Google Cloud][gc-tab] | ||
- [ActiveState][active-tab] | ||
- [GitLab CI/CD][gitlab-tab] | ||
|
||
[gh-action-tab]: trusted-publishers/creating-a-project-through-oidc.md#github-actions | ||
[gc-tab]: trusted-publishers/creating-a-project-through-oidc.md#google-cloud | ||
[active-tab]: trusted-publishers/creating-a-project-through-oidc.md#activestate | ||
[gitlab-tab]: trusted-publishers/creating-a-project-through-oidc.md#gitlab-cicd | ||
|
||
|
||
### Icons | ||
|
||
{ loading=lazy } | ||
|
||
While the labels can be arbitrary, PyPI recognizes the ones from the | ||
lists below and changes the default icon from | ||
:fontawesome-solid-square-up-right: to a customized one. | ||
|
||
#### General URL | ||
|
||
| Icon | Name | Description | Aliases | | ||
|:------------------------------------------|:--------------|:--------------------------|:--------------------------| | ||
| :fontawesome-solid-house-chimney: | Homepage | For the project homepage | | | ||
| :fontawesome-solid-cloud: | Download | A download link | | | ||
| :fontawesome-solid-scroll: | Changelog | Changelog information | | | ||
| :fontawesome-solid-book: | Documentation | Project documentation | Docs | | ||
| :fontawesome-solid-bug: | Bug | Bug/Issue report location | Issue, Tracker, Report | | ||
| :fontawesome-solid-circle-dollar-to-slot: | Funding | Sponsoring information | Sponsor, Donation, Donate | | ||
|
||
|
||
#### Hosting Platforms | ||
|
||
| Icon | Name | | ||
|:-------------------------------|:----------| | ||
| :fontawesome-brands-github: | GitHub | | ||
| :fontawesome-brands-gitlab: | GitLab | | ||
| :fontawesome-brands-bitbucket: | Bitbucket | | ||
| :fontawesome-brands-google: | Google | | ||
|
||
|
||
#### Social Medias Platforms | ||
|
||
| Icon | Name | | ||
|:----------------------------------|:---------| | ||
| :fontawesome-brands-gitter: | Gitter | | ||
| :fontawesome-brands-discord: | Discord | | ||
| :fontawesome-brands-reddit-alien: | Reddit | | ||
| :fontawesome-brands-slack: | Slack | | ||
| :fontawesome-brands-twitter: | Twitter | | ||
| :fontawesome-brands-youtube: | Youtube | | ||
| :fontawesome-brands-mastodon: | Mastodon | | ||
|
||
#### Continuous Integration Services | ||
|
||
| Icon | Name | | ||
|:-------------------------------|:----------| | ||
| :fontawesome-solid-list-check: | AppVeyor | | ||
| :fontawesome-solid-list-check: | CircleCI | | ||
| :fontawesome-solid-list-check: | Codecov | | ||
| :fontawesome-solid-list-check: | Coveralls | | ||
| :fontawesome-solid-list-check: | Travis CI | | ||
|
||
#### Python Ecosystem | ||
|
||
| Icon | Name | Alias | | ||
|:----------------------------|:-------|:-----------| | ||
| :fontawesome-solid-cube: | PyPI | Cheeseshop | | ||
| :fontawesome-brands-python: | Python | | | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.