File: boto.py

package info (click to toggle)
python-scrapy 2.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,308 kB
  • sloc: python: 55,321; xml: 199; makefile: 25; sh: 7
file content (10 lines) | stat: -rw-r--r-- 188 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
"""Boto/botocore helpers"""


def is_botocore_available() -> bool:
    try:
        import botocore  # noqa: F401,PLC0415

        return True
    except ImportError:
        return False