Skip to main content

A simple client for submitting data to the databus

Project description

Databus Client Python

Install

pip3 install databusclient

CLI Usage

databusclient --help
Usage: databusclient [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  deploy
  downoad

Deploy command

databusclient deploy --help


Usage: databusclient deploy [OPTIONS] DISTRIBUTIONS...

Arguments:
  DISTRIBUTIONS...  distributions in the form of List[URL|CV|fileExt|Compression] where URL is the
                    download URL and CV the key=value pairs (_ separted)
                    content variants of a distribution, fileExt and Compression can be set, if not they are inferred from the path  [required]

Options:
  --versionid TEXT    target databus version/dataset identifier of the form <h
                      ttps://databus.dbpedia.org/$ACCOUNT/$GROUP/$ARTIFACT/$VE
                      RSION>  [required]
  --title TEXT        dataset title  [required]
  --abstract TEXT     dataset abstract max 200 chars  [required]
  --description TEXT  dataset description  [required]
  --license TEXT      license (see dalicc.net)  [required]
  --apikey TEXT       apikey  [required]
  --help              Show this message and exit.

Example of using deploy command

databusclient deploy --versionid https://databus.dbpedia.org/user1/group1/artifact1/2022-05-18 --title title1 --abstract abstract1 --description description1 --license http://dalicc.net/licenselibrary/AdaptivePublicLicense10 --apikey 2f601r5c-990b-63b4-b94a-as2699e2f5a3 'https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml|type=swagger'  

API Usage

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

databusclient-0.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

databusclient-0.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file databusclient-0.3.tar.gz.

File metadata

  • Download URL: databusclient-0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for databusclient-0.3.tar.gz
Algorithm Hash digest
SHA256 37a611284710535eef5e29ace190ee632f3b15bfe94f362c70b1e6094701322b
MD5 a39e5087784b1cee06c15a7eb88c5cf0
BLAKE2b-256 048bc4cdc035047011fef61f480af02565b418e4fc71df07a9642225d5d51ec1

See more details on using hashes here.

File details

Details for the file databusclient-0.3-py3-none-any.whl.

File metadata

  • Download URL: databusclient-0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for databusclient-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d467a05ad3e5280e4e13b9435d1cb85407b34c66103f6f594d92f12e53a64277
MD5 7e5a31b6934cfd1ffa25a23032b988e7
BLAKE2b-256 628a58c7c76e5d88a54a35a24a3e0e62a61acc0901799569a22a608bdfe4d902

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