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.0 (2016-12-16)

  • 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.1.2.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

mar-2.1.2-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for mar-2.1.2.tar.gz
Algorithm Hash digest
SHA256 85048fdf53cb69d55e1ebe3488d93650d77945a183150ddfad5b251b3749f8d3
MD5 d42cfa4308c5cb82aff29479e17836a5
BLAKE2b-256 8d2028ffdb315aa4d8dccf3a86312276a91984d8404f7e10d84d7d3c2cb680ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mar-2.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 570ceaf2ba66ce0366fa082e181bde906bdf84f8760394b8d7a108a2aa1c6fc1
MD5 01987b994a869c1f426a427758263bde
BLAKE2b-256 bba2f5679a6459fdaf6f2dd0a5fe48030cb56bc3abb2ab824b970b885ae5df1a

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