Skip to content

Instantly share code, notes, and snippets.

View gautamborad's full-sized avatar

Gautam Borad gautamborad

View GitHub Profile
@gautamborad
gautamborad / bobp-python.md
Created August 31, 2021 05:49 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@gautamborad
gautamborad / rules.py
Created October 29, 2020 09:58 — forked from miraculixx/rules.py
a simple python based rule engine
"""
(c) 2014 miraculixx at gmx.ch
"""
from shrutil.dictobj import DictObject
class RuleContext(DictObject):
"""
rule context to store values and attributes (or any object)
"""
def __init__(self):