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.1

1. Dependencies updated in setup.py.

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.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: delayed_queue_manager-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4649e212fbe6f36a9229bbcdd9ed64b0d42c0923aa17fa441167828a5eab3c92
MD5 906f1b2ecd6df42061794bc77fe07fd0
BLAKE2b-256 a60b3bce7c4f6032e3cef8b07cb34e7055a33db0f6541cacd52d812c8004d8f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for delayed_queue_manager-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31b97310999a0764a540720185b7d6da38c48a21a3c5b20b945f4c91d50033bd
MD5 98d6dce22a0eee2839866085fb19242f
BLAKE2b-256 04fb510b5f25f2724b700cfb3362543a5b5a46f6a10a76e89996d8b866b1feb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page