A lightweight library for getting branches from public REST API
Project description
getaltbranches
A lightweight library for getting branches from public REST API https://rdb.altlinux.org/api/
Description
This library allows to get information to a console about binary branches (sisyphus, p10, p9) using the method /export/branch_binary_packages/{branch}.
Getting Started
Dependencies
The utility runs under all OS including Linux.
Installing
Install this module with pip: pip install getaltbranches
Executing program
After installing, you have several features:
-
get_branches_packages(first branch, second branch, architecture[optional])Get lists of binary packages of 2 branches or lists with a specific architecture.
-
first_branch_unique_packages(first branch, second branch, architecture[optional])Makes a comparison of the received package lists (with specific architecture or not) and outputs JSON, which will display all packages that are in the 1st branch but not in the 2nd.
-
second_branch_unique_packages(first branch, second branch, architecture[optional])Makes a comparison of the received package lists (with specific architecture or not) and outputs JSON, which will display all packages that are in the 2nd branch but not in the 1st.
-
unique_version_release(first branch, second branch, architecture[optional])Makes a comparison of the received package lists (with specific architecture or not) and outputs JSON, which will display all packages whose "version-release" is more in the 1st than in the 2nd.
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getaltbranches-0.1.0.tar.gz.
File metadata
- Download URL: getaltbranches-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de6ccb5f39ed6dc1fc6d7725283c95b8e1e3c1ab2efc140bf19464565cac12b
|
|
| MD5 |
fa91f23611c8c46d7cee17bc1f79b4b7
|
|
| BLAKE2b-256 |
e69e95512269687bd0306b6708eb99d4a725de4f4ecaedacf16432eb0ce82143
|
File details
Details for the file getaltbranches-0.1.0-py3-none-any.whl.
File metadata
- Download URL: getaltbranches-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71717fcf96ae414343e5c253d7d3df38a9bc2caa97397838346d91d05497298c
|
|
| MD5 |
48b10abcb0ad63d67d6ed79c789ce189
|
|
| BLAKE2b-256 |
e9857c369941384f80b2d24d8bedeedb03526983d8b87025ecf6e643bfe6ca20
|