Skip to main content

simple wrapper atop select

Project description

AppVeyor Build Downloads

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

At the heart of event-driven platforms is the selector, the humble 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]

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.


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


To install Scell, simply:

$ pip install scell

Project details

Download files

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

Files for scell, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size scell-0.3.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page