Debian Codegraph @

cryptography_vectors/__init__.py

raw
1 # This file is dual licensed under the terms of the Apache License, Version
2 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 # for complete details.
4
5 import os
6 import typing
7
8 from cryptography_vectors.__about__ import __version__
9
10 __all__ = [
11 "__version__",
12 ]
13
14
15 def open_vector_file(filename: str, mode: str) -> typing.IO:
16 base = os.path.dirname(__file__)
17 return open(os.path.join(base, filename), mode)