zhongkui core utils package
Project description
zhongkui-core
zhongkui core analysis package
Installation
- install exiftool
#!/bin/sh
# only test on ubuntu18.04
export EXIFTOOL=12.01
echo "Installing exiftool..."
curl -Ls https://exiftool.org/Image-ExifTool-$EXIFTOOL.tar.gz > /tmp/exiftool.tar.gz
cd /tmp
tar xzf exiftool.tar.gz
cd Image-ExifTool-$EXIFTOOL
perl Makefile.PL
make test
make install
- install zhongkui-core
$ git clone git@git.kongkongss.com:zhongkui/zhongkui-core.git
$ cd zhongkui-core
$ pip install -e .
Getting Started
>>> from zhongkui.core import File
>>> sample = File("tests/sample/pe_upx")
>>> print(sample.basicInfo())
>>>
{
"name": "pe",
"md5": "ff2a00e3d07afcf32a7459040bc9cc41",
"sha1": "61e810f352866cc5f3184489c796fba4c21b99ec",
"sha256": "fb12aec2553bd2567a82f18ca2e0710e8d72b22b1d2bdcf3a296e987ad3c398a",
"fileType": "win32exe",
"fileSize": 3901952,
"isProbablyPacked": true
}
Running the tests
$ cd zhongkui-core
$ pytest -s
Changelog
Authors
- kongkong Jiang - Initial work - jyker
License
This project is licensed under the MIT License - see the LICENSE file for details
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
Built Distribution
Close
Hashes for zhongkui-core-0.1.0.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e937038e68936dddd27b618c7780cebf8caa707b9d9aa671b9bf7c46bf64a13 |
|
MD5 | 71d4f2d36deb905d456670d47eb2aa0c |
|
BLAKE2b-256 | 623f1689eff29980c6a4ba1cca97d69216a101132f16a98ea2380645c3fd1c82 |
Close
Hashes for zhongkui_core-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 807d1dd02a40d54257ee7c25f97ffb95ae8c586daf40da85c646eb0bdf90c01b |
|
MD5 | e04efa4e25e0773ae87d95b0735ec11e |
|
BLAKE2b-256 | 16b4e4562125f14313d9ea7881c33ac65e9789c4fc8a55cca5f0e4939a675d51 |