gencnis / Python-Dev-Task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interpol Data Project

Table of Contents

Introduction

This project involves extracting and filterin data from Interpol using Docker Compose.

Containers

Container A

Container A retrieves the red list data published by Interpol. The data is then transferred to the message queue system in Container C. Container A includes:

  • Python 3.x
  • BeautifulSoup
  • Requests
  • pika

Container B

Container B is a Python-based web server. It listens to the message queue in Container C. The information obtained from the queue is stored in the desired database. These details are displayed on a simple HTML web page provided by the web server. The web page should be updated whenever new information is obtained from the queue. Container B includes:

  • Python 3.x
  • Flask
  • Flask-SQLAlchemy
  • Requests
  • pika

Container C

Container C hosts a message queue system called RabbitMQ. Container C includes:

  • Python 3.x
  • RabbitMQ

Dependencies

  • Docker
  • Docker Compose

Usage

  1. Install Docker and Docker Compose.
  2. Clone this repository.
  3. Navigate to the project directory.
  4. Run the following command to start the containers: docker-compose up --build.
  5. Access the web server's interface by visiting the appropriate URL in your browser.

Contributing

Contributions are welcome! If you have any suggestions, ideas, or bug reports, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

License:MIT License


Languages

Language:Python 58.1%Language:HTML 21.1%Language:CSS 8.1%Language:JavaScript 6.5%Language:Shell 4.6%Language:Dockerfile 1.3%Language:Mako 0.4%