From 240320200b2ca6cea5fdf50083b09ef2b537f2ab Mon Sep 17 00:00:00 2001 From: Vojta <mrazek@fit.vutbr.cz> Date: Fri, 13 Dec 2024 13:06:34 +0100 Subject: [PATCH] pypi version --- README.md | 11 +++++++++++ ariths_gen/__init__.py | 1 + ariths_gen/__version__.py | 1 + 3 files changed, 13 insertions(+) create mode 100644 ariths_gen/__version__.py 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 [](https://www.python.org/) +[](https://pypi.python.org/pypi/ariths-gen/) [](https://ehw-fit.github.io/ariths-gen) [](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