You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+98-8Lines changed: 98 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,16 @@ Commands:
25
25
deploy
26
26
downoad
27
27
```
28
+
29
+
## Docker Image Usage
30
+
31
+
A docker image is available at [dbpedia/databus-python-client](https://hub.docker.com/r/dbpedia/databus-python-client). See [download section](#usage-of-docker-image) for details.
--abstract TEXT dataset abstract max 200 chars [required]
48
-
--description TEXT dataset description [required]
49
-
--license TEXT license (see dalicc.net) [required]
50
-
--apikey TEXT apikey [required]
49
+
--title TEXT Dataset title [required]
50
+
--abstract TEXT Dataset abstract max 200 chars [required]
51
+
--description TEXT Dataset description [required]
52
+
--license TEXT License (see dalicc.net) [required]
53
+
--apikey TEXT API key [required]
51
54
--help Show this message and exit.
52
55
```
53
56
Examples of using deploy command
@@ -65,6 +68,93 @@ A few more notes for CLI usage:
65
68
* For complete inferred: Just use the URL with `https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml`
66
69
* If other parameters are used, you need to leave them empty like `https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml||yml|7a751b6dd5eb8d73d97793c3c564c71ab7b565fa4ba619e4a8fd05a6f80ff653:367116`
If no `--localdir` is provided, the current working directory is used as base directory. The downloaded files will be stored in the working directory in a folder structure according to the databus structure, i.e. `./$ACCOUNT/$GROUP/$ARTIFACT/$VERSION/`.
124
+
125
+
**Collcetion**: download of all files within a collection
For downloading files from the vault, you need to provide a vault token. See [getting-the-access-refresh-token](https://github.com/dbpedia/databus-vault-access?tab=readme-ov-file#step-1-getting-the-access-refresh-token) for details. You can come back here once you have a `vault-token.dat` file. To use it, just provide the path to the file with `--token /path/to/vault-token.dat`.
If vault authentication is required for downloading a file, the client will use the token. If no vault authentication is required, the token will not be used.
145
+
146
+
#### Usage of docker image
147
+
148
+
A docker image is available at [dbpedia/databus-python-client](https://hub.docker.com/r/dbpedia/databus-python-client). You can use it like this:
149
+
150
+
```
151
+
docker run --rm -v $(pwd):/data dbpedia/databus-python-client download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals/2022.12.01
152
+
```
153
+
If using vault authentication, make sure the token file is available in the container, e.g. by placing it in the current working directory.
154
+
```
155
+
docker run --rm -v $(pwd):/data dbpedia/databus-python-client download https://databus.dbpedia.org/dbpedia-enterprise/live-fusion-snapshots/fusion/2025-08-23/fusion_props=all_subjectns=commons-wikimedia-org_vocab=all.ttl.gz --token vault-token.dat
156
+
```
157
+
68
158
## Module Usage
69
159
70
160
### Step 1: Create lists of distributions for the dataset
0 commit comments