Skip to main content

scan a music directory to find concerts near a specified location

Project description

metalfinder is a command-line tool that scans a music directory to find concerts near a specified location.

Installation

Using pip

You can install metalfinder using pip:

$ pip install metalfinder

API Providers

Bandsintown

To use the Bandsintown API provider, you will need a Bandsintown App ID. This is your API key and it should be kept private.

SongKick

The SongKick API provider is not currently implemented. See issue #3 for more details.

CLI options

Here is an example of how to use metalfinder:

$ metalfinder -d "/home/foo/Music" -o "/home/foo/metalfinder.atom" -l "Montreal"

The complete CLI parameters can be found below and in the man page:

Usage:
    metalfinder -d <directory> -o <output> -l <location> -b <app_id> [-c <cache>] [-m <date>] [--verbose]
    metalfinder (-h | --help)
    metalfinder --version

Options:
    -h  --help                   Show the help screen
    --version                    Output version information
    --verbose                    Run the program in verbose mode
    -d  --directory <directory>  Music directory to scan to create artist list
    -o  --output    <output>     Path to the desired output file. You can either
                                 chose a text file (foo.txt), a JSON file (foo.json)
                                 or an ATOM file (foo.atom)
    -l  --location  <location>   Name of the city to use when looking for concerts
    -b  --bit-appid <app_id>     Bandsintown App ID (API key)
    -c  --cache     <cache>      Path to the cache directory. Defaults to
                                 XDG_CACHE/metalfinder
    -m  --max-date  <date>       Max date in YYYY-MM-DD format (ISO 8601)

Development

Running the test suite

Building the man page

The man page for metalfinder can be generated using the rst2man command line tool provided by the docutils project:

$ rst2man manpage.rst metalfinder.1

License

This project was written by Louis-Philippe Véronneau and is licensed under the GNU GPLv3 or any later version.

The code to query Bandsintown comes from the python-bandsintown project, was written by Chris Forrette and is licensed under the MIT license.

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

metalfinder-1.0.1.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

metalfinder-1.0.1-py2.py3-none-any.whl (22.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file metalfinder-1.0.1.tar.gz.

File metadata

  • Download URL: metalfinder-1.0.1.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for metalfinder-1.0.1.tar.gz
Algorithm Hash digest
SHA256 017ccdb6d7729ae004cfdf866a32baf6102fadcac8e74636ab5db3d2f0741dfe
MD5 05a5e78544934616c2491e1bec57bef1
BLAKE2b-256 93465ae3450b4322220fe0b584179e7e3b36ea459b5d0cd8dc1faad1c8408e2e

See more details on using hashes here.

File details

Details for the file metalfinder-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for metalfinder-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7693975ce57bf3659eca9a496b19963e70ae7d9a1dc878fe34a5d4740460b013
MD5 0c52c03cd4de3829f9ee91cd4cbfb6fe
BLAKE2b-256 63d4733f77f145191b0820f7428fdf89e68dc640a26e39dbf0a73246e1916917

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