Socket
Book a DemoInstallSign in
Socket

glyrics

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glyrics

Flask app for fetching song lyrics from the Genius API

pipPyPI
Version
0.1.0
Maintainers
1

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

  • Clone the repository.

    $ git clone git@github.com:will2dye4/glyrics.git
    $ cd glyrics
    
  • 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'

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts