code: def get_download_token() -> str:
      """Return a download token from ~/.deeppavlov/token file.
  
      If token file does not exists, creates the file and writes to it a random URL-safe text string
      containing 32 random bytes.
  
      Returns:
          32 byte URL-safe text string from ~/.deeppavlov/token.
  
      """
      token_file = Path.home() / ".deeppavlov" / "token"
      if not token_file.exists():
          if token_file.parent.is_file():
              token_file.parent.unlink()
          token_file.parent.mkdir(parents=True, exist_ok=True)
          token_file.write_text(
              secrets.token_urlsafe(32), encoding="utf8"
          )
  
      return token_file.read_text(encoding="utf8").strip()
  
imports: import collections
  import gzip
  import os
  import secrets
  import shutil
  import tarfile
  import zipfile
  from hashlib import md5
  from itertools import chain
  from logging import getLogger
  from pathlib import Path
  from typing import Any, Generator, Iterable, List, Mapping, Optional, Sequence, Sized, Union, Collection
  from urllib.parse import urlencode, parse_qs, urlsplit, urlunsplit, urlparse
  import numpy
  import requests
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: get_download_token() and returns: token_file