Skip to main content

netops-toolkit

网络工程师自动化小工具集 — H3C / 华为 / 思科 / 锐捷 network automation toolkit / 批量采集 / 配置审计 / 网络运维脚本

pip install netops-toolkit

三个免费命令

# 1. 批量采集设备信息(版本/CPU/内存/接口) -> CSV
netops-toolkit info devices.yml -o info.csv

# 2. 在配置备份目录搜索 IP/MAC 出现位置
netops-toolkit find backups/ 192.168.10.23

# 3. 离线配置合规审计(telnet/弱社区串/http管理) -> CSV
netops-toolkit audit backups/ -o audit.csv

设备清单 devices.yml:

devices:
  - name: core-sw1
    host: 192.168.1.1
    vendor: h3c        # h3c/huawei/cisco/ruijie
    username: admin

Pro 版(¥59, 12 个脚本)

批量配置下发(模板+diff确认) / 全网端口定位 / 接口周报 / VLAN 分布图 / STP 根桥审计 / 批量重启 / syslog 批量配置 / DHCP Snooping 核查 … 购买: 2945362558@qq.com(微信/支付宝)

相关项目

MIT License

拓扑提取 (v0.4.0+)

netops-toolkit topology backups/ -o edges.csv --mermaid topo.mmd 解析备份目录里 display lldp neighbor brief / show cdp neighbor 输出,生成邻接表 CSV 和 Mermaid 拓扑图。

Metadata

Release files for netops-toolkit 0.4.1

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

Source distribution (sdist)

Source distribution for netops-toolkit 0.4.1
File Size Uploaded Provenance Actions
netops_toolkit-0.4.1.tar.gz 11.6 kB Without provenance Details for netops_toolkit-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netops-toolkit 0.4.1
File Interpreter ABI Platform Actions
netops_toolkit-0.4.1-py3-none-any.whl Python 3 none any Details for netops_toolkit-0.4.1-py3-none-any.whl

Total release size: 26.7 kB

Release files / netops_toolkit-0.4.1.tar.gz

Download URL netops_toolkit-0.4.1.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c6e9371c6d5f74c976e02229841ddaefa44644217fbf78e732ad7da303982525
BLAKE2b-256 checksum
How to use checksums
d52fd59add0ffeaa7a50f462625e9d36e6594a938ab33efa01875ba9e114fb94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / netops_toolkit-0.4.1-py3-none-any.whl

Download URL netops_toolkit-0.4.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2324368c2be53e4570f17f8d2f8165c39868e5ce0dba054bc94063376afe764b
BLAKE2b-256 checksum
How to use checksums
5f3ebf471f7df9f7aea64c5ba5fae65268215c900f704fe55c178474b85b9bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for netops-toolkit 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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