Skip to content

madana-apk-parser is a module which allows the search for alpine packages by downloading the latest index, parsing it and providing an easy to handle wrapper.

Notifications You must be signed in to change notification settings

MADANA-IO/madana-apk-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

import com.madana.common.apkparser.Package

...

// set alpine arch; default is 'x86_64'
Package.setAlpineArch("aarch64");

// set alpine version; default is 'latest_stable'
Package.setAlpineArch("3.12");

// search for exact match
Package mariadb = Package.searchExact("mariadb");

// search for partial match; this returns a list of packages whos names contain 'mariadb'
ArrayList<Package> mariadbPackages = Package.search("mariadb");

Good to know

  • package list is automatically update if a search is executed and if 24 hours have surpased

About

madana-apk-parser is a module which allows the search for alpine packages by downloading the latest index, parsing it and providing an easy to handle wrapper.

Topics

Resources

Stars

Watchers

Forks

Languages