Skip to main content

Jupyter笔记本的内存监控工具

Project description

Jupyter Memory Monitor

一个简单的Jupyter笔记本内存监控工具,可以实时显示每个单元格执行后的内存使用情况。

功能特点

  • 实时监控内存使用情况
  • 自动显示每个单元格执行后的内存占用
  • 显示系统总内存使用率
  • 轻量级,无需额外配置

安装

pip install jupyter-memory-monitor

快速开始

在Jupyter笔记本中导入并初始化:

import jupyter_memory_monitor
jupyter_memory_monitor.init()

初始化后,每次执行单元格都会在输出区域看到类似下面的信息:

内存使用情况: 当前使用: 256.45 MB 使用率: 12.3%

依赖要求

  • Python >= 3.6
  • IPython >= 7.0.0
  • psutil >= 5.0.0

许可证

本项目采用 MIT 许可证

贡献指南

欢迎提交 Issue 和 Pull Request!

更新日志

0.1.0

  • 首次发布
  • 实现基本的内存监控功能

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

yjxj_jupyter-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

yjxj_jupyter-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file yjxj_jupyter-0.1.0.tar.gz.

File metadata

  • Download URL: yjxj_jupyter-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for yjxj_jupyter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fbd61b4e5b5bf80f6bbfaaea5b8e1925f6aba816ca6dd19e9faabb4937819f55
MD5 9778f609ccc0837a707c44f29693451c
BLAKE2b-256 509e2b3b3f317d5f05d94bf9833b39a5e0660348ed54b7e2107e4c0d93a92b59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yjxj_jupyter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for yjxj_jupyter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd6818af9683c44d8cbb540a9495d91472be63619abda720377338d59d829616
MD5 7076779d2c0ebe3113c46890b9403301
BLAKE2b-256 87e4154bc27e159d2b0ce0eb896d458da4f01b01345a89947973d727c5d9ebd5

See more details on using hashes here.

Supported by

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