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
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.3.0 (2018-04-12)
Remove deprecated usage of signature generation and verification in cryptography library. This changes the type of object returned by the make_signer and make_verifier functions.
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
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 mar-2.3.0.tar.gz
.
File metadata
- Download URL: mar-2.3.0.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e7b2fbd0714d90587caabe156a63baf73462fca7622b12784559b5a38993695 |
|
MD5 | 72e4b9fab5d5441a9c28595c25e4f082 |
|
BLAKE2b-256 | 38637f57434251f00c3d2c49d12a89223b66dbc9ce9f50f73fdad024315c9f39 |
File details
Details for the file mar-2.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mar-2.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f81306bc55fb31ec06c93a1383e40198952781deacda67068a4a73e904971128 |
|
MD5 | f5b001fc0aa6d13c2dabd2298183e953 |
|
BLAKE2b-256 | 36e8f8fc676c9083813428913c7b425163793e7f3ec76e62daf9d85a2a67b4a8 |