Skip to main content

zhongkui core utils package

Project description

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

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

zhongkui-core-0.1.0.linux-x86_64.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhongkui_core-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file zhongkui-core-0.1.0.linux-x86_64.tar.gz.

File metadata

  • Download URL: zhongkui-core-0.1.0.linux-x86_64.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for zhongkui-core-0.1.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 2e937038e68936dddd27b618c7780cebf8caa707b9d9aa671b9bf7c46bf64a13
MD5 71d4f2d36deb905d456670d47eb2aa0c
BLAKE2b-256 623f1689eff29980c6a4ba1cca97d69216a101132f16a98ea2380645c3fd1c82

See more details on using hashes here.

File details

Details for the file zhongkui_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zhongkui_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for zhongkui_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 807d1dd02a40d54257ee7c25f97ffb95ae8c586daf40da85c646eb0bdf90c01b
MD5 e04efa4e25e0773ae87d95b0735ec11e
BLAKE2b-256 16b4e4562125f14313d9ea7881c33ac65e9789c4fc8a55cca5f0e4939a675d51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page