Exemple #1
0
from pathlib import Path

from single_version import get_version

__version__ = get_version('cobang', Path(__file__).parent.parent)
Exemple #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)
Exemple #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'
Exemple #4
0
from pathlib import Path

from single_version import get_version

__version__ = get_version('chameleon-log', Path(__file__).parent.parent)
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)
#!/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']),
Exemple #7
0
from pathlib import Path

from single_version import get_version

__version__ = get_version('thunagen', Path(__file__).parent.parent)
Exemple #8
0
from pathlib import Path

from single_version import get_version


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