boolazy

Too lazy for proper bool syntax? Don't worry, be lazy.


Keywords
boolean, lazy
License
Other
Install
pip install boolazy==0.1

Documentation

BOOLAZY: Booleans, for lazy people

Let's say you work in fifteen different languages daily.

Python:

lazy = True happy = False

Javascript:

var lazy = true; var happy = false;

C:

boolean lazy = true; boolean happy = false;

Objective-C:

BOOL lazy = YES; BOOL happy = NO;

(Etcetera)

Wouldn't it be nice if you could just.. forget about the different keywords and choose just one? This Python library aims to cover all possible boolean keywords from any language, inside the Python runtime.

Just:

from boolazy import *

if true == True == YES == yes: print 'Hooray!'

Go forth and be lazy, you lazy asshole.