Skip to main content

Application Development Kit (Version 4.8)


ArchiveReader Class Reference

Last updated: 05-Mar-2025

Public Member Functions

def  __init__ (self)

Static Public Member Functions

def  read_file (archive, path)
  Extract archive from file recursively to build in-memory node tree. More...
def  read_fileobj (archive, fileobj, name)
  Extract archive from file object recursively to build in-memory node tree. More...
def  read_pickled_file (path, gz=False)
  Extract pickled file. More...

Data Fields

  last_node_added_stack

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self )

Member Function Documentation

◆ read_file()

def read_file (   archive,
  path 
)
static

Extract archive from file recursively to build in-memory node tree.

Parameters
archive archive root node
path path to the archive file

◆ read_fileobj()

def read_fileobj (   archive,
  fileobj,
  name 
)
static

Extract archive from file object recursively to build in-memory node tree.

Parameters
archive archive root node
fileobj path to the archive file
name name of the root archive node

◆ read_pickled_file()

def read_pickled_file (   path,
  gz = False 
)
static

Extract pickled file.

Parameters
path path to the pickled file
gz whether pickled file is gzipped :return pickled object

Field Documentation

◆ last_node_added_stack

last_node_added_stack

The documentation for this class was generated from the following file:
  • packman/packmanlib/io.py

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo