Examples#

This page contains a few examples of how you can use Protypo package.

Installation#

You can install Protypo using pip:

pip install protypo
Collecting protypo
  Downloading protypo-0.1.0-py3-none-any.whl (11 kB)
Collecting hyfi<0.3.0,>=0.2.6 (from protypo)
  Downloading hyfi-0.2.6-py3-none-any.whl (59 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/59.1 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.1/59.1 kB 1.8 MB/s eta 0:00:00
?25hCollecting toml<0.11.0,>=0.10.2 (from protypo)
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting cached-path<2.0.0,>=1.3.3 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading cached_path-1.3.4-py3-none-any.whl (27 kB)
Collecting chardet<=4.0.0 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/178.7 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.7/178.7 kB 11.3 MB/s eta 0:00:00
?25hCollecting gdown<5.0.0,>=4.6.6 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading gdown-4.7.1-py3-none-any.whl (15 kB)
Collecting hydra-colorlog<2.0.0,>=1.2.0 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading hydra_colorlog-1.2.0-py3-none-any.whl (3.6 kB)
Collecting hydra-core<2.0.0,>=1.3.2 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading hydra_core-1.3.2-py3-none-any.whl (154 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/154.5 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.5/154.5 kB 23.7 MB/s eta 0:00:00
?25hRequirement already satisfied: matplotlib<4.0.0,>=3.7.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from hyfi<0.3.0,>=0.2.6->protypo) (3.7.1)
Collecting numpy<1.24 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/17.1 MB ? eta -:--:--
     ━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/17.1 MB 130.0 MB/s eta 0:00:01
     ━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/17.1 MB 75.0 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━ 8.0/17.1 MB 76.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━ 11.3/17.1 MB 77.8 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━ 14.0/17.1 MB 70.3 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━ 15.7/17.1 MB 90.6 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 17.0/17.1 MB 79.3 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 17.0/17.1 MB 79.3 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 52.0 MB/s eta 0:00:00
?25h
Collecting pandas<2.0.0,>=1.5.3 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading pandas-1.5.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.0 MB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/12.0 MB ? eta -:--:--
     ━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/12.0 MB 103.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━ 7.4/12.0 MB 108.1 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 12.0/12.0 MB 120.1 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 12.0/12.0 MB 120.1 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.0/12.0 MB 75.5 MB/s eta 0:00:00
?25h
Collecting pydantic<2.0.0,>=1.10.7 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading pydantic-1.10.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/3.1 MB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 3.1/3.1 MB 135.4 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 82.0 MB/s eta 0:00:00
?25h
Collecting python-dotenv<2.0.0,>=1.0.0 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)
Requirement already satisfied: requests<3.0.0,>=2.27.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from hyfi<0.3.0,>=0.2.6->protypo) (2.28.2)
Collecting scipy<2.0.0,>=1.10.1 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading scipy-1.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.1 MB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/34.1 MB ? eta -:--:--
     ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/34.1 MB 145.3 MB/s eta 0:00:01
     ━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/34.1 MB 113.8 MB/s eta 0:00:01
     ━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/34.1 MB 84.7 MB/s eta 0:00:01
     ━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.5/34.1 MB 90.4 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━ 13.0/34.1 MB 66.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━ 13.6/34.1 MB 65.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━ 16.5/34.1 MB 54.7 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━ 21.1/34.1 MB 63.9 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━ 25.9/34.1 MB 132.7 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━ 28.3/34.1 MB 133.4 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━ 32.5/34.1 MB 104.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━ 32.5/34.1 MB 104.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 34.1/34.1 MB 69.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 34.1/34.1 MB 69.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 34.1/34.1 MB 69.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 34.1/34.1 MB 69.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.1/34.1 MB 37.2 MB/s eta 0:00:00
?25h
Collecting tqdm<5.0.0,>=4.64.1 (from hyfi<0.3.0,>=0.2.6->protypo)
  Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/77.1 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 12.1 MB/s eta 0:00:00
