Skip to main content

Package for handling Mozilla Archive files.

Project description

Package for handling Mozilla Archive files. MAR file format is documented at https://wiki.mozilla.org/Software_Update:MAR

  • Free software: MPL 2.0 license

Usage

To list the contents of a mar:

mar -t complete.mar

To list the contents of a mar with extra detail:

mar -T complete.mar

To extract a mar:

mar -x complete.mar

To extract, and uncompress a bz2 compressed mar:

mar -j -x complete.mar

To verify a mar:

mar -k :mozilla-nightly -v complete.mar

To create a mar, using bz2 compression:

mar -j -c complete.mar *

To create a mar, using xz compression:

mar -J -c complete.mar *

To create a signed mar:

mar -J -c complete.mar -k private.key -H nightly -V 123 tests

Installation

pip install mar

Documentation

https://mar.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

2.2.3 (2018-01-18)

  • Update dependencies; dependencies are now also pinned in setup.py

  • Correct the key size in exception messages

  • Fix for construct 2.8.22 and higher

  • Fix for hypothesis 3.44.16

2.2.2 (2017-07-06)

  • Fix bug when writing MAR files: the index size was incorrect

  • Support writing interable streams

  • Add new Mozilla SHA384 public keys

2.2.1 (2017-08-23)

  • Output compression and signature type

2.1.0 (2017-06-28)

  • Implement XZ compression

2.0.0 (2017-01-12)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mar-2.2.3.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

mar-2.2.3-py2.py3-none-any.whl (23.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mar-2.2.3.tar.gz.

File metadata

  • Download URL: mar-2.2.3.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mar-2.2.3.tar.gz
Algorithm Hash digest
SHA256 ad5fd85047254f6c4d8a54d593fe4b4c345ef2139b25e1a78ebca81fbd39eaf0
MD5 69568501bc68d79aa6dbf1a9cdf6ddde
BLAKE2b-256 fc2c54f4e8962a376468391647ddbfa2ecaae9799b9052413a449032d4e91b99

See more details on using hashes here.

File details

Details for the file mar-2.2.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mar-2.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0d4a3c1fe6a201f0bb756b1d53c66203952f61df41db34df561667c7515e51d4
MD5 1a514e2479ffd3dfdfe5c7414ec1bc63
BLAKE2b-256 3c07a4e1623c6d387074dff558f201382577e2c3581628550f3d0a316c7071d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page