Skip to main content

Software Heritage Base Loader

Project description

Software Heritage - Loader foundations

The Software Heritage Loader Core is a low-level loading utilities and helpers used by :term:loaders <loader>.

The main entry points are classes:

  • :class:swh.loader.core.loader.BaseLoader for loaders (e.g. svn)
  • :class:swh.loader.core.loader.DVCSLoader for DVCS loaders (e.g. hg, git, ...)
  • :class:swh.loader.package.loader.PackageLoader for Package loaders (e.g. PyPI, Npm, ...)

Package loaders

This package also implements many package loaders directly, out of convenience, as they usually are quite similar and each fits in a single file.

They all roughly follow these steps, explained in the :py:meth:swh.loader.package.loader.PackageLoader.load documentation. See the :ref:package-loader-tutorial for details.

VCS loaders

Unlike package loaders, VCS loaders remain in separate packages, as they often need more advanced conversions and very VCS-specific operations.

This usually involves getting the branches of a repository and recursively loading revisions in the history (and directory trees in these revisions), until a known revision is found

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

swh.loader.core-2.5.1.tar.gz (9.8 MB view details)

Uploaded Source

Built Distribution

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

swh.loader.core-2.5.1-py3-none-any.whl (9.9 MB view details)

Uploaded Python 3

File details

Details for the file swh.loader.core-2.5.1.tar.gz.

File metadata

  • Download URL: swh.loader.core-2.5.1.tar.gz
  • Upload date:
  • Size: 9.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/17.1.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.3

File hashes

Hashes for swh.loader.core-2.5.1.tar.gz
Algorithm Hash digest
SHA256 5eef0a5861f3349f417218f062ec804614d21df096e5085e99a952dd30aaca68
MD5 7bfa2cf0b21c3f15b89030b1a315e5f1
BLAKE2b-256 6b389a45c29bd92fa89a9bd0139b2737e3304e3ed0d2ea8a9568269171fe66e6

See more details on using hashes here.

File details

Details for the file swh.loader.core-2.5.1-py3-none-any.whl.

File metadata

  • Download URL: swh.loader.core-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/17.1.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.3

File hashes

Hashes for swh.loader.core-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26843799d769992a652ed4ee424075bafe8b76c88f3eb78140427c844402ee8d
MD5 9ae80bcdce1edaad5f922a7c48763325
BLAKE2b-256 5b5d81ee970c07d4006b942f55193b67a1fbf3b10fef84f413e8e7484a03c778

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