?25h
Collecting rich<14.0,>=12.1 (from cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading rich-13.3.4-py3-none-any.whl (238 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/238.7 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 238.7/238.7 kB 41.1 MB/s eta 0:00:00
?25h
Collecting filelock<3.10,>=3.4 (from cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading filelock-3.9.1-py3-none-any.whl (9.7 kB)
Collecting boto3<2.0,>=1.0 (from cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading boto3-1.26.117-py3-none-any.whl (135 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/135.6 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.6/135.6 kB 30.5 MB/s eta 0:00:00
?25h
Collecting google-cloud-storage<3.0,>=1.32.0 (from cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading google_cloud_storage-2.8.0-py2.py3-none-any.whl (113 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/113.6 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.6/113.6 kB 23.6 MB/s eta 0:00:00
?25h
Collecting huggingface-hub<0.13.0,>=0.8.1 (from cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading huggingface_hub-0.12.1-py3-none-any.whl (190 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/190.3 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.3/190.3 kB 44.8 MB/s eta 0:00:00
?25hRequirement already satisfied: six in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from gdown<5.0.0,>=4.6.6->hyfi<0.3.0,>=0.2.6->protypo) (1.16.0)
Requirement already satisfied: beautifulsoup4 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from gdown<5.0.0,>=4.6.6->hyfi<0.3.0,>=0.2.6->protypo) (4.12.2)
Collecting colorlog (from hydra-colorlog<2.0.0,>=1.2.0->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
Collecting omegaconf<2.4,>=2.2 (from hydra-core<2.0.0,>=1.3.2->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/79.5 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 13.9 MB/s eta 0:00:00
?25hCollecting antlr4-python3-runtime==4.9.* (from hydra-core<2.0.0,>=1.3.2->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
?25l
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/117.0 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.0/117.0 kB 31.3 MB/s eta 0:00:00
?25h
  Preparing metadata (setup.py) ... ?25l-
 done
?25hRequirement already satisfied: packaging in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from hydra-core<2.0.0,>=1.3.2->hyfi<0.3.0,>=0.2.6->protypo) (23.1)
Requirement already satisfied: contourpy>=1.0.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (1.0.7)
Requirement already satisfied: cycler>=0.10 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (4.39.3)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (9.5.0)
Requirement already satisfied: pyparsing>=2.3.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.7.1->hyfi<0.3.0,>=0.2.6->protypo) (2.8.2)
Collecting pytz>=2020.1 (from pandas<2.0.0,>=1.5.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/502.3 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 60.4 MB/s eta 0:00:00
?25h
Requirement already satisfied: typing-extensions>=4.2.0 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from pydantic<2.0.0,>=1.10.7->hyfi<0.3.0,>=0.2.6->protypo) (4.5.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from requests<3.0.0,>=2.27.1->hyfi<0.3.0,>=0.2.6->protypo) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from requests<3.0.0,>=2.27.1->hyfi<0.3.0,>=0.2.6->protypo) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from requests<3.0.0,>=2.27.1->hyfi<0.3.0,>=0.2.6->protypo) (1.26.15)
Requirement already satisfied: certifi>=2017.4.17 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from requests<3.0.0,>=2.27.1->hyfi<0.3.0,>=0.2.6->protypo) (2022.12.7)
Collecting botocore<1.30.0,>=1.29.117 (from boto3<2.0,>=1.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading botocore-1.29.117-py3-none-any.whl (10.7 MB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/10.7 MB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━ 4.9/10.7 MB 139.3 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━ 10.1/10.7 MB 142.3 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 10.6/10.7 MB 140.0 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 93.6 MB/s eta 0:00:00
?25h
Collecting jmespath<2.0.0,>=0.7.1 (from boto3<2.0,>=1.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting s3transfer<0.7.0,>=0.6.0 (from boto3<2.0,>=1.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading s3transfer-0.6.0-py3-none-any.whl (79 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/79.6 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.6/79.6 kB 22.0 MB/s eta 0:00:00
?25h
Collecting google-auth<3.0dev,>=1.25.0 (from google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading google_auth-2.17.3-py2.py3-none-any.whl (178 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/178.2 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.2/178.2 kB 37.4 MB/s eta 0:00:00
?25h
Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5 (from google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading google_api_core-2.11.0-py3-none-any.whl (120 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/120.3 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.3/120.3 kB 28.1 MB/s eta 0:00:00
?25h
Collecting google-cloud-core<3.0dev,>=2.3.0 (from google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading google_cloud_core-2.3.2-py2.py3-none-any.whl (29 kB)
Collecting google-resumable-media>=2.3.2 (from google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading google_resumable_media-2.4.1-py2.py3-none-any.whl (77 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/77.7 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 kB 18.3 MB/s eta 0:00:00
?25h
Requirement already satisfied: pyyaml>=5.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from huggingface-hub<0.13.0,>=0.8.1->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo) (6.0)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from rich<14.0,>=12.1->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from rich<14.0,>=12.1->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo) (2.15.1)
Requirement already satisfied: soupsieve>1.2 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from beautifulsoup4->gdown<5.0.0,>=4.6.6->hyfi<0.3.0,>=0.2.6->protypo) (2.4.1)
Collecting PySocks!=1.5.7,>=1.5.6 (from requests<3.0.0,>=2.27.1->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting googleapis-common-protos<2.0dev,>=1.56.2 (from google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading googleapis_common_protos-1.59.0-py2.py3-none-any.whl (223 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/223.6 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 223.6/223.6 kB 34.0 MB/s eta 0:00:00
?25h
Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5 (from google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading protobuf-4.22.3-cp37-abi3-manylinux2014_x86_64.whl (302 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/302.4 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 297.0/302.4 kB 143.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 297.0/302.4 kB 143.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 297.0/302.4 kB 143.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 297.0/302.4 kB 143.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 297.0/302.4 kB 143.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.4/302.4 kB 1.6 MB/s eta 0:00:00
?25h
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3.0dev,>=1.25.0->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting pyasn1-modules>=0.2.1 (from google-auth<3.0dev,>=1.25.0->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/181.3 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 25.4 MB/s eta 0:00:00
?25h
Collecting rsa<5,>=3.1.4 (from google-auth<3.0dev,>=1.25.0->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading rsa-4.9-py3-none-any.whl (34 kB)
Collecting google-crc32c<2.0dev,>=1.0 (from google-resumable-media>=2.3.2->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading google_crc32c-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32 kB)
Requirement already satisfied: mdurl~=0.1 in /opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich<14.0,>=12.1->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo) (0.1.2)
Collecting pyasn1<0.6.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3.0dev,>=1.25.0->google-cloud-storage<3.0,>=1.32.0->cached-path<2.0.0,>=1.3.3->hyfi<0.3.0,>=0.2.6->protypo)
  Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/83.9 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 kB 22.8 MB/s eta 0:00:00
?25h
Building wheels for collected packages: antlr4-python3-runtime
  Building wheel for antlr4-python3-runtime (setup.py) ... ?25l-
 \
 |
 /
 done
?25h  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=8b4f08d37d8b0154b8e90867b3829bf1b7fc691e3558bb1b10165ddaf129b895
  Stored in directory: /home/runner/.cache/pip/wheels/1a/97/32/461f837398029ad76911109f07047fde1d7b661a147c7c56d1
Successfully built antlr4-python3-runtime
Installing collected packages: pytz, antlr4-python3-runtime, tqdm, toml, python-dotenv, PySocks, pydantic, pyasn1, protobuf, omegaconf, numpy, jmespath, google-crc32c, filelock, colorlog, chardet, cachetools, scipy, rsa, rich, pyasn1-modules, pandas, hydra-core, huggingface-hub, googleapis-common-protos, google-resumable-media, botocore, s3transfer, hydra-colorlog, google-auth, gdown, google-api-core, boto3, google-cloud-core, google-cloud-storage, cached-path, hyfi, protypo
  Attempting uninstall: numpy
    Found existing installation: numpy 1.24.2
    Uninstalling numpy-1.24.2:
      Successfully uninstalled numpy-1.24.2
^C
ERROR: Operation cancelled by user

[notice] A new release of pip is available: 22.3.1 -> 23.1
[notice] To update, run: pip install --upgrade pip
Note: you may need to restart the kernel to use updated packages.

Usage#

from protypo import get_version

print(get_version())