Navigation
index
modules
|
next
|
python-apt v0.7.100.1+squeeze1 documentation
»
Python APT Documentation contents
¶
Contents:
What’s new in python-apt
What’s New In python-apt 0.7.100
Support for Python 3
Real classes in
apt_pkg
Complete rename of functions, methods and attributes
Context managers for the
with
statement
Unification of dependency handling
C++ headers
Redesign of
apt_inst
Other changes
Porting your applications to the new python-apt API
Python APT Library
apt_pkg
— The low-level bindings for apt-pkg
Module Initialization
Working with the cache
Managing the cache with
DepCache
Installing with
PackageManager
Improve performance with
ActionGroup
Resolving Dependencies with
ProblemResolver
Package
information
Example:
Version
Dependency
Example: Find all missing dependencies
Description
Package Pinning with
Policy
Index Files
Records (Release files, Packages, Sources)
The Acquire interface
Hashes
Debian control files
Dependencies
Configuration and Command-line parsing
Locking
Other classes
String functions
Module Constants
Package States
Installed states
Priorities
Package selection states
Build information
apt_inst
- Working with local Debian packages
AR Archives
Debian Packages
Tar Archives
Deprecated functions
apt.cache
— The Cache class
The Cache class
Example
Working with Filters
Example
The ProblemResolver class
Exceptions
apt.cdrom
- Functionality like in apt-cdrom
apt.debfile
— Classes related to debian package files
Binary packages
Source packages
apt.package
— Classes for package handling
The Package class
The Version class
Dependency Information
Origin Information
Examples
apt.progress.base
— Abstract classes for progress reporting
AcquireProgress
CdromProgress
OpProgress
InstallProgress
apt.progress.text
— Progress reporting for text interfaces
Acquire Progress Reporting
CD-ROM Progress Reporting
Operation Progress Reporting
apt.progress.gtk2
— Progress reporting for GTK+ interfaces
GObject progress classes
GTK+ Widget
Example
aptsources.distinfo
— provide meta information for distro repositories
aptsources.distro
— Distribution abstraction of the sources.list
aptsources.sourceslist
— Provide an abstraction of the sources.list
Tutorials
Writing your own apt-cdrom
Basics
Advanced example with command-line parsing
Doing stuff
apt-get
does
Printing the URIs of all index files
Contributing to python-apt
Available branches
Distribution branches
Important Personal branches
C++ Coding style
C++ dialect
Code lay-out
Naming conventions
Documentation Strings
Python Coding Style
Submitting your patch
Documentation updates
Example patch session
Python APT and C++
Python APT C++ API
Acquire (pkgAcquire)
AcquireFile (pkgAcqFile)
AcquireItem (pkgAcquire::Item)
AcquireItemDesc (pkgAcquire::ItemDesc)
AcquireWorker (pkgAcquire::Worker)
ActionGroup (pkgDepCache::ActionGroup)
Cache (pkgCache)
CacheFile (pkgCacheFile)
Cdrom (pkgCdrom)
Configuration (Configuration)
DepCache (pkgDepCache)
Dependency (pkgCache::DepIterator)
Description (pkgCache::DescIterator)
Hashes (Hashes)
HashString (HashString)
IndexRecords (indexRecords)
MetaIndex (metaIndex)
Package (pkgCache::PkgIterator)
PackageFile (pkgCache::PkgFileIterator)
IndexFile (pkgIndexFile)
PackageManager (pkgPackageManager)
Policy (pkgPolicy)
ProblemResolver (pkgProblemResolver)
SourceList (pkgSourceList)
TagFile (pkgTagFile)
TagSection (pkgTagSection)
Version (pkgCache::VerIterator)
Embedding Python APT
Basics
Longer example
Indices and tables
¶
Index
Module Index
Search Page
Table Of Contents
Python APT Documentation contents
Indices and tables
Next topic
What’s new in python-apt
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
next
|
python-apt v0.7.100.1+squeeze1 documentation
»