Skip to main content

Flask app for fetching song lyrics from the Genius API

Project description

glyrics - Flask app for fetching song lyrics from the Genius API

This repository contains the source code for the glyrics API server which fetches song lyrics from the Genius API.

Installation

  1. Clone the repository.

    $ git clone git@github.com:will2dye4/glyrics.git
    $ cd glyrics
    
  2. Edit the config file as needed for your environment.

    $ $EDITOR glyrics/config/config.json
    

Running the Server

NOTE: glyrics depends on Python 3.10 or newer; please ensure that you have a semi-recent version of Python installed before proceeding.

Running Locally

To run the server locally, run the following from the root of the repository:

$ pip install .
$ glyrics

Deploying to gunicorn

To run the server using gunicorn, run the following:

$ pip install .
$ pip install gunicorn
$ gunicorn -c glyrics/config/gunicorn.conf.py 'glyrics:app'

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

glyrics-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

glyrics-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file glyrics-0.1.0.tar.gz.

File metadata

  • Download URL: glyrics-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.1 Darwin/25.1.0

File hashes

Hashes for glyrics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 499b640cda4f5cda439f29a86db73d76ae6993ca986d79c14e96a19fcba2bc0b
MD5 c3290f30ec7be96720c72d1207f61612
BLAKE2b-256 6c4c5d3702c5d936594087b9ca0c77714558cf6c2f734e5615711c9f24e3bfca

See more details on using hashes here.

File details

Details for the file glyrics-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: glyrics-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.1 Darwin/25.1.0

File hashes

Hashes for glyrics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5241d37dfe0199c6a4f2039a446131046d466af42e56a8b51113bf9bf0ebf22d
MD5 809e227f54ee82f2afc77d32a199ae45
BLAKE2b-256 d32b38b87e8ebc7d789b732db96d49f4ff821468691c69924331df941364cc4c

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