Lazy streams using generators

License: Freeware
Date Added: 27 April, 2013
Category: Scripts / Others
Author: activestate.com

This class allows you to use generators as more list-like streams. The chief advantage is that it is impossible to iterate through a generator more than once, while a stream can be re-used like a list.


Advertisements



 

This class allows you to use generators as more list-like streams. The chief advantage is that it is impossible to iterate through a generator more than once, while a stream can be re-used like a list.


Operating Systems:  Python, Windows, Linux, BSD, Solaris, Mac OS


Lazy streams using generators Related Downloads
 
Download Implementation of sets using sorted lists 1.1

Implementation of sets using sorted lists 1.1  This script implements set operations using sorted lists as the underlying data structure. Advantages: - Space savings -- lists are much more compact than a dictionary based implementation.

Download Recursive sorting 1.0

Recursive sorting 1.0  This script allows you to sort recursively nested lists if iterable is a mutable sequence type.

Download Fifo as single linked lists 1.4

Fifo as single linked lists 1.4  Fifo mean "First In First Out". This script  creates a container, which only allows element insertion and removal and where the first element inserted is the first element removed.

Download Getting th permutation of a sequence 1.1

Getting th permutation of a sequence 1.1  This script contains a function that given a sequence and a number n as parameters, returns the th permutation of the sequence (always as a list).

Download SQL-like ORDER BY function for lists 1.0

SQL-like ORDER BY function for lists 1.0  This script contains a function that allows you to easily sort a list by multiple columns in ascending and descending order similar in function to the ORDER BY clause in SQL.

Download Crypto Anywhere - OpenPGP Edition 2.0

Crypto Anywhere - OpenPGP Edition 2.0  Secure Email. Standalone or integrated with Outlook. Can decrypt and encrypt messages to friends using PGP, OpenPGP, SecExMail and many more. Crypto Anywhere allows you to make a travel floppy which can be used in internet cafe's or at work. Free.

Download Forest Clock ScreenSaver 2.3

Forest Clock ScreenSaver 2.3  This screensaver will carry you away from a bustling ambience of your work to a relaxing forest, where nature is always ready to give you a warm welcome. Butterflies, falling leaves, a kind wind patting trees and even more are waiting for you.

Download 1st SEO Meta Extractor 1.0

1st SEO Meta Extractor 1.0  To make life easier for the Webmaster we made this handy utility to extract meta keywords and description from any website. Easily check which of your sites need opimization in keywords, or compare your keywords with the ones from your competitors.

Download RCN Shoutcast Player 1.0

RCN Shoutcast Player 1.0  Provides a Songbird-native interface for browsing and playback of SHOUTcast Internet Radio streams. You can view your favourite stations by genre.

Others Popular Downloads
 
Download mvnForum .2GA 1.0

mvnForum .2GA 1.0  mvnForum is an open source, powerful, easy to use, easy to setup bulletin board (forum) built on the Java J2EE technology (Jsp/Servlet). mvnForum is compatible with any Servlet Containers which supports Jsp 1.2 and Servlet 2.3.

Download Aardvark Topsites PHP 5.2.0

Aardvark Topsites PHP 5.2.0  Aardvark Topsites PHP has a ton of features. I'm not going to bore you with all the inane details, but here is a list of the main features. - Members ranks can be shown on their button.

Download Guestbook class 1.0

Guestbook class 1.0  This class is meant to manage a guest book storing its records either in XML files database or in a SQL database. Currently it supports only MySQL databases.

Download lilURL 0.1.1

lilURL 0.1.1  lilURL is a simple PHP/MySQL script for generating shorter URLs. It's similar to TinyURL, Shorl, MakeAShorterLink, etc, but you can run it on your own server ((which is pretty much the same thing as TightURL).

Download MOC Designs PHP News 1.1

MOC Designs PHP News 1.1  MOC Designs PHP News is a PHP-SQL powered, dynamic, news editor and displayer. Adding news on your website is done through a web-page form, saving you the time of editing your news page and then uploading the news page again.

Download Php Board Script 6.4.3

Php Board Script 6.4.3  Php Board Script allows you to create a simple discussion forum. It is made in Php, without My SQL, which on each server or Webspace is installed in well 5 minutes.

Download CMS Mini 0.2.2

CMS Mini 0.2.2  CMS Mini is a very small PHP application for manage content for small web sites. Not intended for a cooperative group of editors and rewiers: simply one editor can insert new contents, immediatly pubblished on web: "one task, one click".

Download m-phorum 0.3

m-phorum 0.3  m-phorum is a new small phorum, using PHP with one mysql database backend. Tested on php 4.3, apache 1.3.27 & mysql 3.23.52. It is simple and fast.

Download PDF::Reader 1.0

PDF::Reader 1.0  The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.

Submit Reviews for Lazy streams using generators
- required fields