Skip to main content

zhongkui-core

zhongkui core analysis package

Installation

  1. 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 
  1. 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

release Changelog

Authors

  • kongkong Jiang - Initial work - jyker

License

This project is licensed under the MIT License - see the LICENSE file for details

Release files for zhongkui-core 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zhongkui-core 0.1.0
File Size Uploaded
zhongkui-core-0.1.0.linux-x86_64.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zhongkui-core 0.1.0
File Interpreter ABI Platform
zhongkui_core-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / zhongkui-core-0.1.0.linux-x86_64.tar.gz

Download URL zhongkui-core-0.1.0.linux-x86_64.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2e937038e68936dddd27b618c7780cebf8caa707b9d9aa671b9bf7c46bf64a13
BLAKE2b-256 checksum
How to use checksums
623f1689eff29980c6a4ba1cca97d69216a101132f16a98ea2380645c3fd1c82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / zhongkui_core-0.1.0-py3-none-any.whl

Download URL zhongkui_core-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
807d1dd02a40d54257ee7c25f97ffb95ae8c586daf40da85c646eb0bdf90c01b
BLAKE2b-256 checksum
How to use checksums
16b4e4562125f14313d9ea7881c33ac65e9789c4fc8a55cca5f0e4939a675d51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page