Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
macro-polo documentation
Logo
  • Getting Started
    • The macro-polo custom codec
    • macro_rules!
      • macro_rules Tutorial
      • macro_rules Reference
      • Advanced Techniques
    • Procedural Macros
    • Importing Macros
  • API Reference
    • macro_polo
      • macros
        • decorator
        • function
        • importer
        • macro_rules
        • module
        • predefined
        • proc
        • super
        • types
      • match
      • transcribe
      • parse
      • codec
Back to top
View this page

Getting Started¶

Requirements¶

macro-polo requires Python ≥ 3.12, and has no dependencies.

Installation¶

You can install macro-polo with pip:

$ pip install macro-polo

Tutorial¶

Start learning how to write and use macros:

  • The macro-polo custom codec
  • macro_rules!
  • Procedural Macros
  • Importing Macros
Next
The macro-polo custom codec
Previous
Home
Copyright © 2025, Benjy Wiener
Made with Sphinx and @pradyunsg's Furo
On this page
  • Getting Started
    • Requirements
    • Installation
    • Tutorial