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

Uploaded Python 3

File details

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

File metadata

  • Download URL: donlad_json-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ee81c0e62558ac058fc21b37e4585f53733b4736a49e1cbc68d2935d2b563be9
MD5 2d870b263862591709a43eea534e828b
BLAKE2b-256 5f8d8c7d41ac727da0bd7029a985977b00e550d1029624a0806e03407d53bcdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: donlad_json-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4faf939aab61098fba9324b000d5cbca2ef442af0c6f5a8a3876081bebba859
MD5 46036f4a47fe0684304003996c0e8be5
BLAKE2b-256 04d9d1e8f795913a5daccf1e8e0bb7c1856c255bdd9b29941983cd99cca18372

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