Skip to main content

Simple Web-Service Offering Repository Deposit (S.W.O.R.D) is an interoperability standard for digital file deposit.

This repository is both the SWORD v2 Server and a deposit command-line client implementations.

This implementation allows interaction between a client (a repository) and a server (SWH repository) to deposit software source code archives and associated metadata.

Description

Most of the software source code artifacts present in the SWH Archive are gathered by the mean of loader workers run by the SWH project from source code origins identified by lister workers. This is a pull mechanism: it’s the responsibility of the SWH project to gather and collect source code artifacts that way.

Alternatively, SWH allows its partners to push source code artifacts and metadata directly into the Archive with a push-based mechanism. By using this possibility different actors, holding software artifacts or metadata, can preserve their assets without having to pass through an intermediate collaborative development platform, which is already harvested by SWH (e.g GitHub, Gitlab, etc.).

This mechanism is the deposit.

The main idea is the deposit is an authenticated access to an API allowing the user to provide source code artifacts – with metadata – to be ingested in the SWH Archive. The result of that is a SWHID that can be used to uniquely and persistently identify that very piece of source code.

This unique identifier can then be used to reference the source code (e.g. in a scientific paper) and retrieve it using the vault feature of the SWH Archive platform.

The differences between a piece of code uploaded using the deposit rather than simply asking SWH to archive a repository using the save code now feature are:

  • a deposited artifact is provided from one of the SWH partners which is regarded as a trusted authority,

  • a deposited artifact requires metadata properties describing the source code artifact,

  • a deposited artifact has a codemeta metadata entry attached to it,

  • a deposited artifact has the same visibility on the SWH Archive than a collected repository,

  • a deposited artifact can be searched with its provided url property on the SWH Archive,

  • the deposit API uses the SWORD v2 API, thus requires some tooling to send deposits to SWH. These tools are provided with this repository.

See the User Manual page for more details on how to use the deposit client command line tools to push a deposit in the SWH Archive.

See the API Documentation reference pages of the SWORDv2 API implementation in swh.deposit if you want to do upload deposits using HTTP requests.

Read the Deposit metadata chapter to get more details on what metadata are supported when doing a deposit.

See Running swh-deposit locally if you want to hack the code of the swh.deposit module.

See Production deployment if you want to deploy your own copy of the swh.deposit stack.

Release files for swh.deposit 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swh.deposit 3.0.0
File Size Uploaded
swh_deposit-3.0.0.tar.gz 1.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for swh.deposit 3.0.0
File Interpreter ABI Platform
swh_deposit-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size:2.1 MB

Release files / swh_deposit-3.0.0.tar.gz

Download URL swh_deposit-3.0.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
843756a475c25a04ba81591fd0ec6852b88d2a540288ecb1ccf0a86e6fc79068
BLAKE2b-256 checksum
How to use checksums
071900acf7102cb747a8dd6c0bdf635310e208f74c2d9b1b3667245a1b1af4c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / swh_deposit-3.0.0-py3-none-any.whl

Download URL swh_deposit-3.0.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a06ea128f7b6fecac37ab4c10be936c69b99a3bc648d79f15deb384a2e97bc4d
BLAKE2b-256 checksum
How to use checksums
3adf6699e3e938e40033d63b71f5fee56e830de7b6602b1c80be785b14ab2600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.0.0

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.17.0

2 release files

0.16.3

2 release files

0.16.2

2 release files

0.16.1

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.7

2 release files

0.13.6

2 release files

0.13.4

2 release files

0.13.3

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.89

2 release files

0.0.88

2 release files

0.0.87

2 release files

0.0.86

2 release files

0.0.85

2 release files

0.0.82

2 release files

0.0.81

2 release files

0.0.79

2 release files

0.0.78

2 release files

0.0.77

2 release files

0.0.76

2 release files

0.0.75

2 release files

0.0.72

2 release files

0.0.71

2 release files

0.0.70

2 release files

0.0.68

2 release files

0.0.67

2 release files

0.0.66

2 release files

0.0.65

2 release files

0.0.64

2 release files

0.0.63

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page