Skip to main content

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

Metadata

Release files for scell 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scell 0.3.1
File Size Uploaded
scell-0.3.1.tar.gz 4.1 kB Details

Release files / scell-0.3.1.tar.gz

Download URL scell-0.3.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
db8af46f8b70830725282f6e8bbb1d2dec8032be58ebde4c2f5f49761034a427
BLAKE2b-256 checksum
How to use checksums
03532db45cca934546003400e5bd4151e545a0f257633290fe5450dcd137dc04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page