Skip to main content

Flask application which send the message after a delay implemented using socket

Project description

delayed_queue_manager

About

  • Queue Functionality:

    • Allow items to be added to the queue with a delay (in seconds).
    • Items should only become available after the specified delay.
  • User Interface:

    • Develop a simple UI using HTML and JavaScript.
    • The UI should allow users to submit a text string and delay time.
    • On clicking "Run", the app should display the queued items automatically after their respective delays by polling the backend.

Ready to use docker

  • Make sure you have docker installed on your machine.
  • Follow the steps here for more details on docker installation.
  • Follow the below steps after successful installation of docker
docker compose up
  • Now you can access the application at http://localhost:50300/

Installation

pip install delayed_queue_manager

ChangeLog

v1.1.0

1. Queue data structure implemented for storing the queue messages.
2. MAX_WORKERS configuration removed from the config.ini.
3. DEBUG_MODE is now being used in the main code.

v1.0.0

1. Allow messages to be added to the queue with a delay (in seconds).
2. Messages are available after the specified delay.

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

delayed_queue_manager-1.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

delayed_queue_manager-1.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file delayed_queue_manager-1.1.0.tar.gz.

File metadata

  • Download URL: delayed_queue_manager-1.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for delayed_queue_manager-1.1.0.tar.gz
Algorithm Hash digest
SHA256 099e2fb6e0a91e78e1a8c241ec7ae3a8e256b9e2465d00298d26737076b57254
MD5 f3a9b89ed3a4621518094360b6578f6f
BLAKE2b-256 ae25ed92b11157053c40fddcf1fd344308256bf150ef792c56b504c99396f341

See more details on using hashes here.

File details

Details for the file delayed_queue_manager-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for delayed_queue_manager-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a892eeca8701bd818ae420fbf44aaeee666ce076be466dde5c42f04a4c044022
MD5 a2e86cd4d7894c66469449e79c70a19d
BLAKE2b-256 184d18faba59dd7012cd65800b1ae334b8c3834540f4618b709117f365fbb070

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