Metadata-Version: 2.1
Name: dumas
Version: 0.0.1
Project-URL: Documentation, https://github.com/aleivag/dumas#readme
Project-URL: Issues, https://github.com/aleivag/dumas/issues
Project-URL: Source, https://github.com/aleivag/dumas
Author-email: Alvaro Leiva Geisse <aleivag@gmail.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Dist: click
Requires-Dist: ipython
Requires-Dist: libcst
Requires-Dist: marko
Description-Content-Type: text/markdown

# dumas

[![PyPI - Version](https://img.shields.io/pypi/v/dumas.svg)](https://pypi.org/project/dumas)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dumas.svg)](https://pypi.org/project/dumas)

* * *

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install dumas
```

## Using it (shell)

## Using it (api)

You could use `dumas` as part of your own workflow/program

```python
# First import the render functions


In [1]: from dumas.lib.renderer import render_text, render_file
        import textwrap

        MD_TEXT = textwrap.dedent("""
            This is a regular MD
            ====================
    
            with some `funny text` and some text
    
            ```dumas[python@readme]
            x = 1+1
    
            x**2
    
            ```
        """)
```

```python

In [2]: MD_TEXT

Out[2]: 
This is a regular MD
====================

with some `funny text` and some text

\```dumas[python@readme]
x = 1+1

x**2

\```
```

```python

In [3]: render_text(MD_TEXT)

Out[3]: 
# This is a regular MD

with some `funny text` and some text

\```python

In [1]: x = 1+1

        x**2

Out[1]: 4
\```
```

## License

`dumas` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
