semvec/pypi-packages huggingface dataset:
get-prime-number 0.1
A prime number generator
Requires Python: >=3.0

# GET PRIME NUMBER

Python module that returns a generator of prime numbers.

## Instructions

1. Install the module
```
$ pip install get-prime-number
```

2. Import the function
```
from get-prime-number import get_prime_number
```

3. Create the generator
```
prime_numbers = get_prime_number()
```

4. Iterate through prime numbers
```
print(next(prime_numbers))
```

Have fun! If you have any trouble, please, contact me.
YeT 0.1.2
Elegant TeX script in YAML style
Requires Python: >=3.6
Keywords: latex yaml

# Yet most Elegant TeX

![PyPI Version](https://img.shields.io/pypi/v/YeT)
![License](https://img.shields.io/github/license/BayMinimum/YeT)

Elegant TeX script in YAML style

## Introduction

(Note: the below paragraph is opinionated, and so is this project)

Doubtless, documents typeset with TeX are elegant from their beginning.
However, TeX script are usually not. That's why you need YeT.

* You Only Write Once: Just `environ:`. No more `\begin{environ}~\end{environ}`!
* Syntactical Definition: Works out-of-box for *any* TeX packages without configuration
* Easy Fallback: TeX script can be easily mixed into YeT script
* Intuitive: Reading the below example will be enough for you to get the most out of YeT

## Install

YeT can be installed from PyPI. (supports `python>=3.6`)

```shell script
$ pip install YeT
```

## Example

```yaml
# examples/front.yml
documentclass: article[a4paper]
usepackage: amsmath
usepackage: amssymb

title: YeT Example
author: BayMinimum

document:
  - \maketitle  # or maketitle: ""
  - Let's begin with some math.
  - equation:
    - F = \frac{1}{4 \pi \epsilon_0} \frac{q_1 q_2}{r^2}
  - enumerate:
      item: This is enumerate
      item: Write items in dict or list
  - some_custom_environment{arg}[optional]:
    - Key with dict or list value is interpreted as environment.
    - This works syntactically, without semantics.
```

Compile the above YeT file with command:

```shell script
$ yet examples/front.yml
```

Then, `examples/front.tex` will be generated as below.

```
\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\title{YeT Example}
\author{BayMinimum}
\begin{document}
\maketitle

Let's begin with some math.

\begin{equation}
F = \frac{1}{4 \pi \epsilon_0} \frac{q_1 q_2}{r^2}
\end{equation}

\begin{enumerate}
\item{This is enumerate}

\item{Write items in dict or list}
\end{enumerate}

\begin{some_custom_environment}{arg}[optional]
Key with dict or list value is interpreted as environment.

This works syntactically, without semantics.
\end{some_custom_environment}
\end{document}
```