{"id":18136096,"url":"https://github.com/errordeveloper/python-apt","last_synced_at":"2025-04-06T16:47:27.256Z","repository":{"id":137925158,"uuid":"459189258","full_name":"errordeveloper/python-apt","owner":"errordeveloper","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-16T12:07:45.000Z","size":7604,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-12T22:45:50.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/errordeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.GPL","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-14T14:12:37.000Z","updated_at":"2023-03-08T04:59:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"9522b82f-ced5-4d7b-9aa7-ef937ecbceda","html_url":"https://github.com/errordeveloper/python-apt","commit_stats":null,"previous_names":[],"tags_count":219,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/errordeveloper%2Fpython-apt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/errordeveloper%2Fpython-apt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/errordeveloper%2Fpython-apt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/errordeveloper%2Fpython-apt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/errordeveloper","download_url":"https://codeload.github.com/errordeveloper/python-apt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517919,"owners_count":20951715,"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","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":[],"created_at":"2024-11-01T14:10:40.198Z","updated_at":"2025-04-06T16:47:27.230Z","avatar_url":"https://github.com/errordeveloper.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-apt is a wrapper to use features of apt from python.\n\nIt contains the following modules:\n\n## C++ Wrapper:\n\n* apt_pkg - access to libapt-pkg (wrapper to the lowlevel c++ code)\n* apt_inst - access to libapt-inst (wrapper to the lowlevel c++ code)\n\n## Python module:\n\n* apt - high level python interface build on top of apt_pkg, apt_inst\n* aptsources - high level manipulation of sources.list\n\n\n# Development\n\n## Building\n\nTo build python-apt run:\n```\n$ python setup.py build\n```\nYou may need to install the build-dependencies via:\n```\n$ sudo apt build-dep ./\n```\nfirst.\n\n## Running the tests\n\nRun the tests with:\n```\n$ python tests/test_all.py\n$ python3 tests/test_all.py\n```\n\n## Running mypy:\n\nTo check if the \"apt\" python module is mypy clean, run:\n```\n$ MYPYPATH=./typehinting/ mypy ./apt\n```\n\nTo use the annotation with your source code, run:\n```\n$ MYPYPATH=/usr/lib/python3/dist-packages/apt mypy ./my-program\n```\n(adjust from python3 to python2.7 if you run there).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferrordeveloper%2Fpython-apt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferrordeveloper%2Fpython-apt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferrordeveloper%2Fpython-apt/lists"}