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 VCS loaders (e.g. svn)
  • :class:swh.loader.core.loader.DVCSLoader for DVCS loaders (e.g. git, ...)
  • :class:swh.loader.core.loader.ContentLoader for Content loader
  • :class:swh.loader.core.loader.DirectoryLoader for Directory loader
  • :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-5.5.0.tar.gz (11.1 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-5.5.0-py3-none-any.whl (11.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swh.loader.core-5.5.0.tar.gz
  • Upload date:
  • Size: 11.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for swh.loader.core-5.5.0.tar.gz
Algorithm Hash digest
SHA256 394c6a28fc7bc77d71deea8d003af48d3d1fbd9138958207cc3165f9008163ff
MD5 5bf3e3a3b479f7a89c7033e1a5319ed4
BLAKE2b-256 215efeda2c027f24d11bbe16ac91cfdf89cad87a781e072a44a4969e58647663

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swh.loader.core-5.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8c2cb507cf18fb097f71e71ded6c478eaa5b5fc60ec889cbd9bae232dc8a1f7
MD5 6bc5124df421bdf1558d7f8ac6a70124
BLAKE2b-256 d9d82f8a639d643841cbed40c0010d22e50774bf4a8cd675a49e1226742c27e8

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