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

Uploaded Python 3

File details

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

File metadata

  • Download URL: donlad_json-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 39208563ec7cee9e81c86c904451ef32dc213dd41eda90041ea70b56d3e092d2
MD5 8cbb8b4c3f98f763dc64b0313b8ffa51
BLAKE2b-256 ddae8f8d7f2bab19b791cd37a420c68d4f1da9d5a62a35ddcf7888187e51ad25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: donlad_json-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 483125eb69918d0bbcba25f99f8b3fc6091cf6c187ac6e12afbe1c2eced4b3d1
MD5 b16cd3821845dd1e851bafb36a8a66e5
BLAKE2b-256 f7e6fbf8c94537d27f62c62ee437bffa77ff6b5ea866501a244252943e5ff41c

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