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.0 (2016-12-16)
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.2.2.tar.gz
.
File metadata
- Download URL: mar-2.2.2.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b10fdd6e1b71d90786762e40c28aed151e7230bace0e1fc361f9fe3f09f18e7 |
|
MD5 | 9a6582499ed0223e5b1d04547b86469a |
|
BLAKE2b-256 | c9aab3f7ce2b2418a8e59e2a5cbef1cad5c90ff37f254d59fd69d32d3e517e9b |
File details
Details for the file mar-2.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: mar-2.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c50b5d24a06fef356508fc58108980e66381b29147b96a7ec86045afb37f99 |
|
MD5 | ed5e37728900b74af9b04cb174a7fe2f |
|
BLAKE2b-256 | bb3d16f91121290c51eaa57a4273bd3fe9b0773b7ea171268e5cf435a247ca6e |