diff --git a/README.md b/README.md index 8947d28..7061688 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # ArithsGen – tool for arithmetic circuits generation [![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/) +[![PyPI version fury.io](https://badge.fury.io/py/ariths-gen.svg)](https://pypi.python.org/pypi/ariths-gen/) [![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://ehw-fit.github.io/ariths-gen) [![arXiv](https://img.shields.io/badge/arXiv-2203.04649-b31b1b.svg)](https://arxiv.org/abs/2203.04649) @@ -26,6 +27,16 @@ When you use this tool in your work/research, please cite the following article: } ``` +## Instalation +```bash +pip install ariths-gen + +python << EOF +import ariths_gen +print(ariths_gen.__version__) +EOF +``` + ## Prebuild circuits To enable fast work with the circuits, we published pre-build arithmetic circuits in various formats in [generated_circuits](generated_circuits) folder and as a [Release](https://github.com/ehw-fit/ariths-gen/releases). diff --git a/ariths_gen/__init__.py b/ariths_gen/__init__.py index 1434e1d..c7e663c 100644 --- a/ariths_gen/__init__.py +++ b/ariths_gen/__init__.py @@ -16,3 +16,4 @@ from .multi_bit_circuits import ( ) from .pdk import * +from . __version__ import __version__ \ No newline at end of file diff --git a/ariths_gen/__version__.py b/ariths_gen/__version__.py new file mode 100644 index 0000000..5da0b9a --- /dev/null +++ b/ariths_gen/__version__.py @@ -0,0 +1 @@ +__version__ = "1.1.2" \ No newline at end of file