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.1.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for unarchiver-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da5d825eed08a3468da13992bed12af8c3799b8809be348d0a93bbec2b989406 |
|
MD5 | 6eae30592907d05496d57eaff9ec4a4a |
|
BLAKE2b-256 | 72b91ffb8485086f805baabbdc3567c54477b192de695cae5d1d98c9c51f2134 |