semvec/pypi-packages huggingface dataset:
pandoc-d2-filter 0.1.0
Pandoc filter for D2 code blocks
License: MIT
Requires Python: >=3.8
Keywords: d2, pandoc-filter, pandoc

pandoc-d2-filter
================

Pandoc filter to convert d2 code blocks to images.

````
```{.d2 pad=20}
x -> y
```
````

## Usage

Install it with pip:

```
pip install pandoc-d2-filter
```

And use it like any other pandoc filter:

```
pandoc tests/testdata/default.md -o default.pdf --filter pandoc-d2
```

The d2 binary is either part of the `$PATH`
or can be configured via `D2_BIN` environment variable.
If you use other output formats than svg,
you should `d2 init-playwright` before the first use.

## Configuration

TODO check `tests/testdata` for now.

## Inspiration

This filter is heavily inspired by the
[JavaScript d2-filter](https://github.com/ram02z/d2-filter)
and the [pandoc-plantuml-filter](https://github.com/timofurrer/pandoc-plantuml-filter).

Thanks [Omar](https://github.com/ram02z) & [Timo](https://github.com/timofurrer)
ccimport 0.4.4
a tiny package for fast python c++ binding build.
License: MIT
Requires Python: >=3.6


# ccimport

[![Build Status](https://github.com/FindDefinition/ccimport/workflows/build/badge.svg)](https://github.com/FindDefinition/ccimport/actions?query=workflow%3Abuild)

a tiny package for fast python c++ binding build.

ccimport 0.2.x support python 3.5.
ccimport >= 0.3 support python 3.6-3.10.

## Usage

```Python
build_meta = ccimport.BuildMeta()
build_meta.add_global_includes(...)
build_meta.add_global_cflags(...)
build_meta.add_ldflags(...)

lib = ccimport([path1, path2], out_path, build_meta)
```

## Usage in setup.py 

see [example](example/setup)