Skip to main content

Overview

Evergreen is a cooperative multitasking and i/o library for Python. It provides equivalent primitives to those for thread programming, but uses a cooperative model instead.

Operations are driven by an event loop which will run the given tasks and i/o operations in a non-blocking manner while presenting the user a synchronous, blocking API.

Features:

  • Cooperative multitasking

  • Cooperative synchronization primitives: locks, events, queues, channels

  • Futures API (almost) compatible with the standard library

  • Cooperative versions of several standard library modules

  • Ability to monkey patch standard library modules to make them cooperative

Running the test suite

There are several ways of running the test suite:

  • Running individual tests:

    Go inside the tests/ directory and run each individual test

  • Run the test with the current Python interpreter:

    From the toplevel directory, run: nosetests -v -w tests/

  • Use Tox to run the test suite in several virtualenvs with several interpreters

    From the toplevel directory, run: tox -e py26,py27,py32, py33 this will run the test suite on Python 2.6, 2.7, 3.2 and 3.3 (you’ll need to have them installed beforehand)

CI status

https://secure.travis-ci.org/saghul/evergreen.png?branch=master

Documentation

http://readthedocs.org/docs/evergreen/

Author

Saúl Ibarra Corretgé <saghul@gmail.com>

Code written by other authors has been adapted for use with Evergreen, check the NOTICE file.

License

Unless stated otherwise on-file Evergreen uses the MIT license, check LICENSE and NOTICE files.

Contributing

If you’d like to contribute, fork the project, make a patch and send a pull request. Have a look at the surrounding code and please, make yours look alike :-) If you intend to contribute a new feature please contact the maintainer beforehand in order to discuss the design.

Metadata

Release files for evergreen 0.1.0

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

Source distribution (sdist)

Source distribution for evergreen 0.1.0
File Size Uploaded
evergreen-0.1.0.tar.gz 67.4 kB Details

Release files / evergreen-0.1.0.tar.gz

Download URL evergreen-0.1.0.tar.gz
Size 67.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e8f9ea18bff1278280043cca83515cb6aa81c67118b7a8690fef3544f60faf41
BLAKE2b-256 checksum
How to use checksums
8d55ad3b3d1b84c135f1dc1a96717bf41e088ff00a1dddbc8fd79b0f013f0a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

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