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.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distributions

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

databusclient-0.4-py3.10.egg (10.1 kB view details)

Uploaded Egg

databusclient-0.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databusclient-0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for databusclient-0.4.tar.gz
Algorithm Hash digest
SHA256 1b54e47ec0086b5a99b95db7cbfe0b67c14f3617907218129b451ceb33ea91b5
MD5 995b9362ca90c4e61136cc20b2964bb4
BLAKE2b-256 c0a788be30f95cf6711849611ca13c6ad26d63bce2adfe7fe4d9662a5fe9125e

See more details on using hashes here.

File details

Details for the file databusclient-0.4-py3.10.egg.

File metadata

  • Download URL: databusclient-0.4-py3.10.egg
  • Upload date:
  • Size: 10.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for databusclient-0.4-py3.10.egg
Algorithm Hash digest
SHA256 c7f7375da4104e8e8eff53d10f8911a1335dd618b803780fd431dc0ff35e691e
MD5 4af08f6fb0a582924ad9370b52b86dfb
BLAKE2b-256 cc9049d49fe1266f237091010c80750f0ead5de7145a7ff183421b0d5d082b8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: databusclient-0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for databusclient-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b307666d4f64557851f717b0363a0ada29c45c734695634d1c33e87708420fd9
MD5 81bac9562dd17d6fac6f5e6a23e598a7
BLAKE2b-256 6a593ba1afc068918b5a72c196f2d96c2c444afadb8575a97765eec85cc7d6d8

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