A utility to extract rust audit information from rust executable if audit enabled
Project description
A python package that extracts rust audit information from rust audit based executables.
Example usage
from pyrustaudit import get_rust_audit
import json
def test_get_info(file):
res = get_rust_audit(file)
print(json.dumps(res, indent=4))
test_get_info("foo/bar")
test_get_info("/usr/bin/du")
test_get_info("test-data/centos5-plain-Packages")
The result returned is always a dict object for errors the dictionary returned contains a key; "error" like;
{
"error": "path error:foo/bar"
}
or
{
"error": "/usr/bin/du: could not read Go build info from /usr/bin/du: unrecognized file format"
}
on success a python dict is rturned like this
{
"packages": [
{
"name": "adler",
"version": "1.0.2",
"source": "registry",
"kind": "build",
"dependencies": null,
"features": null,
"root": false
},
{
"name": "auditable",
"version": "0.1.0",
"source": "registry",
"kind": "runtime",
"dependencies": null,
"features": null,
"root": false
},
{
"name": "auditable-build",
"version": "0.1.0",
"source": "registry",
"kind": "build",
"dependencies": [
3,
5,
7,
15
],
"features": null,
"root": false
},
{
"name": "auditable-serde",
"version": "0.1.0",
"source": "registry",
"kind": "build",
"dependencies": [
5,
11,
13,
15
],
"features": [
"cargo_metadata",
"default",
"from_metadata"
],
"root": false
},
{
"name": "autocfg",
"version": "1.2.0",
"source": "registry",
"kind": "build",
"dependencies": null,
"features": null,
"root": false
},
{
"name": "cargo_metadata",
"version": "0.11.4",
"source": "registry",
"kind": "build",
"dependencies": [
11,
13,
15
],
"features": [
"default"
],
"root": false
},
{
"name": "itoa",
"version": "1.0.11",
"source": "registry",
"kind": "build",
"dependencies": null,
"features": null,
"root": false
},
{
"name": "miniz_oxide",
"version": "0.4.4",
"source": "registry",
"kind": "build",
"dependencies": [
0,
4
],
"features": null,
"root": false
},
{
"name": "proc-macro2",
"version": "1.0.79",
"source": "registry",
"kind": "build",
"dependencies": [
18
],
"features": [
"proc-macro"
],
"root": false
},
{
"name": "quote",
"version": "1.0.35",
"source": "registry",
"kind": "build",
"dependencies": [
8
],
"features": [
"proc-macro"
],
"root": false
},
{
"name": "ryu",
"version": "1.0.17",
"source": "registry",
"kind": "build",
"dependencies": null,
"features": null,
"root": false
},
{
"name": "semver",
"version": "0.10.0",
"source": "registry",
"kind": "build",
"dependencies": [
12,
13
],
"features": [
"default",
"serde"
],
"root": false
},
{
"name": "semver-parser",
"version": "0.7.0",
"source": "registry",
"kind": "build",
"dependencies": null,
"features": null,
"root": false
},
{
"name": "serde",
"version": "1.0.197",
"source": "registry",
"kind": "build",
"dependencies": [
14
],
"features": [
"default",
"derive",
"serde_derive",
"std"
],
"root": false
},
{
"name": "serde_derive",
"version": "1.0.197",
"source": "registry",
"kind": "build",
"dependencies": [
8,
9,
16
],
"features": [
"default"
],
"root": false
},
{
"name": "serde_json",
"version": "1.0.115",
"source": "registry",
"kind": "build",
"dependencies": [
6,
10,
13
],
"features": [
"default",
"std"
],
"root": false
},
{
"name": "syn",
"version": "2.0.58",
"source": "registry",
"kind": "build",
"dependencies": [
8,
9,
18
],
"features": [
"clone-impls",
"derive",
"parsing",
"printing",
"proc-macro"
],
"root": false
},
{
"name": "test-data",
"version": "0.1.0",
"source": "local",
"kind": "runtime",
"dependencies": [
1,
2
],
"features": null,
"root": false
},
{
"name": "unicode-ident",
"version": "1.0.12",
"source": "registry",
"kind": "build",
"dependencies": null,
"features": null,
"root": false
}
]
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrustaudit-0.0.3.tar.gz
(6.5 kB
view hashes)
Built Distributions
Close
Hashes for pyrustaudit-0.0.3-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cac0995be77ffde4a71579361b20f4f073eb8e11836ad79323b328a3bda0a5c |
|
MD5 | 3d987bb71ca7c494ae303fb7ee10cb62 |
|
BLAKE2b-256 | 4faa433e054aab6cb0811e942ea2f360ecda3985a02b3abcdf7aeb1328adf04b |
Close
Hashes for pyrustaudit-0.0.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca7772e6cdc04cb720515905ece946016536640932fe0b841d7501ce1ba3bcf |
|
MD5 | c51513664c98feef1abbc8ea05b2c4e4 |
|
BLAKE2b-256 | 77f686079040f9e42a7a4758353d99cf2fd9661490ae991a424d1a69aa508365 |
Close
Hashes for pyrustaudit-0.0.3-pp310-pypy310_pp73-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f630a31741095eedaf553188e0a661a7dee725fa4377fb16e138afd2b90bc6 |
|
MD5 | 835aef15ae02e353bc97a89fdafb4b16 |
|
BLAKE2b-256 | e1f9a1cb89da8ecfc05e0240839f1b0961d7b7e419af77dc7a6d70cffaf56263 |
Close
Hashes for pyrustaudit-0.0.3-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b35a832ec25fbe529a44fa5b54ba8b7f020d30047a2c734cd9b750a5b3067c |
|
MD5 | 295ed38153d01c7394878de5e72e3af3 |
|
BLAKE2b-256 | ca8aa7955098ea08c03e774de9c8e70dcf7510d8a75499a3c8d30fc49902dfeb |
Close
Hashes for pyrustaudit-0.0.3-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa47087a93f92bc20fdd2f920bf52f1c5d33c12c01f282234f77e9ce577cbaa2 |
|
MD5 | 8d70a48e2a128525b75ab025fb746e70 |
|
BLAKE2b-256 | 5c620911cf73450575a4d5891993732f933b1aa59501429c49299efce1582067 |
Close
Hashes for pyrustaudit-0.0.3-pp39-pypy39_pp73-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bb49c3e460bd3c4b189ad8c077473031d18386e14c439bbe5ee283dcd713915 |
|
MD5 | 62ce64e1ee10280f8ed44b0fa2c396c3 |
|
BLAKE2b-256 | e826476ae8173025f712fae0921c33482440796848a57b7dafe57bf88f6f77f7 |
Close
Hashes for pyrustaudit-0.0.3-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178c8bef0434344033e70d83028e9d1b5e63148f1344767e5ca691117e4c1e3f |
|
MD5 | f637ce9504eea801c064467cc193387e |
|
BLAKE2b-256 | cb4b8903633474005955f8544acd7ecaaa012adb705aa2ed2c16c2f0276ac352 |
Close
Hashes for pyrustaudit-0.0.3-pp38-pypy38_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e407b4994891dcb34b5e33f3eb6a879b31511b106323f0f5bdabb54b89c9b1 |
|
MD5 | bad0aabd98153e73bc2254370ebb1ab9 |
|
BLAKE2b-256 | 447c9767e969cf7cbdc434309650c810419d1cf79c9c3fdd5c614ba099885175 |
Close
Hashes for pyrustaudit-0.0.3-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5fe1780c202ce6976b8af79d28e6f44ae84d6e6b768a87d0c616b8907e2f40 |
|
MD5 | 98535d7a71b22964873dae84be9478e0 |
|
BLAKE2b-256 | e7e758c51b5f9d9580c2208bf0143b6b3521ff194ef75c7036fd19b0cd262d7c |
Close
Hashes for pyrustaudit-0.0.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e054ba5afe5cb3b7951a97812da189b9e038f1d4cda8b1eaac777ca5f424d4 |
|
MD5 | 74ee67857f5a0fec9a3d48f18016ae53 |
|
BLAKE2b-256 | 3bd0a73160aa3de94bdf18f708f068d47f5f35bb3c4387b719f93f40a3f7ca67 |
Close
Hashes for pyrustaudit-0.0.3-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191f1feacc270784139a3236116181ed74f083209bf47a7c8dc37c4aa511d9a2 |
|
MD5 | 683485667eddd46873db83b96bfede9d |
|
BLAKE2b-256 | ce7583c31f1f228b2bdec54fd2e0d62761db441db2747540fb1a687ace4c844a |
Close
Hashes for pyrustaudit-0.0.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc6afb501318ac73139f80583c0ffcd06870c008ecccc81fb07664da65c68900 |
|
MD5 | 129506d4e972b9b6368c276522e9f31b |
|
BLAKE2b-256 | 635a7a750f37114fbe855c7bde1429d374a133f539ce4cfe708cb7245455ca81 |
Close
Hashes for pyrustaudit-0.0.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45358f04fc6b868a93e5f162b6729b65483b1fe3c75a5782333ab650ea034e11 |
|
MD5 | 83ae976e6dce65a871ce27e39af48e20 |
|
BLAKE2b-256 | c1d93f62f0bcffa3b41e2ad8ef0346b7e8c70de9d7133f55c6fcb0bcf8990fff |
Close
Hashes for pyrustaudit-0.0.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed55d01da1f6f1304a8b67841b3dd48e876b73411feb509189fef0533c7f88e |
|
MD5 | 5fc0a11e5f2259d05d8966e20f36aa1d |
|
BLAKE2b-256 | bc6f238130c37f74c7d12c6116b3a4fffbee6c6fb575ac7352a4a2e90900248c |
Close
Hashes for pyrustaudit-0.0.3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c174745e51317e66c4e91acc3db26a5b28a308170b949cdc66113443723dd1 |
|
MD5 | bb365fdf9d2110051822368e5ef8bc9d |
|
BLAKE2b-256 | e0a9997dd076020d8e8aff96af8bb9d70340f4b620eb36312c8e25300ada9a51 |
Close
Hashes for pyrustaudit-0.0.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8813c2fe208055ffcc1a1c42b3a09ec1380a14e2ad8fe896698096f63a845a54 |
|
MD5 | f0a493310931f23f4d5280ef496f8128 |
|
BLAKE2b-256 | 55e20f8523f6f8457070565b91d61eea16216821c423457c95293683728de855 |
Close
Hashes for pyrustaudit-0.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24991c50cbfeaf572c64b4859e838ed6ec871772e3e88c5172f35cd4ef02a9b4 |
|
MD5 | d35300811a0a8bdcc55d0f30de8387e3 |
|
BLAKE2b-256 | c57384e108c25878e1a86a88f2da1c50cd40423c0788ef4e52f13e007b411bad |
Close
Hashes for pyrustaudit-0.0.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44941d9a9ec16fb0421c7efc1d54d6165a09b88a9435156e9455e791792b2b3 |
|
MD5 | 7b72e00b0837111e852ec59ffbbc00eb |
|
BLAKE2b-256 | d64f85bd573e29153b0b0972893b8346f66313240d54c1c3f5697127085e6abd |
Close
Hashes for pyrustaudit-0.0.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd81422fffc9a528f6a77935997d68e54899dbad9e948fbcdd9b7628052328c |
|
MD5 | 809c3874af674354a250fc95cc45dcd8 |
|
BLAKE2b-256 | 8f83d965e01047e03e65431757a33e814e7862cad04134a3bae3fd239972cd68 |
Close
Hashes for pyrustaudit-0.0.3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ac68447a37ada2433a97fd677b209a2fde182357ee4d997ba3f5af9cc1f3d2 |
|
MD5 | 39ed9678e0f42d72d0427a0869e7e905 |
|
BLAKE2b-256 | 33624da2ca3e27bde1c3481a22fb4a9c780438d1e57e9008617868aa96b083ab |
Close
Hashes for pyrustaudit-0.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d861a71922ef5dfd9bb157ac5d59987edc3a8ccaf70ae477e6b55337f3959221 |
|
MD5 | 1d58486c8c4e0f484c7613e2b0e6c4c3 |
|
BLAKE2b-256 | 721b56f8464ae66ab80ae400c7a92ff645e9688785d0d05b7d0327668343da79 |
Close
Hashes for pyrustaudit-0.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef20eb32d75d29ad3f1d2710a75ff2a2599c114448847e6c4fe469da6cb69a86 |
|
MD5 | 42896625e138a160baad974753b12d8e |
|
BLAKE2b-256 | 99dceb703c2f607f7cfb451964a281e5c3f4de97402970fd0a0d49ad9add2380 |
Close
Hashes for pyrustaudit-0.0.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d901427a2bc2621ffe2468348f6eaa3e72c119712bc995951fea06c5f30205ad |
|
MD5 | 24cda8a87632deedae8d0b9386832e01 |
|
BLAKE2b-256 | 70d1821b721cdd10de879bb709d9bd3ab8e287b474c4b1b5f88acc58b82909ee |
Close
Hashes for pyrustaudit-0.0.3-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ea6faadce968ca8ab1eea6053b85f0784ee067111866c94b664045e5b1bed8a |
|
MD5 | 40de68042fda37fb1995f28cf7baa2a1 |
|
BLAKE2b-256 | ca083c4b33578c8743806e3177d6c70408b77ddeb12687556870e847ffd94598 |
Close
Hashes for pyrustaudit-0.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e3ff53dbddc9caff4c5a79c422d3c10cd7345c765c6079932c2c1d993855fa9 |
|
MD5 | 12348e43949b0e2e33ea24f3af694b7d |
|
BLAKE2b-256 | ab32b6376a8aa9dfb532f0fafac1b41e48c261f6a15d5a5a72adaefc1e3c64a1 |
Close
Hashes for pyrustaudit-0.0.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21a25cf26da5ee4e295f44ac8c3c0693cc270ae04faae435e1c10df7fc85db59 |
|
MD5 | 30e063123f1c0873e25f1a3ad8a2a7b3 |
|
BLAKE2b-256 | 602954b4e6fad4fcd089eb28c2fc206d0263ce27c397d1dccc897ece1a8cee42 |
Close
Hashes for pyrustaudit-0.0.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20d46ab0a3efa21000254257ba2e097e63e14eb88309c42c6179ab8f560d98d9 |
|
MD5 | 38b1bd6f1973453f4e215c27b1042e20 |
|
BLAKE2b-256 | 7a92364a8840dda0544e62f02e72d0db6e53dea22b11a54df1ecb3fb682c6bc4 |
Close
Hashes for pyrustaudit-0.0.3-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b18cd923ef944ce1e625b5b42d7b4daa2612a546e2c77c4b4a10708dc8a67dc |
|
MD5 | d8a73b5a4a30a05b6cd745d80d8b2280 |
|
BLAKE2b-256 | e62d5bf7115802cd1c77025c9825a8f832912ae0c703dbb49d030862ab8b89ea |
Close
Hashes for pyrustaudit-0.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1fff1cbc2b273cbc935ed84217f975d539fa2960f4f21c89175b1df85e32b5d |
|
MD5 | c936d634889c462a7e922b5b7f4c6f13 |
|
BLAKE2b-256 | 63337516a164de3c4fdc0efe943fdc3faf14495d31e75ec46d6c6372615cabeb |
Close
Hashes for pyrustaudit-0.0.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28176888da73c5c6511ebca99de3b012e45558d42ae880b2f146d34619916d32 |
|
MD5 | c61e9fd19785fbdf9893a89cd38b377b |
|
BLAKE2b-256 | d202f7efbcc2306e5255bdd5c67911c154eb72fe3055ac411ba880520dd71ad9 |
Close
Hashes for pyrustaudit-0.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaca222cb4a7476bef86760e183fec637ebcdac4140659237b058aac618539a6 |
|
MD5 | bcfe36a017780c923f50895afc4a4be8 |
|
BLAKE2b-256 | 061ab5e8e576db2277e3247af419935b280c06aa85c589f1551b66dc881ca29e |
Close
Hashes for pyrustaudit-0.0.3-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c355f4635f9a0c3444259ceebbfae67ac2a7ea6c30531090a1cf915dcdd06612 |
|
MD5 | 3758d6d2349b9afde542b7db1b7ef45c |
|
BLAKE2b-256 | 561e9abb83436791d349a58b082192e3f825557f5eac6b6322da238c5ee47e45 |
Close
Hashes for pyrustaudit-0.0.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8828cb87e9ad9073a2b5ebcfb2e375bb7003ee8937731a8607c4e0904912d078 |
|
MD5 | 69defbb07bc86bcd7d2922f866f76f71 |
|
BLAKE2b-256 | bf05225bf2e57d04e8d38839e757c8926a2b29a411d3db9bd1169c341ccda069 |
Close
Hashes for pyrustaudit-0.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9870efc2b8c944393b424ee476e2b6e6348db3cdcc9043c8acca6f1a658b4f7f |
|
MD5 | 8795d906869e63fc92ddbcfc3de3505a |
|
BLAKE2b-256 | a3c58fdbe47c54b2cf262c1f9fa6929861d8db5ae26f4f63dbbb6ce6bbbaf35f |
Close
Hashes for pyrustaudit-0.0.3-cp36-cp36m-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839cb2a4f6a05677a8962a7789376852dd570798068947fa3f5f7b64199f868e |
|
MD5 | 62abc871c995e53673642203e9f6ae5a |
|
BLAKE2b-256 | a43f794fd6eff2466f548064ee5a6ebefc42f14248b0be9ffc50d54e73afeb77 |
Close
Hashes for pyrustaudit-0.0.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a83fe9d693060fd5a6f1c89163c8458cfd9f4e69d6a953dadaa003ec8a3898fd |
|
MD5 | e5f6bcf0d1c9ac87642415323965ac1a |
|
BLAKE2b-256 | 14f9bc47e107908a1b1c6c85a1290ef88a352a8945409ee483b81bb4469f1749 |
Close
Hashes for pyrustaudit-0.0.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c66903e8395e4b718d642d321c5a4612cc0425bc5e219b1725adf4f0e55e69d |
|
MD5 | 80219783caffc16f21475ee8c1f90797 |
|
BLAKE2b-256 | 1bfae95f80c43272fad97337f4d172100891db24e5c979993298aa7f9e4c2b58 |