Skip to main content

OSDU command line

Project description

OSDU Command Line Interface

Command-line interface for interacting with OSDU.

Usage

The first time you use the CLI you should run the configure command to provide connection information and other important configuration.

osdu config update

Once configured use the CLI as shown below. Omitting a command will display a list of available options.

osdu <command>

For more information, specify the -h flag:

osdu -h
osdu <command> -h

Change Log

0.0.33

  • fix storage delete returns 204 error when deleted successfully

0.0.32

  • dataload ingest added options for passing legal tags and acl

  • correct CRS Converter Service naming

0.0.31

  • Added update check when running ‘osdu’ or ‘osdu version’

0.0.30

  • API documentation pages are shown in info commands

  • workflow get, runs and status commands

0.0.29

  • storage commands

0.0.28

  • search kind command

  • search id supports limit

  • search query supports a specific query

  • global query option renamed to filter

0.0.27

  • file download and info commands

0.0.26

  • crs transforms command

0.0.25

  • test against python 3.10 in addition to 3.8, 3.9

  • crs commands

0.0.24

  • checkrefs authority, acl and legal parameters for generated files

0.0.23

  • osdu version shows service versions

  • added info subcommand to entitlements, legal, schema, search, unit, workflow.

0.0.22

  • search query supports limit

0.0.21

  • dataload verify supports reference-data {{NAMESPACE}} replacement

0.0.20

  • dataload support sequence file for ordered loading (ref. standard reference-data)

0.0.19

  • schema add –overwrite-existing option

  • merge dataload checkrefs code (wip)

  • user friendly output mode

  • improved dataload helper text

  • support for python 3.10

0.0.18

  • split global options in help text for clarity

  • search table output fields changed

0.0.17

  • change osducli references to osdu

0.0.16

  • fix ingestion batch sizes

0.0.15

  • entitlements members add - added role option

  • entitlements members remove command added

0.0.14

  • callable as osdu instead of osducli

  • search query & search id commands

  • dataload ingest –skip-existing option

  • Add legal service and list tags

0.0.13

  • workflow register / unregister commands

  • dataload ingest - wait and simulate options

0.0.12

  • Fix config permissions

0.0.11

  • schema commands

  • dataload batching imporvements

0.0.10

  • refeactor code to use click instead of knack

0.0.9

  • entitlements commands

0.0.8

  • use osdu-sdk 0.0.2

0.0.7

  • Uses osdu-sdk for backend code

0.0.6

  • Refactor of connection code

0.0.3

  • Bulk upload commands (file upload still missing)

  • Interactive login

  • Config improvements

  • Additional testing

0.0.2

  • Cleanup and diverse fixes

0.0.1

  • Initial release.

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

osducli-0.0.33.tar.gz (52.1 kB view details)

Uploaded Source

Built Distribution

osducli-0.0.33-py3-none-any.whl (108.3 kB view details)

Uploaded Python 3

File details

Details for the file osducli-0.0.33.tar.gz.

File metadata

  • Download URL: osducli-0.0.33.tar.gz
  • Upload date:
  • Size: 52.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for osducli-0.0.33.tar.gz
Algorithm Hash digest
SHA256 5599919e67047f5bc025ecafb56f5ecf6d86679d84cf29235de72105493bafd2
MD5 daa2bc70953cf9b8440bed70764c63b1
BLAKE2b-256 98daea3d3420a963d5b2405cb72865e06ba541b17e2e32610318625692ffceac

See more details on using hashes here.

File details

Details for the file osducli-0.0.33-py3-none-any.whl.

File metadata

  • Download URL: osducli-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 108.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for osducli-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 980ebd5ac74466c24060de417257e1530e54dfcb18c6be887648ccdda0ab03f8
MD5 d38a16fc7f34dba2c305fc5dab5b0143
BLAKE2b-256 93c2f44373027a56d528aca9fd19d29d4151771980b95f2588bbf95cba1469e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page