Skip to main content

View and search for artists, labels and releases in the Discogs.com library, from the command line.

Project description

image

image

discogs-cli

discogs-cli bring the Discogs.com database to your terminal. Perform the following actions from your terminal

  • Search artists, releases, labels

  • View artist information and their releases

  • View label details and its associated releases

  • View a release in detail

Access to search functionality

Discogs requires authentication when accessing the search APIs. If you wish to use the search functionality, you’re required to generate a personal access token for your discogs.com account. You can do so at https://www.discogs.com/settings/developers by clicking generate new token.

Before starting your application set the TOKEN shell variable. where sys64738 is your unique access token.

$ export TOKEN=sys64738

Installation

To install from PyPi, please use pip or easy_install. For example

$ pip install discogs-cli

or

$ easy_install discogs-cli

Note that installing into a virtualenv is generally recommended. If you wish to install the latest and greatest via github source, please ensure you’ve created a virtual environment.

$ virtualenv ~/.virtualenv/discogs-cli
$ source ~/.virtualenv/discogs-cli/bin/activate

Fetch and install the package from github

$ pip install git+https://github.com/jesseward/discogs-cli.git

Once installed, run discogs-cli to launch the interactive command prompt.

$ discogs-cli

To launch commands from the console

$ ogs <command> [params] [options]

TODO

  • Currently runs on a Unix like operating system only (Linux/OSX). If you can test and patch use for windows, please log a pull request.

About

discogs-cli builds upon the following awesome Python libraries * The python-prompt-toolkit https://github.com/jonathanslenders/python-prompt-toolkit * Discogs.com api client https://github.com/discogs/discogs_client * Haxor-news string completion library https://github.com/donnemartin/haxor-news

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

discogs-cli-1.1.0.tar.gz (9.9 kB view details)

Uploaded Source

File details

Details for the file discogs-cli-1.1.0.tar.gz.

File metadata

  • Download URL: discogs-cli-1.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for discogs-cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3626aa12ca965c6db0212a63a5cda5533be3b0e3b60ff638b73318cd020fbb70
MD5 15fcabb4b8f3e3dd4d9417450e7c96fb
BLAKE2b-256 1db47e5381d64334fc52c876308cf6767137c3423d6ecf8794d9c0c8d23c4387

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