Skip to main content

PyPI 下载量历史记录工具:查下载量并存档到本地 JSON

Project description

donlad_json

PyPI 模块下载量历史记录工具。查下载量并存档到本地 JSON 文件,支持历史查询、移除、路径管理、代码调用。

安装

pip install donlad_json

命令行用法

donlad_json <模块名> 查下载量并存档 donlad_json query 查看所有历史记录 donlad_json remove <模块名> 移除某模块的历史记录 donlad_json path 查看数据文件路径 donlad_json path set <路径> 设置数据文件路径

代码调用

from donlad_json import get_latest_downloads from donlad_json import get_all_modules from donlad_json import save_all_modules

print(get_latest_downloads("text_discoloration"))

all_data = get_all_modules() for name, count in all_data.items(): print(f"{name}: {count}")

save_all_modules(["text_discoloration", "Chinese_Error"])

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

donlad_json-1.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

donlad_json-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file donlad_json-1.0.0.tar.gz.

File metadata

  • Download URL: donlad_json-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for donlad_json-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f70b824a71fc5a9797c3b85db5fd52d1aab55694e92646ce956937adac8db1f3
MD5 cafb83a93f27d659347df61d8b63659c
BLAKE2b-256 31aada06368b9879ad0ef8f9430afa10e3f17badf5a73b432330d96b900a8d82

See more details on using hashes here.

File details

Details for the file donlad_json-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: donlad_json-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for donlad_json-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d9b115780c004a598ce006252700e5f8cd5ae48fae3adcac791a49565b5cb70
MD5 6b42e50eb853d6c857904e0d869bb542
BLAKE2b-256 51784ed19779dcb1948eef9ef2b1c59b276a4c1bc5c509c128814490c532258d

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