Skip to main content

tracking of upstream project metadata

Project description

Upstream Ontologist

The upstream ontologist provides a common interface for finding metadata about upstream software projects.

It will gather information from any sources available, prioritize data that it has higher confidence in as well as report the confidence for each of the bits of metadata.

The ontologist originated in Debian and the currently reported metadata fields are loosely based on DEP-12, but it is meant to be distribution-agnostic.

Provided Fields

Standard fields:

  • Homepage: homepage URL
  • Name: human name of the upstream project
  • Contact: contact address of some sort of the upstream (e-mail, mailing list URL)
  • Repository: VCS URL
  • Repository-Browse: Web URL for viewing the VCS
  • Bug-Database: Bug database URL (for web viewing, generally)
  • Bug-Submit: URL to use to submit new bugs (either on the web or an e-mail address)
  • Screenshots: List of URLs with screenshots
  • Archive: Archive used - e.g. SourceForge
  • Security-Contact: e-mail or URL with instructions for reporting security issues
  • Documentation: Link to documentation on the web

Extensions for upstream-ontologist, not defined in DEP-12:

  • SourceForge-Project: sourceforge project name
  • Wiki: Wiki URL
  • Summary: one-line description of the project
  • Description: longer description of the project
  • License: Single line license (e.g. "GPL 2.0")
  • Copyright: List of copyright holders
  • Version: Current upstream version
  • Security-MD: URL to markdown file with security policy
  • Author: List of people who contributed to the project
  • Maintainer: The maintainer of the project
  • Funding: URL to more information about funding

Supported Data Sources

At the moment, the ontologist can read metadata from the following upstream data sources:

It will also scan README and INSTALL for possible upstream repository URLs (and will attempt to verify that those match the local repository).

In addition to local files, it can also consult external directories using their APIs:

Example Usage

The easiest way to use the upstream ontologist is by invoking the guess-upstream-metadata command in a software project:

$ guess-upstream-metadata ~/src/dulwich
Security-MD: https://github.com/dulwich/dulwich/tree/HEAD/SECURITY.md
Name: dulwich
Version: 0.20.15
Bug-Database: https://github.com/dulwich/dulwich/issues
Repository: https://www.dulwich.io/code/
Summary: Python Git Library
Bug-Submit: https://github.com/dulwich/dulwich/issues/new

Alternatively, there is a Python API. There are also autocodemeta and autodoap commands that can generate output in the codemeta and DOAP formats, respectively.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upstream-ontologist-0.1.36.tar.gz (180.5 kB view hashes)

Uploaded Source

Built Distributions

upstream_ontologist-0.1.36-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

upstream_ontologist-0.1.36-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

upstream_ontologist-0.1.36-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

upstream_ontologist-0.1.36-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

upstream_ontologist-0.1.36-cp312-cp312-musllinux_1_1_x86_64.whl (7.7 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

upstream_ontologist-0.1.36-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

upstream_ontologist-0.1.36-cp312-cp312-macosx_11_0_arm64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

upstream_ontologist-0.1.36-cp312-cp312-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

upstream_ontologist-0.1.36-cp312-cp312-macosx_10_9_universal2.whl (8.9 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

upstream_ontologist-0.1.36-cp311-cp311-musllinux_1_1_x86_64.whl (7.7 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

upstream_ontologist-0.1.36-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

upstream_ontologist-0.1.36-cp311-cp311-macosx_11_0_arm64.whl (4.4 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

upstream_ontologist-0.1.36-cp311-cp311-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

upstream_ontologist-0.1.36-cp311-cp311-macosx_10_9_universal2.whl (8.9 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

upstream_ontologist-0.1.36-cp310-cp310-musllinux_1_1_x86_64.whl (7.7 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

upstream_ontologist-0.1.36-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

upstream_ontologist-0.1.36-cp310-cp310-macosx_11_0_arm64.whl (4.4 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

upstream_ontologist-0.1.36-cp310-cp310-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

upstream_ontologist-0.1.36-cp310-cp310-macosx_10_9_universal2.whl (8.9 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

upstream_ontologist-0.1.36-cp39-cp39-musllinux_1_1_x86_64.whl (7.7 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

upstream_ontologist-0.1.36-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

upstream_ontologist-0.1.36-cp39-cp39-macosx_11_0_arm64.whl (4.4 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

upstream_ontologist-0.1.36-cp39-cp39-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

upstream_ontologist-0.1.36-cp39-cp39-macosx_10_9_universal2.whl (8.9 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

upstream_ontologist-0.1.36-cp38-cp38-musllinux_1_1_x86_64.whl (7.7 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

upstream_ontologist-0.1.36-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

upstream_ontologist-0.1.36-cp38-cp38-macosx_11_0_arm64.whl (4.4 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

upstream_ontologist-0.1.36-cp38-cp38-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

upstream_ontologist-0.1.36-cp38-cp38-macosx_10_9_universal2.whl (8.9 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

upstream_ontologist-0.1.36-cp37-cp37m-musllinux_1_1_x86_64.whl (7.7 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

upstream_ontologist-0.1.36-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

upstream_ontologist-0.1.36-cp37-cp37m-macosx_10_9_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page