Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.443.335 Times

Bunch for Linux 1.0.1

Company: David Schoonover
Date Added: November 01, 2013  |  Visits: 421

Bunch for Linux

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



Bunch is a dictionary which supports attribute-style access, a la javascript.<br /><br />>>> b = Bunch()<br />>>> b.hello = 'world'<br />>>> b.hello<br />'world'<br />>>> b['hello'] += "!"<br />>>> b.hello<br />'world!'<br />>>> b.foo = Bunch(lol=True)<br />>>> b.foo.lol<br />True<br />>>> b.foo is b['foo']<br />True<br /><br />Dictionary Methods<br /><br />A Bunch is a subclass of dict; it supports all the methods a dict does:<br /><br />>>> b.keys()<br />['foo', 'hello']<br /><br />Including update():<br /><br />>>> b.update({ 'ponies': 'are pretty!' }, hello=42)<br />>>> print repr(b)<br />Bunch(foo=Bunch(lol=True), hello=42, ponies='are pretty!')<br /><br />As well as iteration:<br /><br />>>> [ (k,b[k]) for k in b ]<br />[('ponies', 'are pretty!'), ('foo', Bunch(lol=True)), ('hello', 42)]<br /><br />And "splats":<br /><br />>>> "The {knights} who say {ni}!".format(**Bunch(knights='lolcats', ni='can haz'))<br />'The lolcats who say can haz!'<br /><br />Miscellaneous<br /><br />* Bunch converts easily to (unbunchify, Bunch.toDict) and from (bunchify, Bunch.fromDict) a normal dict, making it easy to cleanly serialize them to JSON or YAML.<br />* It is safe to import * from this module. You'll get: Bunch, bunchify, and unbunchify.<br />* Tests:<br /><br />python -m bunch.test -v<br /><br />#md5=944d2e8f222ed032961daa34c5b5151c

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: 039are 039hello039 42and Bhello World Gtgtgt Bunch Bunchify Bunchlol Dtrue Easily Haz Knights Lolcats Ni3d039can Niquotformatbunchknights Lolcats Ponies Pretty Quotsplatsquotgtgtgt Quotthe Supports Unbunchify
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


BUNCH FOR LINUX RELATED
Games  -  Defend the Kingdom 0.1
Defend the Kingdom project is a real-time strategy based game. Defend The Kingdom, or Defender for short, is a real time strategy game dedicated to the fantastic world of LARP. Its goals include the ability to build and control a complete...
1.9 MB  
Network & Internet  -  django-smart-slug 0.1.0
There are exhausting examples in the tests, but here's the quick rundown: from django.db import models from smart_slug.fields import SmartSlugField class Simple(models.Model): slug = SmartSlugField(max_length=5,...
10.24 KB  
Gaming Utilities  -  World of Padman 1.1
World of Padman is a multiplayer Fun Action Shooter at Q3 Engine base. World of Padman was a popular total conversation mod for the quake 3 engine. Since the release of the gpled sourcecode, their team-members are worked hard to brush up the...
550.2 MB  
Desktop Utilities  -  Jurassic Park and The Lost World with Screensaver 1.0
This is a desktop theme based on Jurassic Park and The Lost World. Included are a wallpaper, icons, sounds and cursors as well as a screen saver. View a screenshot of the screensaver at http://shresources.50g.com/external/themes/jptlwss.gif. The...
1.73 MB  
Sports Scoring & Tracking Tools  -  2002 FIFA World Cup Informer 1.9
FREEWARE utility that will keep you informed of all 2002 FIFA World Cup events! It periodically pulls data from the official FIFA World Cup web site and alerts you on changes. News, photos, classic players and teams, World Cup history -- right on...
1.18 MB  
Screen Savers  -  World Choppers Screensaver 1.0
World Choppers High Resolution 3D Tumbling Cubes Screensaver for Windows. This is a product created for you free of charge by wchoppers.com.
561 KB  
Home & Leisure  -  World Cup 2006 Tournament Calendar 1.3
World Cup 2006 Tournament Calendar is Excel spreadsheet with whole schedule, tournament tree, auto tallying of standings etc. New languages: French, Spanish, German. The FIFA World Cup is disputed between nations every four years. World Cup in...
80 KB  
Puzzles  -  Tile World 1.2.2
Tile World is an emulation of the game "Chips Challenge". "Chips Challenge" was originally written for the Atari Lynx by Chuck Sommerville, and was later ported to MS Windows by Microsoft (among other ports). Please note: Tile World is an...
1024 KB  
Games  -  Samoth World Editor 0.11
Samoth World Editor project consists of medieval/fantasy universe RPG..
17.8 MB  
Games  -  World Domination 0.3
World Domination is a Real Time Strategy game inspired by the board game Axis and Allies utilizing the Stratagus engine. World Domination will emphasize strategy and not "see who can build the most units the fastest." Resources are not gathered...
3.3 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB