Skip to main content

Software Heritage Web client

Project description

Client for Software Heritage Web applications, via their APIs.

Sample usage

from swh.web.client import WebAPIClient
cli = WebAPIClient()

# retrieve any archived object via its PID

# same, but for specific object types

# get() always retrieve entire objects, following pagination
# WARNING: this might *not* be what you want for large objects

# type-specific methods support explicit iteration through pages

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for swh.web.client, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size swh.web.client-0.1.2-py3-none-any.whl (71.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size swh.web.client-0.1.2.tar.gz (59.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page