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 details)
Built Distribution
File details
Details for the file unarchiver-0.2.0.tar.gz
.
File metadata
- Download URL: unarchiver-0.2.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c98760017c5e5ba1ded410bb3a6a431d28ce5bc32c27394655f9eaf97097d9b |
|
MD5 | 9d88f13c890b60bff81a74fe2024e395 |
|
BLAKE2b-256 | c79ae596c5a9f78508906ea5a5f5f08eca114a93f674389f43fd4e9bf833eb4d |
File details
Details for the file unarchiver-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: unarchiver-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6c2f76e6fc855f83d493aaaea5f4d406cc90c5b584652d4d636527a7ead6bb |
|
MD5 | 9c38cde6b06ed14bf735c8abc416a02b |
|
BLAKE2b-256 | 1f0c1357072283428a7a1faf77716c93dacde2291edbf398a14026b86a9918b1 |