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
Metadata
Release files for swh.loader.core 5.24.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swh_loader_core-5.24.2.tar.gz | 9.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swh_loader_core-5.24.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 MB
Release files / swh_loader_core-5.24.2.tar.gz
| Download URL | swh_loader_core-5.24.2.tar.gz |
|---|---|
| Size | 9.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e342ef98637a9e88e0c92e112e60f1deb6e544f46adf9d0b510673bc48e028fb
|
|
BLAKE2b-256 checksum How to use checksums |
74c7a0908eb4d5f4048fa6109de711d431f11241058635ca628d2884e38614cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|
Release files / swh_loader_core-5.24.2-py3-none-any.whl
| Download URL | swh_loader_core-5.24.2-py3-none-any.whl |
|---|---|
| Size | 9.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05f79c4460d12850309c1c967760997dc87dde977f11dc3d4309d2bae1d3d344
|
|
BLAKE2b-256 checksum How to use checksums |
d450feae9cc118b0a0586913a7ab705011a54e0356243367f3a10ef5f183bdd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|