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

This version

2.1.0

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.1.0.tar.gz (8.9 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.1.0-py3-none-any.whl (8.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swh.loader.core-2.1.0.tar.gz
  • Upload date:
  • Size: 8.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for swh.loader.core-2.1.0.tar.gz
Algorithm Hash digest
SHA256 dabe5cde3e4959b52930704dd4e6112c4b28ae998ee2a71ee64cc2ffe00a3d4e
MD5 b4e8b90cdc2e844e6c506793796f1ea4
BLAKE2b-256 a18f958a71468a72099305cbfb2e020b66f457b85914cff590b77a5ce0a6ac94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swh.loader.core-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for swh.loader.core-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48c3f1ed39cec8f44bddf0ee1854ee61111d8fed8862d713d341cafa4287756c
MD5 3c5437e54e163136a7a11477c675270b
BLAKE2b-256 3d77004096bdfbc8139dbbe0c8b60257f5d6d85f2cf1435c17e8fbc257b687ef

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