Skip to content
forked from vidstige/ar

Pure python implementation of the ar archive format

Notifications You must be signed in to change notification settings

nickdesaulniers/ar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

python-3.8 python-3.7 python-3.6 python-3.5

ar

Python package for parsing ar archive file.

Installation

pip install ar

Usage

List files inside file.a

with open('file.a') as f:
  archive = Archive(f)
  for entry in archive:
    print(entry.name)

Read content of file.txt contained within file.a.

with open('file.a') as f:
  archive = Archive(f)
  print(archive.open('file.txt').read())

Author

Samuel Carlsson

About

Pure python implementation of the ar archive format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Shell 1.1%