C-style macros in Python!

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/programminghorror

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • pypp

    The Python Preprocessor

    pypp handles adding correct indentation when ?INDENT is used, so those first two defines will actually work for any number of nested braces (plus, if you add !define ?INDENT and !define ?DEDENT, you essentially get rid of python's own indentation and can just do whatever, see this example)

  • macros.py

    The hell of macros, just in python!

    looks similar to something i made a while back, nice work. link to the project: https://github.com/spookybear0/macros.py.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • bat

    A cat(1) clone with wings.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts