Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Mercurial to SQS hook

Project Description

hgsqs provides a simple hook to send changeset information to SQS queues. This could be useful if you want to collect information from mercurial commits or integrate with other systems. It’s perfect if you’re running on AWS and are too lazy to setup a real queue system or maybe you’re just in the middle of a message queuing obsession.


  • Python 2.7+
  • boto


Use or just pip:

pip install hgsqs


Put that in the .hg/hgrc of your project:

incoming.hgsqs = python:hgsqs:send

aws_access_key_id = FILL-IN
aws_secret_access_key = THE-BLANKS
queues = commit-analytics,irc-notifications,ticket-system
Then make sure your IAM user has the right permissions on these tables:
  • CreateQueue
  • GetQueueUrl
  • SendMessage

Release History

This version
History Node


Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers