Skip to content

It is a web where you can see every day or every moment a quote about one or several topics.

License

Notifications You must be signed in to change notification settings

falken20/falken_quotes

Repository files navigation

drawing Personal Portfolio web

Version GitHub language count GitHub Top languaje Test coverage GitHub License[Python used version

Richi web Twitter


falken_quotes

It is a web where you can see every day or every moment a quote about one or several topics. Daily quotes API: https://zenquotes.io/keywords. Translate API test: https://platform.openai.com/ Translate API: https://nlp-translation.p.rapidapi.com/v1/translate

Deploy
gcloud app deploy
Setup
pip install -r requirements.txt
Running the app
flask run
Setup tests
pip install -r requirements-tests.txt
Running the tests with pytest and coverage
./check_app.sh

or

coverage run -m pytest -v && coverage html --omit=*/venv/*,*/tests/*
Environment vars
ENV_PRO=N
LEVEL_LOG=["DEBUG", "INFO", "WARNING", "ERROR"]
OPENAI_API_KEY=

# NLP API
API_URL_TRANSLATE="https://nlp-translation.p.rapidapi.com/v1/translate"
API_KEY=

# Quotes API
API_URL_QUOTES="https://zenquotes.io/api/random"

Versions

1.2.0 New API translation 1.1.0 Including spanish translation 1.0.1 Including tests 1.0.0 Application

Learning tips

About

It is a web where you can see every day or every moment a quote about one or several topics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published