Skip to main content

Command line interface for dnres package.

Project description

dnres-cli

Command line utility to be used along with dnres python package.

Usage

Parse config

$ dnres config.ini

Print contents of stored/tagged data

$ dnres config.ini cat --help 

For files, the following filetypes are supported for printing:

  • .csv
  • .tsv
  • .xls
  • .xlsx

For python objects, the following classes are supported:

  • dict
  • list
  • tuple
  • set
  • str

If filetype or class is not supported, the filepath of the stored data gets printed.

Print absolute filepath of stored/tagged data

$ dnres config.ini ls --help

Other commands

The following dnres methods are exposed as cli commands:

  • info
  • tag
  • set-info
  • remove-from-db
  • remove-tag

Information on these commands/methods can be found here.
To get help on these commands run:

$ dnres config.ini COMMAND --help

Installation

pip install dnres-cli

License

BSD 3

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

dnres-cli-0.2.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

dnres_cli-0.2.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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