File: __init__.py

package info (click to toggle)
python-cryptography-vectors 3.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,852 kB
  • sloc: python: 63; sh: 49; makefile: 3
file content (35 lines) | stat: -rw-r--r-- 724 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.

from __future__ import absolute_import, division, print_function

import os

from cryptography_vectors.__about__ import (
    __author__,
    __copyright__,
    __email__,
    __license__,
    __summary__,
    __title__,
    __uri__,
    __version__,
)


__all__ = [
    "__title__",
    "__summary__",
    "__uri__",
    "__version__",
    "__author__",
    "__email__",
    "__license__",
    "__copyright__",
]


def open_vector_file(filename, mode):
    base = os.path.dirname(__file__)
    return open(os.path.join(base, filename), mode)