Page MenuHomeSoftware Heritage

[WIP] client.py: add Python client for the Web API
AbandonedPublic

Authored by zack on Mar 16 2020, 4:10 PM.

Details

Reviewers
anlambert
Group Reviewers
Reviewers
Maniphest Tasks
T2279: Python client for the Web API
Summary

Closes T2279

Note that this has already been reviewed in D2461, the only missing comment
from @vlorentz there was about removing the elif series from iter, but in the
end I've decided I disagree with the suggestion (sorry).

This still needs to pass mypy properly (get currently doesn't) and we need to
discuss how to have tests for it.

Diff Detail

Event Timeline

  • web client: handle symbolic refs in snapshots
  • web client: handle snapshot pagination
  • web client: make snapshot iteration return dictionaries
  • web client: fix flake8 issues and update URL examples

Abandoned in favor of D2852, now in a dedicated repo