Metadata-Version: 2.1
Name: makros
Version: 1.1.0
Summary: Modify and extend the Python language with (relative) ease
License: GPL-v3.0
Author: trickypr
Author-email: trickypr@icloud.com
Requires-Python: >=3.7,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: rich (>=12.4.4,<13.0.0)
Description-Content-Type: text/markdown

<div align="center">

# Makros

Extend the Python language with (relative) ease

![Codecov](https://img.shields.io/codecov/c/github/trickypr/makros?style=flat-square)
![PyPI](https://img.shields.io/pypi/v/makros?style=flat-square)

</div>

This program converts custom python files with a custom syntax to regular python files. The overall goals of this project are:

1.  To include some of the features that I feel are missing from the python programming language
2.  Provide a method for others to use this functionality without needing to contribute to this repo

## Installation

```bash
pip install makros
```

## Usage

To use this simply create a file with the `.mpy` extension, like the following:

```python
macro import namespace

namespace greet:
    name = "World"

    export def set_name(new_name):
        name = new_name

    export def say_hello():
        print("Hello, " + name)

greet.say_hello()
greet.set_name("trickypr")
greet.say_hello()
```

Then just run it with makros:

```bash
makros my_file.mpy
```

For more info, please [read our docs](https://makros.trickypr.com/docs/), or read the [examples](https://github.com/trickypr/makros/tree/main/examples).

