Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ludeeus/alpinepkgs
Python package that give you information about packages from pkgs.alpinelinux.org
https://github.com/ludeeus/alpinepkgs
apline package package-manager packages
Last synced: 4 days ago
JSON representation
Python package that give you information about packages from pkgs.alpinelinux.org
- Host: GitHub
- URL: https://github.com/ludeeus/alpinepkgs
- Owner: ludeeus
- License: mit
- Created: 2019-01-02T13:28:51.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-11-06T11:37:44.000Z (about 2 years ago)
- Last Synced: 2024-11-02T10:42:43.454Z (11 days ago)
- Topics: apline, package, package-manager, packages
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alpinepkgs
_Give you information about packages from pkgs.alpinelinux.org._
**NOTE!: This package uses web scraping to gather the information.**
## Install
```bash
pip install alpinepkgs
```### Example
```python
from alpinepkgs.packages import get_package
print(get_package('python3'))> {'package': 'python3', 'branch': 'v3.16', 'x86_64': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 'x86': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 'aarch64': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 'armhf': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 's390x': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 'armv7': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 'ppc64le': {'version': '3.10.5-r0', 'date': '2022-07-25', 'licence': 'PSF-2.0', 'maintainer': 'Natanael Copa', 'url': 'https://www.python.org/'}, 'versions': ['3.10.5-r0']}
```