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-savoy1211-1.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

discogs_cli_savoy1211-1.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discogs-cli-savoy1211-1.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for discogs-cli-savoy1211-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bf795109256eaaab1502b2214e669a464e7aa5b034fd79faa939cb36672d9d27
MD5 e7db056b622a0965bc7f03d97af318e0
BLAKE2b-256 f882937a480e4056c2955eb377a93b9230a5bbaddd2e847089116b7f09f776a0

See more details on using hashes here.

File details

Details for the file discogs_cli_savoy1211-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: discogs_cli_savoy1211-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for discogs_cli_savoy1211-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a747f0a62c96a8a96ac68fa015c8aaa82b4c2406ea28623bb3fe2520a110bdfe
MD5 6e6548468293d6e343c1dcd0ccab5dc6
BLAKE2b-256 54c20146b469e8b2e0daf3de266492a7196860fbf8935b10c307c273208e4285

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