unix-ar 0.2.1
pip install unix-ar
Latest version
Released:
AR file handling
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Remi Rampin
- Maintainer: Alan Justino
- Tags ar, archive, unix, deb
- Requires: Python ~=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
unix_ar
This packages allows the reading and writing of AR archive files
.
It is inspired by the tarfile
and zipfile
that are part of Python's standard library (unfortunately the name arfile
was taken on PyPI).
Features
The package provides a ArFile
partially implementing the interface of
tarfile.TarFile
>>> import unix_ar
>>> import tarfile
>>> ar_file = unix_ar.open('mypackage.deb')
>>> tarball = ar_file.open('data.tar.gz/') # default interest location on .deb files
>>> tar_file = tarfile.open(fileobj=tarball) # handles gz decompression internally
>>> tar_file.extractfile('usr/local/mypackage/bin/mybinarycontent.sh')
Credits
This package was created by Remi Rampin, that does not want to maintain it anymore.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Remi Rampin
- Maintainer: Alan Justino
- Tags ar, archive, unix, deb
- Requires: Python ~=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file unix_ar-0.2.1.tar.gz
.
File metadata
- Download URL: unix_ar-0.2.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9328ec70fa3a82f94dc26dc125264dbf62a2d8ffb1a3c8c8a8230175e72c4e |
|
MD5 | e51b681d8ef849f4a7c1dd0b5d23b8b0 |
|
BLAKE2b-256 | 3e3765cb206bd7110887248fe041e00e61124abdcd23de8f19418898a51363fc |
File details
Details for the file unix_ar-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: unix_ar-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2acb718bc1308bf80e5b9da2614d8242cc2fe3be4cd8b2fd4719bce189aafcf1 |
|
MD5 | e814b1f9897472d2ab191c1b7c1f793a |
|
BLAKE2b-256 | b6a1847695f96c37cdd57233e6e0f76c4637332acb06a6e0258160f0062c1a85 |