{"id":13437448,"url":"https://github.com/archlinux/pyalpm","last_synced_at":"2025-08-18T12:24:44.079Z","repository":{"id":49148518,"uuid":"94583073","full_name":"archlinux/pyalpm","owner":"archlinux","description":"Python 3 bindings for libalpm (read-only mirror)","archived":false,"fork":false,"pushed_at":"2021-11-20T09:04:20.000Z","size":524,"stargazers_count":59,"open_issues_count":14,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-28T06:06:39.993Z","etag":null,"topics":["archlinux","pacman","python"],"latest_commit_sha":null,"homepage":"https://gitlab.archlinux.org/archlinux/pyalpm","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/archlinux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-16T21:38:05.000Z","updated_at":"2025-04-24T06:48:34.000Z","dependencies_parsed_at":"2022-08-25T15:20:49.780Z","dependency_job_id":null,"html_url":"https://github.com/archlinux/pyalpm","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/archlinux/pyalpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archlinux%2Fpyalpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archlinux%2Fpyalpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archlinux%2Fpyalpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archlinux%2Fpyalpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/archlinux","download_url":"https://codeload.github.com/archlinux/pyalpm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archlinux%2Fpyalpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270991873,"owners_count":24681286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","pacman","python"],"created_at":"2024-07-31T03:00:57.114Z","updated_at":"2025-08-18T12:24:44.050Z","avatar_url":"https://github.com/archlinux.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"#  pyalpm - python bindings for the libalpm library\n\n[![Build Status](https://travis-ci.org/archlinux/pyalpm.svg?branch=master)](https://travis-ci.com/archlinux/pyalpm) [![Documentation Status](https://readthedocs.org/projects/pyalpm/badge/?version=latest)](https://pyalpm.readthedocs.io/en/latest/?badge=latest)\n\npyalpm is a C extension for Python 3 that give access to the\nlibalpm API for package management, which is used, for example\nin the Arch Linux distribution.\n\n# Requirements\n\n* Python 3 or later\n\n* libalpm 13\n\n* python-setuptools\n\n* python-pkgconfig\n\n* python-sphinx (optional, to build the docs)\n\n# Building\n\nBuilding is as easy as running make\n\n\tmake\n\nBuilding the docs:\n\n\tmake -C doc html\n\n# Testing\n\nRequired test dependency:\n\n* python-pytest\n* gcovr (optional, generating C coverage) \n\nUnit tests can be run with:\n\n\tmake test\n\nCoverage for Python code can be generated as following:\n\n\tmake open-coverage\n\nCoverage for the CPython code can be generated as following:\n\n\tmake open-ext-coverage\n\n# Releasing\n\n1. Bump version in setup.py\n2. commit\n3. git tag\n\n## Uploading to PyPI\n\n1. python3 setup.py sdist\n2. twine upload -s dist/* --verbose\n\n# Pacman development compatibility\n\nThe master branch tracks the most recent pacman release and thus libalpm\nrelease, the [next](https://gitlab.archlinux.org/archlinux/pyalpm/-/tree/next) branch\nfollows [pacman's master branch](https://gitlab.archlinux.org/pacman/pacman.git).\n\nBuilding against pacman-git is as simple as:\n\n\tgit clone https://gitlab.archlinux.org/pacman/pacman.git\n\tmkdir build\n\tcd build \u0026\u0026 meson .. \u0026\u0026 ninja\n\tPKG_CONFIG_PATH=/path/to/pacman/build/meson-uninstalled make build\n\nRunning tests against pacman-git:\n\n\tLD_LIBRARY_PATH=/path/to/pacman/build/ make test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchlinux%2Fpyalpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchlinux%2Fpyalpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchlinux%2Fpyalpm/lists"}