kysdk.Packageinfo(3)

📦 version 3.0.1.4, in arch rolling, ubuntu resolute, ubuntu stonking

💖 kysdk.Packageinfo 💖

okay bestie, buckle up, we're looking at kysdk.Packageinfo(3) — a page from the Library Functions Manual, and she is serving package-inspection realness. 🎀


✨ NAME ✨

kysdk.Packageinfo — get package list info 💅

Her whole thing, fr fr: grab the list of every package on the system, grab the version number of a specific package on the system, and check whether the package with a given name is actually installed correctly. That's the trio. That's the vibe. 🦋


✨ SYNOPSIS ✨

She inherits kysdk.Base. Family tree matters, iykyk.

🌸 Public Member Functions 🌸

def __init__ (self)
def getPackageList (self)
def getPackageVersion (self, package_name)
def getPackageInstalled (self, package_name, version=None)
  • def __init__ (self) — the lil constructor moment, no drama, just existing ✨
  • def getPackageList (self) — grabs the list of every package on the system 📋
  • def getPackageVersion (self, package_name) — grabs the version number of the package you named 🏷️
  • def getPackageInstalled (self, package_name, version=None) — checks whether the package with that name is properly installed ✅

🌈 Additional Inherited Members 🌈

yep, there's more stuff she gets from her parent, and it's all listed under that heading. inheritance ate, honestly 👑


💜 Detailed Description 💜

Getting package list info, bestie. 📦

She's mainly here to do three things: get the list of all packages on the system, get the version number of a specified package on the system, and detect whether the software package with a specified package name is correctly installed. Simple. Iconic. No notes. 💅


🫶 Member Function Documentation 🫶

🍓 def kysdk.Packageinfo.getPackageInstalled ( self, package_name, version = None)

Checks whether the software package with the specified package name is correctly installed. lowkey the most important one ngl 🔍

Parameters

  • package_name — the package name (包名)
  • version — the version number (版本号). Most of the time this is NULL — she's being held in reserve, reserved specifically to get ready for snap. So like, don't stress about it yet 🫠

Returns

  • returns 0 on success, an error code on failure 🎯

References

  • kysdk.SessionBase.interface
  • kysdk.Base.interface

🧚 def kysdk.Packageinfo.getPackageList ( self)

Grabs the list of every package on the system. all of them. the whole roster. 📜✨

Returns

  • the list of all packages on the system 📦📦📦

References

  • kysdk.SessionBase.interface
  • kysdk.Base.interface

🦋 def kysdk.Packageinfo.getPackageVersion ( self, package_name)

Grabs the version number of the specified package on the system. number go brrr 🔢

Parameters

  • package_name — the software package name (软件包名)

Returns

  • the version number 🏷️

References

  • kysdk.SessionBase.interface
  • kysdk.Base.interface

👑 Author 👑

Generated automatically by Doxygen for kysdk.py from the source code. not a human author, just a robot doing her little documentation dance 🤖💃


and that's the whole page bestie, no cap, every last detail preserved 💖

My Project — Thu Sep 21 2023 — kysdk.Packageinfo(3) ✨ periodt ✨

📦 where this page comes from