repo_id stringclasses 400
values | commit_sha stringclasses 400
values | commit_index int32 0 951 | in_repo_split stringclasses 1
value | cross_repo_split stringclasses 1
value | test_file stringlengths 7 121 | test_function stringlengths 1 108 | assertion_type stringclasses 32
values | difficulty stringclasses 8
values | context_lines int32 3 600 | prefix large_stringlengths 44 113k | target large_stringlengths 1 498 | anchor_sha stringclasses 400
values | anchor_index int32 0 951 | qna_source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_characteristics.py | test_read_gatt_char | assert | string_literal | 34 | import asyncio
import pytest
from bumble.device import Connection, Device
from bumble.gatt import Characteristic, CharacteristicValue, Service
from bleak import BleakClient
from bleak.backends.characteristic import BleakGATTCharacteristic
from tests.integration.conftest import (
configure_and_power_on_bumble_peri... | b"DATA" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_characteristics.py | test_notify_gatt_char | assert | string_literal | 51 | import asyncio
import pytest
from bumble.device import Connection, Device
from bumble.gatt import Characteristic, CharacteristicValue, Service
from bleak import BleakClient
from bleak.backends.characteristic import BleakGATTCharacteristic
from tests.integration.conftest import (
configure_and_power_on_bumble_peri... | b"1234" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_characteristics.py | test_notify_gatt_char | assert | string_literal | 59 | import asyncio
import pytest
from bumble.device import Connection, Device
from bumble.gatt import Characteristic, CharacteristicValue, Service
from bleak import BleakClient
from bleak.backends.characteristic import BleakGATTCharacteristic
from tests.integration.conftest import (
configure_and_power_on_bumble_peri... | b"2345" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_characteristics.py | test_notify_gatt_char | pytest.raises | complex_expr | 69 | import asyncio
import pytest
from bumble.device import Connection, Device
from bumble.gatt import Characteristic, CharacteristicValue, Service
from bleak import BleakClient
from bleak.backends.characteristic import BleakGATTCharacteristic
from tests.integration.conftest import (
configure_and_power_on_bumble_peri... | asyncio.TimeoutError) | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_characteristics.py | notify_callback | assert | variable | 16 | import asyncio
import pytest
from bumble.device import Connection, Device
from bumble.gatt import Characteristic, CharacteristicValue, Service
from bleak import BleakClient
from bleak.backends.characteristic import BleakGATTCharacteristic
from tests.integration.conftest import (
configure_and_power_on_bumble_peri... | NOTIFY_CHARACTERISITC_UUID | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_connecting.py | test_is_connected | assert | bool_literal | 23 | import asyncio
from bumble.device import Device
from bleak import BleakClient
from bleak._compat import timeout as async_timeout
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
async def test_is_connected(bumble_peripheral: Device):
"""Check if a conn... | True | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_connecting.py | test_is_connected | assert | bool_literal | 21 | import asyncio
from bumble.device import Device
from bleak import BleakClient
from bleak._compat import timeout as async_timeout
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
async def test_is_connected(bumble_peripheral: Device):
"""Check if a conn... | False | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_connecting.py | test_disconnect_callback | assert | variable | 32 | import asyncio
from bumble.device import Device
from bleak import BleakClient
from bleak._compat import timeout as async_timeout
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
async def test_disconnect_callback(bumble_peripheral: Device):
"""Check if... | client | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_connecting.py | test_connect | assert | complex_expr | 20 | import asyncio
from bumble.device import Device
from bleak import BleakClient
from bleak._compat import timeout as async_timeout
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
async def test_connect(bumble_peripheral: Device):
"""Connecting to a BLE ... | bumble_peripheral.name | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_descriptors.py | test_read_gatt_descriptor | assert | string_literal | 53 | from bumble.device import Device
from bumble.gatt import (
GATT_CHARACTERISTIC_USER_DESCRIPTION_DESCRIPTOR,
Characteristic,
Descriptor,
Service,
)
from bleak import BleakClient
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
async def test_... | b"Description" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_pairing.py | test_pairing_unavailable | pytest.raises | variable | 23 | import pytest
from bumble.device import Device
from bleak import BleakClient
from bleak.backends import BleakBackend, get_default_backend
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
@pytest.mark.skipif(
get_default_backend() != BleakBackend.CORE_BL... | NotImplementedError) | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_properties.py | test_get_rssi | assert | variable | 40 | import sys
from typing import TYPE_CHECKING
import pytest
from bumble.device import Device
from bleak import BleakClient
from bleak.backends import BleakBackend, get_default_backend
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
@pytest.mark.skipif(
... | rssi | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_client_properties.py | test_mtu_size | assert | variable | 34 | import sys
from typing import TYPE_CHECKING
import pytest
from bumble.device import Device
from bleak import BleakClient
from bleak.backends import BleakBackend, get_default_backend
from tests.integration.conftest import (
configure_and_power_on_bumble_peripheral,
find_ble_device,
)
async def test_mtu_size(b... | mtu_size | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_issue_1885.py | test_notification_sent_before_write_response | assert | string_literal | 84 | import asyncio
from bumble.att import Attribute, AttributeValue
from bumble.device import Connection, Device
from bumble.gatt import (
GATT_CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR,
Characteristic,
Descriptor,
Service,
)
from bleak import BleakClient
from bleak.backends.characteristic import Ble... | b"test" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_discover | assert | numeric_literal | 31 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | 1 | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_adv_data_simple | assert | collection | 36 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | {} | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_adv_data_simple | assert | collection | 38 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | [] | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_adv_data_complex | assert | numeric_literal | 49 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | 123 | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_adv_data_simple | assert | none_literal | 34 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | None | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_adv_data_complex | assert | collection | 44 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | {0x1234: b"MFG"} | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_adv_data_complex | assert | complex_expr | 57 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | found_adv_data.rssi | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_discover | assert | complex_expr | 32 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | bumble_peripheral.name | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/integration/test_scanner.py | test_discover | assert | func_call | 35 | import asyncio
import contextlib
import sys
import pytest
from bumble import data_types
from bumble.core import UUID
from bumble.device import Device
from bleak import BleakScanner
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
from bleak.uuids import normalize_uuid_s... | str(bumble_peripheral.static_address) | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_platform_detection.py | test_backend_id | assert | complex_expr | 17 | import platform
import pytest
from bleak import BleakClient, BleakScanner
from bleak.backends import BleakBackend
from bleak.backends.client import get_platform_client_backend_type
from bleak.backends.scanner import get_platform_scanner_backend_type
@pytest.mark.asyncio
async def test_backend_id():
"""Test that ... | scanner.backend_id | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_platform_detection.py | test_platform_detection | assert | string_literal | 23 | import platform
import pytest
from bleak import BleakClient, BleakScanner
from bleak.backends import BleakBackend
from bleak.backends.client import get_platform_client_backend_type
from bleak.backends.scanner import get_platform_scanner_backend_type
def test_platform_detection():
"""Test by importing the client ... | "BleakClientWinRT" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_platform_detection.py | test_backend_id | assert | complex_expr | 23 | import platform
import pytest
from bleak import BleakClient, BleakScanner
from bleak.backends import BleakBackend
from bleak.backends.client import get_platform_client_backend_type
from bleak.backends.scanner import get_platform_scanner_backend_type
@pytest.mark.asyncio
async def test_backend_id():
"""Test that ... | BleakBackend.WIN_RT | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_platform_detection.py | test_platform_detection | assert | string_literal | 24 | import platform
import pytest
from bleak import BleakClient, BleakScanner
from bleak.backends import BleakBackend
from bleak.backends.client import get_platform_client_backend_type
from bleak.backends.scanner import get_platform_scanner_backend_type
def test_platform_detection():
"""Test by importing the client ... | "BleakScannerWinRT" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_platform_detection.py | test_platform_detection | assert | string_literal | 18 | import platform
import pytest
from bleak import BleakClient, BleakScanner
from bleak.backends import BleakBackend
from bleak.backends.client import get_platform_client_backend_type
from bleak.backends.scanner import get_platform_scanner_backend_type
def test_platform_detection():
"""Test by importing the client ... | "BleakClientBlueZDBus" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_platform_detection.py | test_backend_id | assert | complex_expr | 20 | import platform
import pytest
from bleak import BleakClient, BleakScanner
from bleak.backends import BleakBackend
from bleak.backends.client import get_platform_client_backend_type
from bleak.backends.scanner import get_platform_scanner_backend_type
@pytest.mark.asyncio
async def test_backend_id():
"""Test that ... | BleakBackend.BLUEZ_DBUS | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_uuid.py | test_uuid_length_normalization | assert | string_literal | 5 | from bleak.uuids import normalize_uuid_16, normalize_uuid_32, normalize_uuid_str
def test_uuid_length_normalization():
assert normalize_uuid_str("1801") == | "00001801-0000-1000-8000-00805f9b34fb" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_uuid.py | test_uuid_length_normalization | assert | string_literal | 6 | from bleak.uuids import normalize_uuid_16, normalize_uuid_32, normalize_uuid_str
def test_uuid_length_normalization():
assert normalize_uuid_str("1801") == "00001801-0000-1000-8000-00805f9b34fb"
assert normalize_uuid_str("DAF51C01") == | "daf51c01-0000-1000-8000-00805f9b34fb" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_uuid.py | test_uuid_16_normalization | assert | string_literal | 6 | from bleak.uuids import normalize_uuid_16, normalize_uuid_32, normalize_uuid_str
def test_uuid_16_normalization():
assert normalize_uuid_16(0x1801) == "00001801-0000-1000-8000-00805f9b34fb"
assert normalize_uuid_16(0x1) == | "00000001-0000-1000-8000-00805f9b34fb" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hbldh/bleak | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | train | train | tests/test_uuid.py | test_uuid_32_normalization | assert | string_literal | 5 | from bleak.uuids import normalize_uuid_16, normalize_uuid_32, normalize_uuid_str
def test_uuid_32_normalization():
assert normalize_uuid_32(0x12345678) == | "12345678-0000-1000-8000-00805f9b34fb" | da97477ada52c8003a14b43c50432b512a7a4252 | 28 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/test_base58.py | test_base58 | assert | variable | 42 | from Crypto.Hash import keccak
from binascii import (
hexlify, unhexlify
)
import pytest
import hashlib
from hdwallet.libs.ripemd160 import ripemd160
from hdwallet.libs.base58 import (
checksum_encode, check_encode, check_decode, decode, encode, string_to_int
)
RAW: str = "0488ade405d5bc481680000000b5b40efbd... | eth | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_seed.py | test_cli_seed | assert | variable | 33 | import json
from hdwallet.cli.__main__ import cli_main
def test_cli_seed(data, cli_tester):
for client in data["seeds"].keys():
for words in data["seeds"][client].keys():
if client == "Electrum-V2":
for mnemonic_type in data["seeds"][client][words].keys():
... | seed | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_entropy.py | test_bip141_from_entropy_compressed | assert | variable | 79 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.entropies import BIP39Entropy
from hdwallet.hds import HDS
def test_bip141_from_entropy_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_mnemonics.py | test_bip141_from_mnemonic_compressed | assert | variable | 80 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.mnemonics import BIP39Mnemonic
from hdwallet.hds import HDS
def test_bip141_from_mnemonic_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_private_key.py | test_bip141_from_private_key_compressed | assert | variable | 54 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip141_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["cryp... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_public_key.py | test_bip141_from_public_key_compressed | assert | variable | 58 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip141_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["crypt... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_seed.py | test_bip141_from_seed_compressed | assert | variable | 39 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_wif.py | test_bip141_from_wif_compressed | assert | variable | 54 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip141_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["cryptocurren... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_xprivate_key.py | test_bip141_from_xprivate_key_compressed | assert | variable | 38 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hd... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_xpublic_key.py | test_bip141_from_xpublic_key_compressed | assert | variable | 52 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_xpublic_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_entropy.py | test_bip32_from_entropy_compressed | assert | variable | 106 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.entropies import BIP39Entropy
from hdwallet.hds import HDS
def test_bip32_from_entropy_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["h... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_mnemonics.py | test_bip32_from_mnemonic_compressed | assert | variable | 106 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.mnemonics import BIP39Mnemonic
from hdwallet.hds import HDS
def test_bip32_from_mnemonic_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data[... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py | test_bip32_from_private_key_compressed | assert | variable | 54 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip32_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["crypto... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py | test_bip32_from_public_key_compressed | assert | variable | 58 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip32_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptoc... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_seed.py | test_bip32_from_seed_compressed | assert | variable | 39 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip32_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_wif.py | test_bip32_from_wif_compressed | assert | variable | 54 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip32_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptocurrency... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_xprivate_key.py | test_bip32_from_xprivate_key_compressed | assert | variable | 38 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip32_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_xpublic_key.py | test_bip32_from_xpublic_key_compressed | assert | variable | 52 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip32_from_xpublic_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwa... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_entropy.py | test_bip44_from_entropy_compressed | assert | variable | 77 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.entropies import BIP39Entropy
from hdwallet.hds import HDS
def test_bip44_from_entropy_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["h... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_mnemonics.py | test_bip44_from_mnemonic_compressed | assert | variable | 77 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.mnemonics import BIP39Mnemonic
from hdwallet.hds import HDS
def test_bip44_from_mnemonic_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data[... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_private_key.py | test_bip44_from_private_key_compressed | assert | variable | 54 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip44_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["crypto... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_public_key.py | test_bip44_from_public_key_compressed | assert | variable | 58 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip44_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["cryptoc... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_seed.py | test_bip44_from_seed_compressed | assert | variable | 39 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip44_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_wif.py | test_bip44_from_wif_compressed | assert | variable | 54 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip44_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["cryptocurrency... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_xprivate_key.py | test_bip44_from_xprivate_key_compressed | assert | variable | 38 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip44_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip49/test_bip49_from_entropy.py | test_bip49_from_entropy_compressed | assert | variable | 78 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.entropies import BIP39Entropy
from hdwallet.hds import HDS
def test_bip49_from_entropy_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["h... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip49/test_bip49_from_mnemonics.py | test_bip49_from_mnemonic_compressed | assert | variable | 78 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.mnemonics import BIP39Mnemonic
from hdwallet.hds import HDS
def test_bip49_from_mnemonic_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data[... | dump | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_dumps.py | test_cli_dumps | assert | numeric_literal | 112 | from os import path
import json
import copy
import pytest
from hdwallet.cli.__main__ import cli_main
from dump_rules import rules
def unpack_dumps():
all_data = []
file_path = path.abspath(
path.join(path.dirname(__file__),
"../data/json/hdwallet.json")
)
values = open(file_path, "... | 0 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_entropy.py | test_cli_entropy | assert | numeric_literal | 19 | import json
from hdwallet.cli.__main__ import cli_main
def test_cli_entropy(data, cli_tester):
for client in data["entropies"].keys():
for strength in data["entropies"][client].keys():
cli = cli_tester.invoke(
cli_main, [
"generate", "entropy",
... | 0 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_lists.py | test_cryptocurrencies_list | assert | numeric_literal | 13 | from os import path
from hdwallet.cli.__main__ import cli_main
def test_cryptocurrencies_list(cli_tester):
cli = cli_tester.invoke(
cli_main, [
"list", "c",
]
)
assert cli.exit_code == | 0 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_mnemonic.py | check_mnemonics | assert | numeric_literal | 19 | import json
from hdwallet.cli.__main__ import cli_main
def check_mnemonics(
cli_word,
cli_entropy,
client,
language,
words,
entropy,
mnemonic
):
output_word = json.loads(cli_word.output)
output_entropy = json.loads(cli_entropy.output)
assert cli_word.exit_code == | 0 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/mnemonics/test_mnemonics_algorand.py | test_algorand_mnemonics | assert | numeric_literal | 15 | import json
import os
import pytest
from hdwallet.mnemonics.algorand.mnemonic import (
AlgorandMnemonic, ALGORAND_MNEMONIC_LANGUAGES, ALGORAND_MNEMONIC_WORDS
)
from hdwallet.exceptions import (
MnemonicError, EntropyError
)
def test_algorand_mnemonics(data):
assert ALGORAND_MNEMONIC_WORDS.TWENTY_FIV... | 25 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/mnemonics/test_mnemonics_bip39.py | test_bip39_mnemonics | assert | numeric_literal | 15 | import json
import os
import pytest
from hdwallet.mnemonics.bip39.mnemonic import (
BIP39Mnemonic, BIP39_MNEMONIC_LANGUAGES, BIP39_MNEMONIC_WORDS
)
from hdwallet.exceptions import (
MnemonicError, EntropyError
)
def test_bip39_mnemonics(data):
assert BIP39_MNEMONIC_WORDS.TWELVE == | 12 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/mnemonics/test_mnemonics_bip39.py | test_bip39_mnemonics | assert | numeric_literal | 16 | import json
import os
import pytest
from hdwallet.mnemonics.bip39.mnemonic import (
BIP39Mnemonic, BIP39_MNEMONIC_LANGUAGES, BIP39_MNEMONIC_WORDS
)
from hdwallet.exceptions import (
MnemonicError, EntropyError
)
def test_bip39_mnemonics(data):
assert BIP39_MNEMONIC_WORDS.TWELVE == 12
assert BIP3... | 15 | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_dumps.py | test_cli_dumps | assert | string_literal | 116 | from os import path
import json
import copy
import pytest
from hdwallet.cli.__main__ import cli_main
from dump_rules import rules
def unpack_dumps():
all_data = []
file_path = path.abspath(
path.join(path.dirname(__file__),
"../data/json/hdwallet.json")
)
values = open(file_path, "... | "" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/test_symbols.py | test_symbols | assert | string_literal | 15 | from hdwallet.symbols import *
def test_symbols():
assert ACC == "ACC"
assert AKT == "AKT"
assert ALGO == "ALGO"
assert ANON == "ANON"
assert APT == "APT"
assert ARB == "ARB"
assert AGM == "AGM"
assert XAX == "XAX"
assert AYA == "AYA"
assert AC == | "AC" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/test_symbols.py | test_symbols | assert | string_literal | 99 | from hdwallet.symbols import *
def test_symbols():
assert ACC == "ACC"
assert AKT == "AKT"
assert ALGO == "ALGO"
assert ANON == "ANON"
assert APT == "APT"
assert ARB == "ARB"
assert AGM == "AGM"
assert XAX == "XAX"
assert AYA == "AYA"
assert AC == "AC"
assert AUR == "AUR"
assert AVAX == "AVAX"
assert AVN... | "HT" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/test_symbols.py | test_symbols | assert | string_literal | 142 | from hdwallet.symbols import *
def test_symbols():
assert ACC == "ACC"
assert AKT == "AKT"
assert ALGO == "ALGO"
assert ANON == "ANON"
assert APT == "APT"
assert ARB == "ARB"
assert AGM == "AGM"
assert XAX == "XAX"
assert AYA == "AYA"
assert AC == "AC"
assert AUR == "AUR"
assert AVAX == "AVAX"
assert AVN... | "OK" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/test_symbols.py | test_symbols | assert | string_literal | 147 | from hdwallet.symbols import *
def test_symbols():
assert ACC == "ACC"
assert AKT == "AKT"
assert ALGO == "ALGO"
assert ANON == "ANON"
assert APT == "APT"
assert ARB == "ARB"
assert AGM == "AGM"
assert XAX == "XAX"
assert AYA == "AYA"
assert AC == "AC"
assert AUR == "AUR"
assert AVAX == "AVAX"
assert AVN... | "OP" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/test_symbols.py | test_symbols | assert | string_literal | 153 | from hdwallet.symbols import *
def test_symbols():
assert ACC == "ACC"
assert AKT == "AKT"
assert ALGO == "ALGO"
assert ANON == "ANON"
assert APT == "APT"
assert ARB == "ARB"
assert AGM == "AGM"
assert XAX == "XAX"
assert AYA == "AYA"
assert AC == "AC"
assert AUR == "AUR"
assert AVAX == "AVAX"
assert AVN... | "PI" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/mnemonics/test_mnemonics_monero.py | test_monero_mnemonics | assert | string_literal | 21 | import json
import os
import pytest
from hdwallet.mnemonics.monero.mnemonic import (
MoneroMnemonic, MONERO_MNEMONIC_LANGUAGES, MONERO_MNEMONIC_WORDS
)
from hdwallet.exceptions import (
MnemonicError, EntropyError
)
def test_monero_mnemonics(data):
assert MONERO_MNEMONIC_WORDS.TWELVE == 12
assert... | "dutch" | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/cli/test_cli_entropy.py | test_cli_entropy | assert | func_call | 22 | import json
from hdwallet.cli.__main__ import cli_main
def test_cli_entropy(data, cli_tester):
for client in data["entropies"].keys():
for strength in data["entropies"][client].keys():
cli = cli_tester.invoke(
cli_main, [
"generate", "entropy",
... | int(strength) | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_kholaw_ed25519_ecc.py | test_kholaw_ed25519_ecc_point | assert | func_call | 53 | from nacl.signing import (
SigningKey, VerifyKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.kholaw.ed25519 import (
KholawEd25519ECC, KholawEd25519Point, KholawEd25519PublicKey, KholawEd25519PrivateKey
)
from hdwallet.utils import g... | point_radd.x() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_kholaw_ed25519_ecc.py | test_kholaw_ed25519_ecc_point | assert | func_call | 54 | from nacl.signing import (
SigningKey, VerifyKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.kholaw.ed25519 import (
KholawEd25519ECC, KholawEd25519Point, KholawEd25519PublicKey, KholawEd25519PrivateKey
)
from hdwallet.utils import g... | point_radd.y() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_ed25519_blake2b_ecc.py | test_slip10_ed25519_blake2b_ecc_point | assert | func_call | 53 | from ed25519_blake2b import (
SigningKey, VerifyingKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.ed25519.blake2b import (
SLIP10Ed25519Blake2bECC, SLIP10Ed25519Blake2bPoint, SLIP10Ed25519Blake2bPublicKey, SLIP10Ed25519Blake2... | point_radd.x() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_ed25519_blake2b_ecc.py | test_slip10_ed25519_blake2b_ecc_point | assert | func_call | 54 | from ed25519_blake2b import (
SigningKey, VerifyingKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.ed25519.blake2b import (
SLIP10Ed25519Blake2bECC, SLIP10Ed25519Blake2bPoint, SLIP10Ed25519Blake2bPublicKey, SLIP10Ed25519Blake2... | point_radd.y() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_ed25519_ecc.py | test_slip10_ed25519_ecc_point | assert | func_call | 53 | from nacl.signing import (
SigningKey, VerifyKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.ed25519 import (
SLIP10Ed25519ECC, SLIP10Ed25519Point, SLIP10Ed25519PublicKey, SLIP10Ed25519PrivateKey
)
from hdwallet.utils import g... | point_radd.x() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_ed25519_ecc.py | test_slip10_ed25519_ecc_point | assert | func_call | 54 | from nacl.signing import (
SigningKey, VerifyKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.ed25519 import (
SLIP10Ed25519ECC, SLIP10Ed25519Point, SLIP10Ed25519PublicKey, SLIP10Ed25519PrivateKey
)
from hdwallet.utils import g... | point_radd.y() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_ed25519_monero_ecc.py | test_slip10_ed25519_monero_ecc_point | assert | func_call | 53 | from nacl.signing import (
SigningKey, VerifyKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.ed25519.monero import (
SLIP10Ed25519MoneroECC, SLIP10Ed25519MoneroPoint, SLIP10Ed25519MoneroPublicKey, SLIP10Ed25519MoneroPrivateKey... | point_radd.x() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_ed25519_monero_ecc.py | test_slip10_ed25519_monero_ecc_point | assert | func_call | 54 | from nacl.signing import (
SigningKey, VerifyKey
)
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.ed25519.monero import (
SLIP10Ed25519MoneroECC, SLIP10Ed25519MoneroPoint, SLIP10Ed25519MoneroPublicKey, SLIP10Ed25519MoneroPrivateKey... | point_radd.y() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_nist256p1_ecc.py | test_slip10_nist256p1_ecc_point | assert | func_call | 54 | from ecdsa import (
SigningKey, VerifyingKey
)
from ecdsa.ellipticcurve import PointJacobi
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.nist256p1 import (
SLIP10Nist256p1ECC, SLIP10Nist256p1Point, SLIP10Nist256p1PublicKey, SLIP10... | point_radd.x() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/ecc/test_slip10_nist256p1_ecc.py | test_slip10_nist256p1_ecc_point | assert | func_call | 55 | from ecdsa import (
SigningKey, VerifyingKey
)
from ecdsa.ellipticcurve import PointJacobi
import json
import os
import pytest
from hdwallet.ecc import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.ecc.slip10.nist256p1 import (
SLIP10Nist256p1ECC, SLIP10Nist256p1Point, SLIP10Nist256p1PublicKey, SLIP10... | point_radd.y() | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_private_key.py | test_bip141_from_private_key_compressed | assert | complex_expr | 66 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip141_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["cryp... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_public_key.py | test_bip141_from_public_key_compressed | assert | complex_expr | 70 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip141_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["crypt... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_seed.py | test_bip141_from_seed_compressed | assert | complex_expr | 56 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_wif.py | test_bip141_from_wif_compressed | assert | complex_expr | 66 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip141_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["cryptocurren... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_xprivate_key.py | test_bip141_from_xprivate_key_compressed | assert | complex_expr | 55 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hd... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip141/test_bip141_from_xpublic_key.py | test_bip141_from_xpublic_key_compressed | assert | complex_expr | 69 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_xpublic_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py | test_bip32_from_private_key_compressed | assert | complex_expr | 66 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip32_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["crypto... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py | test_bip32_from_public_key_compressed | assert | complex_expr | 70 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip32_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptoc... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_seed.py | test_bip32_from_seed_compressed | assert | complex_expr | 56 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip32_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_wif.py | test_bip32_from_wif_compressed | assert | complex_expr | 66 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip32_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptocurrency... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_xprivate_key.py | test_bip32_from_xprivate_key_compressed | assert | complex_expr | 55 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip32_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip32/test_bip32_from_xpublic_key.py | test_bip32_from_xpublic_key_compressed | assert | complex_expr | 69 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip32_from_xpublic_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwa... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_private_key.py | test_bip44_from_private_key_compressed | assert | complex_expr | 66 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip44_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["crypto... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_public_key.py | test_bip44_from_public_key_compressed | assert | complex_expr | 70 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
def test_bip44_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["cryptoc... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
hdwallet-io/python-hdwallet | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | train | train | tests/hdwallet/hdwallet/bip44/test_bip44_from_seed.py | test_bip44_from_seed_compressed | assert | complex_expr | 56 | from hdwallet import HDWallet
from hdwallet.cryptocurrencies import CRYPTOCURRENCIES
from hdwallet.derivations import DERIVATIONS
from hdwallet.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip44_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["hd"] | 8eccfcad9b1934b92d193cdc26348ed45c72e8fb | 29 | v2_extractor_at_anchor |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.