Ejemplo n.º 1
0
from pathlib import Path

from single_version import get_version

__version__ = get_version('cobang', Path(__file__).parent.parent)
Ejemplo n.º 2
0
# flake8: noqa
from pathlib import Path

from single_version import get_version

from .client import *
from .common import *
from .funding import *
from .fx import *
from .market import *
from .order import *
from .product import *
from .trade import *
from .transaction import *
from .watchlist import *

__version__ = get_version("stake", Path(__file__).parent.parent)
Ejemplo n.º 3
0
from pathlib import Path

from single_version import get_version

from .base import VietNamDivisionType, Province, District, Ward  # noqa

__version__ = get_version('vietnamese_provinces', Path(__file__).parent.parent)
NESTED_DIVISIONS_JSON_PATH = Path(
    __file__).parent / 'data' / 'nested-divisions.json'
FLAT_DIVISIONS_JSON_PATH = Path(
    __file__).parent / 'data' / 'flat-divisions.json'
Ejemplo n.º 4
0
from pathlib import Path

from single_version import get_version

__version__ = get_version('chameleon-log', Path(__file__).parent.parent)
Ejemplo n.º 5
0
from pathlib import Path

from single_version import get_version

from .pie import curl_to_httpie, ConversionResult  # NOQA

__version__ = get_version('curlipie', Path(__file__).parent.parent)
Ejemplo n.º 6
0
#!/usr/bin/env python3

import re
import logging
from pathlib import Path
from dataclasses import dataclass
from itertools import chain
from collections import namedtuple
from typing import Match, Tuple, Sequence, List, Optional

from single_version import get_version

__version__ = get_version('vistickedword', Path(__file__).parent)
logger = logging.getLogger(__name__)

ALL_INITIAL_CONSONANT = frozenset(
    ('b', 'c', 'ch', 'd', 'g', 'gh', 'h', 'kh', 'l', 'm', 'n', 'nh', 'ng',
     'ngh', 'p', 'ph', 'q', 'r', 's', 't', 'th', 'tr', 'v', 'x'))
COMMON_INITIAL_CONSONANT = ALL_INITIAL_CONSONANT - {'gh', 'ngh', 'p', 'q'}

POSSIBLE_INITIAL_CONSONANTS = {
    # "None" means this vowel can start the word. Without "None", it means that
    # this vowel always need an initial consonant.
    'iai':
    frozenset(['g']),  # "giai". Actually, in this case, "gi" is consonant
    'ieu': COMMON_INITIAL_CONSONANT | {'ngh'} - {'ng', 'gh'},
    'oai': frozenset((None, 'ch', 'h'
                      'kh', 'l', 't', 'th', 'x')),
    'oao': frozenset(['ng']),
    'oeo': frozenset(['ng']),
    'uay': frozenset(['ng', 'q']),
Ejemplo n.º 7
0
from pathlib import Path

from single_version import get_version

__version__ = get_version('thunagen', Path(__file__).parent.parent)
Ejemplo n.º 8
0
from pathlib import Path

from single_version import get_version


__version__ = get_version('dj-static-revision', Path(__file__).parent.parent)