Software Heritage core and package loaders
Project description
The Software Heritage Loader Core is a low-level loading utilities and helpers used by loaders.
The main entry points are classes:
swh.loader.core.loader.BaseLoader for VCS loaders (e.g. git, svn, …)
swh.loader.core.loader.ContentLoader for Content loader
swh.loader.core.loader.BaseDirectoryLoader for Directory loaders
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 swh.loader.package.loader.PackageLoader.load documentation. See the 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
Built Distribution
Hashes for swh.loader.core-5.14.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822b4b9a87326368401b424ee75c8ee0f5c5c0456f80cca49305f974a419f5ef |
|
MD5 | 99d3b45967b4b864d8c81730ee900ef8 |
|
BLAKE2b-256 | fd27b4e2814074354eda6ce1500ebddbf6079c553af8ad800fa0b39fc71026b9 |