New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

greenstalk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greenstalk

A Python 3 client for the beanstalkd work queue

  • 2.0.2
  • Source
  • PyPI
  • Socket score

Maintainers
1

Greenstalk

Greenstalk is a small and unopinionated Python client library for communicating with the beanstalkd_ work queue. The API provided mostly maps one-to-one with commands in the protocol_.

.. image:: https://img.shields.io/pypi/v/greenstalk.svg :target: https://pypi.org/project/greenstalk/

.. image:: https://github.com/justinmayhew/greenstalk/workflows/CI/badge.svg?branch=main :target: https://github.com/justinmayhew/greenstalk/actions

Quickstart

.. code-block:: pycon

>>> import greenstalk
>>> client = greenstalk.Client(('127.0.0.1', 11300))
>>> client.put('hello')
1
>>> job = client.reserve()
>>> job.id
1
>>> job.body
'hello'
>>> client.delete(job)
>>> client.close()

Documentation is available on Read the Docs_.

.. _beanstalkd: https://beanstalkd.github.io/ .. _protocol: https://raw.githubusercontent.com/beanstalkd/beanstalkd/master/doc/protocol.txt .. _Read the Docs: https://greenstalk.readthedocs.io/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc