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-3.4.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-3.4.1-py3-none-any.whl (9.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swh.loader.core-3.4.1.tar.gz
Algorithm Hash digest
SHA256 435a220e16c980821fcebd3e23558f37984ccbde1ffa53e62edae9ae78a45a24
MD5 1b28aae7f1f10783d0a14de186682ed5
BLAKE2b-256 2904b99db8703028535707b47383ae8c1b4f31ec8cd3bbe51f297baa951c39cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swh.loader.core-3.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8b229ecb9a66028ba115ddaaf8cd60fbf47e18b3e8dfcb768d6193580705191
MD5 7c1b9c8170264931283af214913e5146
BLAKE2b-256 c1cf82ecc1dc0382644943cf563544272a3df54d5836003acfcfcfba4dad753b

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