semvec/pypi-packages huggingface dataset:
frprint 1.2.3
more easier to use for-print
License: MIT
Requires Python: >=3.7

# Introducing "frprint"!

If we want to repeat using "print()" before,<br>
We should use "for()" or spam "print()".<br>
But now! we can use "frprint()"!
## form
```
frprint(string type or variable,repeat times(optional,int type),Do not line break(True or False,Optional,Default = True))
```
## how to use

It is very easy to use.<br>
Just type frprint(), and put two variables in the "frprint()".<br>
There's a 2 Type of frprint must need.<br>
frprint() needs "text" and "int".<br>
for an example,<br>
&nbsp; frprint("Hello python!",4)<br>
&nbsp; It is same with...<br>
```
for i in range(4) :
    print("Hello python!")
```
Is same with,<br>
```
frprint("Hello python!")
```
Yup. It goes like frprint(text,int,boolean(optional,Default value is True) )
If you write frprint like this...
```
frprint("Hello python!",4,False)
```
It goes like...
```
for i in range(4) :
    print("Hello word!", end=" ")
```

And this is all to use frprint()!<br>
Ps.<br>
you can also print variables.()


# update log

## 1.2.3
If variable in frprint(), it will be work like this<br>
example :
```
x = 10
frprint(x,5)
```
is same with...
```
for i in range(1,5 + 1) :
    print(x += i)
```
mpl-typst 0.2.1
Typst backend for matplotlib (Python visualization library).
License: MIT
Requires Python: <4,>=3.11

![Linting and testing][1]
![Nightly][2]

[1]: https://github.com/daskol/typst-mpl-backend/actions/workflows/on-push.yml/badge.svg
[2]: https://github.com/daskol/typst-mpl-backend/actions/workflows/on-schedule.yml/badge.svg

# Typst Matplotlib Backend

*Typst backend for matplotlib (Python visualization library).*

## Overview

At the moment, Typst supports main vector and raster image formats. Namely,
images in PNG, JPEG, GIF, or SVG format can be easily emplaced in a document
with Typst. However, it is **not possible** to keep metadata and annotations.
These are mandatory in order to allow a reader to select and interact with
vector content (e.g. text) on images. Although SVG can contain text metadata in
principle, Typst does not support this feature at the moment but still it is
able to render SVG as a vector content.

This package solves this problem for `matplotlib` users. Basically, this
project implements a custom render (or backend) for `matplotlib` which
generates `typ`-file containing Typst markup. Generated markup file can be
later included in the original markup so that the resulting PDF will have
interactable content. Matplotlib exploits exactly the same strategy in order to
generate PGF-files &mdash; a LaTeX markup itself &mdash; which can be included
into LaTeX markup directly.

## Usage

To export a figure using typst, just add

```py
import matplotlib
import mpl_typst

# your drawing code

fig.savefig('figure.typ')
```

You may call `plt.show()` afterwards, which displays the figure using your
default `agg` backend.

In order to set the `mpl_typst` module as default backend (which deactivates
interactivity, but also renders SVG, PNG and PDF using typst) one can import
`mpl_typst.as_default` module in order to use `mpl_typst` backend by default.

```python
import mpl_typst.as_default
```

Or one can configure it manually.

```python
import matplotlib as mpl
import mpl_typst
mpl.use('module://mpl_typst')
```

Also, it is possible to use rendering context as usual to override backend.

```python
import matplotlib as mpl
import mpl_typst
with mpl.rc_context({'backend': 'module://mpl_typst'}):  # or mpl_typst.BACKEND
    ...
```

Next, you can save your figure to `typ` as usual.

```python
fig, ax = plt.subplots()
...
fig.savefig('line-plot-simple.typ')
```


As soon as you get a `typ`-file you can included it directly to `figure`
function and adjust figure time.

```typst
#figure(
  include "line-plot-simple.typ",
  kind: image,
  caption: [Simple line plot],
  placement: top,
) <line-plot-simple>
```