Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install seesaw

How to install seesaw

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install seesaw
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.4
0.0.15Never BuiltWhy not?
0.0.4 Available View build log
Windows (64-bit)
Mac OS X (10.5+)
0.0.4
0.0.15Never BuiltWhy not?
0.0.4 Available View build log
Linux (32-bit)
0.0.9
0.0.15Never BuiltWhy not?
0.0.9 Available View build log
0.0.7 Available View build log
0.0.4 Available View build log
Linux (64-bit)
0.0.15 Available View build log
0.0.9 Available View build log
0.0.7 Available View build log
0.0.4 Available View build log
 
Author
Imports
Lastest release
version 0.0.15 on May 4th, 2013

An attempt to write a toolkit for making seesaw scripts in Python, with support for concurrent downloads, uploads etc.

How to try it out

To run the example pipeline:

sudo pip install -r requirements.txt ./run-pipeline --help ./run-pipeline example-pipeline.py someone

Point your browser to http://127.0.0.1:8001/

Description

Needs the Tornado library for event-driven I/O.

General idea: a set of Task`s that can be combined into a `Pipeline that processes `Item`s:

System Message: WARNING/2 (<string>, line 23); backlink

Inline interpreted text or phrase reference start-string without end-string.
  • An Item is a thing that needs to be downloaded (a user, for example). It has properties that are filled by the `Task`s.

    System Message: WARNING/2 (<string>, line 25); backlink

    Inline interpreted text or phrase reference start-string without end-string.

  • A Task is a step in the download process: it takes an item, does something with it and passes it on. Example Tasks: getting an item name from the tracker, running a download script, rsyncing the result, notifying the tracker that it's done.

  • A Pipeline represents a sequence of Task`s. To make a seesaw script for a new project you'd specify a new `Pipeline.

A Task can work on multiple Item`s at a time (e.g., multiple Wget downloads). The concurrency can be limited by wrapping the task in a `LimitConcurrency Task: this will queue the items and run them one-by-one (e.g., a single Rsync upload).

The Pipeline needs to be fed empty Item objects; by controlling the number of active `Item`s you can limit the number of items. (For example, add a new item each time an item leaves the pipeline.)

System Message: WARNING/2 (<string>, line 31); backlink

Inline interpreted text or phrase reference start-string without end-string.

With the ItemValue, ItemInterpolation and ConfigValue classes it is possible to pass item-specific arguments to the Task objects. The value of these objects will be re-evaluated for each item. Examples: a path name that depends on the item name, a configurable bandwidth limit, the number of concurrent downloads.

Subscribe to package updates

Last updated May 4th, 2013

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.