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.6.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.6-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netkiller_chart-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 a383d1ee3cdb43bf5a2cc58ac55ff64fa37a1875e0c19ec92fcd3a1e318f3141
MD5 e091edf4b265cca363ef218d9bae5770
BLAKE2b-256 6d74fef9fe2c138451dfce8f76386958ae50e6be9ee0f4d78660316bd185bc5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netkiller_chart-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 50814b9ef2d756c7aebced45997e7cea04a0499dbab6ec6dc6acac0c550a14ac
MD5 761bdaf02eb39469d778cc59a71edd29
BLAKE2b-256 8480a3a934898641c8ef6ba1cb26bc3d7f80a67565bbf6ab97511d408eeb3348

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