Skip to main content

Netkiller Chart

Project description

netkiller-chart

https://www.netkiller.cn

安装

下载地址:https://pypi.org/project/netkiller-chart/

pip install netkiller-chart

Gantt 甘特图

数据图表

Mindmap 思维导图

数据图表

命令行

usage: mindmap.py [-h] [-m /path/to/yout.md] [-s] [-o example.svg]

Markdown To Mindmap

options:
  -h, --help            show this help message and exit
  -m, --markdown /path/to/yout.md
                        Markfown file
  -s, --stdin           Standard input from the terminal
  -o, --output example.svg
                        output picture

创建 Mindmap

mindmap -m /path/to/neo.md -o /path/to/netkiller.svg

编程方式

from netkiller.mindmap import Mindmap

markdown = """
# 操作系统
- Operating System
  - Linux
    - Redhat
    - CentOS
    - Rocky Linux
  - Apple OS  
    - macOS
      - nojava
      - catalina
    - iPadSO
    - tvOS 
    - iOS
    - watchOS 
  - Unix
    - Solaris
    - Aix
    - Hp-Ux
    - Sco Unix
"""
mindmap = Mindmap(markdown)
mindmap.save('example.svg')

从标准输入创建思维导图

(.venv) neo@netkiller netkiller-chart % cat test/mindmap/os.md 
# Operating System History

- Operating System
  - Linux
    - Redhat
      - Fedora
      - SUSE
      - CentOS
        - Rocky Linux
        - AlmaLinux
    - Gentoo
    - Slackware
    - Debian
      - Ubuntu
    - Arch Linux
  - Apple OS
    - macOS
      - Yosemite
      - Capitan
      - Sierra / High Sierra
      - Mojave
      - Catalina
      - Big Sur
      - Monterry
      - Ventura
      - Sonoma
      - Sequoia
    - iPadSO
    - tvOS
    - iOS
    - watchOS
  - Unix
    - Solaris
    - Aix
    - Hp-Ux
    - Sco Unix
    - Irix
    - BSD
      - FreeBSD
      - NetBSD
      - OpenBSD
  - Microsoft
    - MsDos 6.22
    - Win3.2
    - Win 95 / 98 / 2000
    - Windows Phone
    - Windows Vista
    - Windows 10/11
    - Windows NT%    
(.venv) neo@netkiller netkiller-chart % cat test/mindmap/os.md | mindmap -o test/mindmap/os.svg -s

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

netkiller_chart-0.1.5.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

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

netkiller_chart-0.1.5-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file netkiller_chart-0.1.5.tar.gz.

File metadata

  • Download URL: netkiller_chart-0.1.5.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for netkiller_chart-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5b180ac7332a25ddb874463cd1b74297c97e6e2891acd4e0e33885aad437c128
MD5 f7e2db23d8ea4973f8c020dcc09be4a5
BLAKE2b-256 0616035d90ddb98fd7c944f5b8da9c9c707983dd2b2f8ef8122b95f1cbadc656

See more details on using hashes here.

File details

Details for the file netkiller_chart-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for netkiller_chart-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc2f4485834e8af023ccdf1b31a44ac6cfaacc99ef89f7a019275a776b1af24
MD5 b05ea33835ab54b44ac14349e9858fb4
BLAKE2b-256 ce195ac8beef62af0ce7a6a9f4c6e83701c31df08b4f2909d9fc4414fec81995

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