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()
Metadata
Release files for unarchiver 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unarchiver-0.2.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unarchiver-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / unarchiver-0.2.0.tar.gz
| Download URL | unarchiver-0.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c98760017c5e5ba1ded410bb3a6a431d28ce5bc32c27394655f9eaf97097d9b
|
|
BLAKE2b-256 checksum How to use checksums |
c79ae596c5a9f78508906ea5a5f5f08eca114a93f674389f43fd4e9bf833eb4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / unarchiver-0.2.0-py3-none-any.whl
| Download URL | unarchiver-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df6c2f76e6fc855f83d493aaaea5f4d406cc90c5b584652d4d636527a7ead6bb
|
|
BLAKE2b-256 checksum How to use checksums |
1f0c1357072283428a7a1faf77716c93dacde2291edbf398a14026b86a9918b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|