This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

simple wrapper atop select

Project Description

Scell is a MIT-licensed selector library, written in Python.

At the heart of event-driven platforms is the selector, the humble select.select function. Using it is very simple, but requires you to pass in lists of file handles again and again. Keeping track of these file handles are tricky. Let Scell handle it for you and focus on building an awesome library/server:

>>> selector = scell.Selector()
>>> monitor = selector.register(open('file.txt'), mode='r')
>>> monitor.callback = lambda: 1
>>> [event.callback() for event in selector.ready]
[1]

Scell allows implementors to effortlessly build libraries atop of the minimal abstraction provided, while also having good performance. The API is very small and works across many platforms, including Windows and OSX.

Features

  • Stateful wrapper around select.select
  • Extremely small API with small footprint and 100% coverage
  • Core abstractions and utilities can be used directly
  • Efficient implementation of callbacks
  • Highly documented codebase

Installation

To install Scell, simply:

$ pip install scell
Release History

Release History

This version
History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scell-0.3.1.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source May 14, 2015

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting