github.com/gitbundle/modules@v0.0.0-20231025071548-85b91c5c3b01/packages/pypi/metadata.go (about)

     1  // Copyright 2023 The GitBundle Inc. All rights reserved.
     2  // Copyright 2017 The Gitea Authors. All rights reserved.
     3  // Use of this source code is governed by a MIT-style
     4  // license that can be found in the LICENSE file.
     5  
     6  package pypi
     7  
     8  // Metadata represents the metadata of a PyPI package
     9  type Metadata struct {
    10  	Author          string `json:"author,omitempty"`
    11  	Description     string `json:"description,omitempty"`
    12  	LongDescription string `json:"long_description,omitempty"`
    13  	Summary         string `json:"summary,omitempty"`
    14  	ProjectURL      string `json:"project_url,omitempty"`
    15  	License         string `json:"license,omitempty"`
    16  	RequiresPython  string `json:"requires_python,omitempty"`
    17  }