Skip to main content

appstream-python

PyPI PyPI - Downloads PyPI - Python Version PyPI - License PyPI - Implementation Read the Docs

A library for dealing with Freedesktop AppStream data.

import appstream_python


def main() -> None:
    component = appstream_python.component.Component()
    component.id = "com.example.ExampleApp"

    component.urls["homepage"] = "https://example.com"
    component.urls["bugtracker"] = "https://example.com/bugtracker"

    component.save_file("com.example.ExampleApp.metainfo.xml")


if __name__ == "__main__":
    main()

Features:

Download files

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

Source Distribution

appstream_python-1.0.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

appstream_python-1.0.0-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file appstream_python-1.0.0.tar.gz.

File metadata

  • Download URL: appstream_python-1.0.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for appstream_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 10392dbc0f633cd260b1b3661bf7e7534bf214a0202a53b13081ce36917ac701
MD5 16349a828aabd5a280612986b16f23b4
BLAKE2b-256 fbadcdd721e47a161cc192f625ec4f73fcdc11523904eea8e26c194a26c34e1e

See more details on using hashes here.

File details

Details for the file appstream_python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for appstream_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c76444583b13ddf2479afdadd80aa075aa7bec38b9dc1bed84c7fbf9931ac145
MD5 67116c3f6faf1774dfe6eebb236f0596
BLAKE2b-256 2550b733c9514856d47b95b6c11254c710eca1fe73e416fc3bd4b48104ab3612

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page