Skip to main content

工具集成说明

1、已有工具改造非常简单,把之前的工具转换为cli启动,接受一个文件路径参数。

2、需要把原来的任务输入改装一下,通过调用函数方法获取任务。

3、(可选)如果有任务调度图,可以把 节点、边(执行流向)分别保存一下,如果没有可以不保存。

4、把之前的任务日志,调用函数方法保存一下。

5、把之前的漏洞信息,调用函数方法保存一下。

6、把工具编译成一个二进制文件,目标平台:Linux x86_64 架构,或者提供代码和 dockerfile 文件。

安装使用

pip install tasklite
import sys

from tasklite import model, task

if __name__ == '__main__':
    args = sys.argv[1:]
    db_path = args[0]
    model.init_db(db_path, echo=True)
    t = task.get_task()
    print(t.name, t.target, t.download_dir, t.test_type)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tasklite-0.0.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

tasklite-0.0.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file tasklite-0.0.4.tar.gz.

File metadata

  • Download URL: tasklite-0.0.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for tasklite-0.0.4.tar.gz
Algorithm Hash digest
SHA256 db990b7696bf089047a2d92ace4cb22ff57d6c5e9450a288d534f9fe41ea8600
MD5 e5a8bf3b11b0f813551c05ca3a784b45
BLAKE2b-256 486802ffa461cb09f34b299bd81e1bbe73007f37a0e55d0851dd35f723fce3d4

See more details on using hashes here.

File details

Details for the file tasklite-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tasklite-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for tasklite-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 064a9b912a0f3ab7d8cd51f8f74a3ee4bdeb2d9c3905034e9385dedef4f5125e
MD5 8bd4844db619a89604a2ed5c3d4775f3
BLAKE2b-256 c6149dd6b4d6965a85596e85a122840c355dda15242c0b90ca7bef61fee847a3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 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