Re: Yum Python Module

James Antill <[email protected]> Thu, 20 Aug 2015 23:45:21 -0400
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
sad man <[email protected]> writes:

> Hi, I am using Python 2.7 and wanted to do use the yum python module to do
> "yumdownloader". Is there any documentation to use |yum-utils" from within
> Python?

 No, they aren't meant to be used as modules.

> Currently I have to run the command-line "yumdownloader ..." from my python
> script.

 For downloading you can look (and copy) what yumdownloader/reposync
is doing. Or get URLs and download them manually, but this is not a
great idea due to client certs. etc.

-- 
James Antill -- [email protected]