semvec/pypi-packages huggingface dataset:
dotgen 0.2.0
Created Python library
License: MIT

# How to Create your Own Data Structures Library

Create a virtual environment:

```
python3 -m venv venv
```

Activate the environment by using:

```
source venv/bin/activate
```

Utility our Python library:

```
pip3 install wheel
pip3 install setuptools
pip3 install twine
```

Run test-runner:

```
python3 setup.py pytest
```

Build Library:

```
python3 setup.py bdist_wheel
```

Wheel file is stored in the “dist” folder that is now created.
You can install your library by using:

```
pip3 install dist/*.whl
```

Test your import 🚀:

```
from dotstruct import Stack
```
pyEanGenerator 1.0.0
A simple package to generate EAN13 and EAN8
License: MIT
Requires Python: >=3.6
Keywords: pyEanGenerator,EAN,ean,checkdigit

# pyEanGenerator

Python package to:

- generate ean8 and ean13 barcode

````Python
from pyEanGenerator import Ean8Generator,Ean13Generator

# EAN 8

testBarCode = Ean8Generator(myEan)

## show barecode on window
testBarCode.showBarcode()

## save EAN as svg file
testBarCode.saveAsSvg("myEan.svg")

## save EAN as png file (need pillow)
testBarCode.saveAsImg("myEan.png")

# EAN 13

testBarCode = Ean13Generator(myEan)

## show barecode on window
testBarCode.showBarcode()

## save EAN as svg file
testBarCode.saveAsSvg("myEan.svg")

## save EAN as png file (need pillow)
testBarCode.saveAsImg("myEan.png")

````

- verify if a string can be an ean8 or ean13

```Python
from pyEanGenerator import isCorrectEan, EanType

# test if ean8 or ean13
isEan = isCorrectEan(myEan)

# test if ean8
isEan8 = isCorrectEan(myEan, EanType.EAN8)

# test if ean13
isEan13 = isCorrectEan(myEan, EanType.EAN13)

```

- calculate checksum digit of ean

```Python
from pyEanGenerator import calculateDigitCheck

checkSumDigit = calculateDigitCheck(myEanWithouCheckSumDigit)
```