Hexlet tests and linter status:

Actions Status

Description

Python module parses code response, heading and title of sites by url.

Requirements

  • python3 version 3.10.x
  • poetry version >= 1.0.0
  • Flask version >= 2.3.2
  • psycopg2-binary version >= 2.9.6
  • validators version >=0.20.0
  • gunicorn version >= 20.1.0
  • bs4 version >= 0.0.1
  • poetry-dotenv-plugin >= 0.1.0

Installation and usage

  • clone repository to directory on your computer
  • add Environment Variables:
    • DATABASE_URL: "export DATABASE_URL= {provider}://{user}:{password}@{host}:{port}/{db}"
    • SECRET_KEY: "export SECRET_KEY = 'your_own_secret'"
  • enter "make dev"

Links

This project was built using these tools:

Tool Description
poetry "Python dependency management and packaging made easy"
Flask "micro web framework"
psycopg2-binary "PostgreSQL database adapter for the Python "
validators "Return whether or not given value is a valid domain "
gunicorn " WSGI HTTP Server for UNIX"
bs4 "Parses information from web pages"
python-doten "Read key-value pairs from a .env file and set them as environment variables"

Example

Page Analyzer