Unarchive an NSKeyedArchive into a python object.
Project description
Unarchiver
Unarchive an NSKeyedArchive into python.
Installation
pip install unarchiver
Command-line usage
Usage: unarchiver.py [OPTIONS] KEYED_ARCHIVE
Unarchive an NSKeyedArchiver file.
Options:
-o, --to-file PATH A file to dump unarchived content into.
--help Show this message and exit.
$ poetry run unarchive ~/Library/News/actionQueue
{
"root": {
"$type": "NSMutableDictionary",
"NS.keys": [
"FCFileCoordinatedAccountActionQueueLocalDataHintKey",
"FCFileCoordinatedAccountActionQueueActionTypesKey"
],
"NS.objects": [
true,
{
"$type": "NSMutableArray",
"NS.objects": []
}
]
}
}
Library Usage
from unarchiver.unarchiver import Unarchiver
unarchiver = Unarchiver(path_to_archive)
obj = unarchiver.parse()
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
unarchiver-0.2.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for unarchiver-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6c2f76e6fc855f83d493aaaea5f4d406cc90c5b584652d4d636527a7ead6bb |
|
MD5 | 9c38cde6b06ed14bf735c8abc416a02b |
|
BLAKE2b-256 | 1f0c1357072283428a7a1faf77716c93dacde2291edbf398a14026b86a9918b1 |