repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/test_data.py
tests/test_data.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/__init__.py
tests/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/__init__.py
tests/miners_tests/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/__init__.py
tests/miners_tests/backends_tests/__init__.py
from .avalonminer_tests import * from .elphapex_tests import * from .hammer_tests import *
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/avalonminer_tests/test_web_api_json_error.py
tests/miners_tests/backends_tests/avalonminer_tests/test_web_api_json_error.py
"""Tests for AvalonMiner web API JSON error handling. This test ensures that the AvalonMiner API gracefully handles cases where endpoints return invalid JSON or HTML responses instead of the expected JSON data. Related to Issue #400: Avalon Mini 3 stopped working with v0.78.0 """ import unittest from unittest.mock i...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/avalonminer_tests/version_24102401_25462b2_9ddf522.py
tests/miners_tests/backends_tests/avalonminer_tests/version_24102401_25462b2_9ddf522.py
"""Tests for hammer miners with firmware dating 2023-05-28 17-20-35 CST""" import unittest from dataclasses import fields from unittest.mock import patch from pyasic import APIError, MinerData from pyasic.data import Fan, HashBoard from pyasic.device.algorithm import SHA256Unit from pyasic.miners.avalonminer import C...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/avalonminer_tests/__init__.py
tests/miners_tests/backends_tests/avalonminer_tests/__init__.py
from .version_24102401_25462b2_9ddf522 import TestAvalonMiners
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/hammer_tests/version_2023_05_28.py
tests/miners_tests/backends_tests/hammer_tests/version_2023_05_28.py
"""Tests for hammer miners with firmware dating 2023-05-28 17-20-35 CST""" import unittest from dataclasses import fields from unittest.mock import patch from pyasic import APIError, MinerData from pyasic.data import Fan, HashBoard from pyasic.device.algorithm.hashrate.unit.scrypt import ScryptUnit from pyasic.miners...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/hammer_tests/__init__.py
tests/miners_tests/backends_tests/hammer_tests/__init__.py
from .version_2023_05_28 import TestHammerMiners
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/mskminer_tests/version_2_6_0_39.py
tests/miners_tests/backends_tests/mskminer_tests/version_2_6_0_39.py
"""Tests for MSK miner firmware version 2.6.0.39""" import unittest from dataclasses import fields from unittest.mock import patch from pyasic import APIError, MinerData from pyasic.data import Fan, HashBoard from pyasic.device.algorithm import SHA256Unit from pyasic.miners.antminer import MSKMinerS19NoPIC POOLS = [...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/mskminer_tests/__init__.py
tests/miners_tests/backends_tests/mskminer_tests/__init__.py
from .version_2_6_0_39 import TestMSKMiners
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/elphapex_tests/__init__.py
tests/miners_tests/backends_tests/elphapex_tests/__init__.py
from .version_1_0_2 import TestElphapexMiners
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/miners_tests/backends_tests/elphapex_tests/version_1_0_2.py
tests/miners_tests/backends_tests/elphapex_tests/version_1_0_2.py
"""Tests for hammer miners with firmware dating 2023-05-28 17-20-35 CST""" import unittest from dataclasses import fields from unittest.mock import patch from pyasic import APIError, MinerData from pyasic.data import Fan, HashBoard from pyasic.device.algorithm.hashrate.unit.scrypt import ScryptUnit from pyasic.miners...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/config_tests/fans.py
tests/config_tests/fans.py
import unittest from pyasic.config import FanModeConfig class TestFanConfig(unittest.TestCase): def test_serialize_and_deserialize(self): for fan_mode in FanModeConfig: with self.subTest( msg="Test serialization and deserialization of fan config", fan_mode=fan_...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/config_tests/__init__.py
tests/config_tests/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/rpc_tests/__init__.py
tests/rpc_tests/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/network_tests/__init__.py
tests/network_tests/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/local_tests/test_avalon_local.py
tests/local_tests/test_avalon_local.py
import argparse import os import sys import unittest from pyasic.miners.base import BaseMiner from pyasic.miners.data import DataOptions from pyasic.miners.factory import MinerFactory class TestAvalonLocal(unittest.IsolatedAsyncioTestCase): ip: str | None = None password: str | None = None miner: BaseMin...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/tests/local_tests/test_bitaxe_local.py
tests/local_tests/test_bitaxe_local.py
import argparse import os import sys import unittest from typing import Any from pyasic.miners.base import BaseMiner from pyasic.miners.data import DataOptions from pyasic.miners.factory import MinerFactory from pyasic.web.espminer import ESPMinerWebAPI class TestBitAxeLocal(unittest.IsolatedAsyncioTestCase): ip...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/__init__.py
pyasic/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/misc/__init__.py
pyasic/misc/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/makes.py
pyasic/device/makes.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/firmware.py
pyasic/device/firmware.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/models.py
pyasic/device/models.py
from enum import Enum class MinerModelType(str, Enum): pass class AntminerModels(MinerModelType): D3 = "D3" HS3 = "HS3" L3Plus = "L3+" KA3 = "KA3" KS3 = "KS3" DR5 = "DR5" KS5 = "KS5" KS5Pro = "KS5Pro" L7 = "L7" K7 = "K7" D7 = "D7" E9Pro = "E9Pro" S9 = "S9" ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/__init__.py
pyasic/device/__init__.py
from .algorithm import MinerAlgo from .firmware import MinerFirmware from .makes import MinerMake from .models import MinerModel
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/ethash.py
pyasic/device/algorithm/ethash.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import EtHashHashRate from .hashrate.unit import EtHashUnit class EtHashAlgo(MinerAlgoType): hashrate: type[EtHashHashRate] = EtHashHashRate unit: type[EtHashUnit] = EtHashUnit name = "EtHash"
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/blake256.py
pyasic/device/algorithm/blake256.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import Blake256HashRate from .hashrate.unit import Blake256Unit # make this json serializable class Blake256Algo(MinerAlgoType): hashrate: type[Blake256HashRate] = Blake256HashRate unit: type[Blake256Unit] = Blake256Unit n...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/kadena.py
pyasic/device/algorithm/kadena.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import KadenaHashRate from .hashrate.unit import KadenaUnit # make this json serializable class KadenaAlgo(MinerAlgoType): hashrate: type[KadenaHashRate] = KadenaHashRate unit: type[KadenaUnit] = KadenaUnit name = "Kadena"...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/handshake.py
pyasic/device/algorithm/handshake.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import HandshakeHashRate from .hashrate.unit import HandshakeUnit # make this json serializable class HandshakeAlgo(MinerAlgoType): hashrate: type[HandshakeHashRate] = HandshakeHashRate unit: type[HandshakeUnit] = HandshakeUnit...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/equihash.py
pyasic/device/algorithm/equihash.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import EquihashHashRate from .hashrate.unit import EquihashUnit # make this json serializable class EquihashAlgo(MinerAlgoType): hashrate: type[EquihashHashRate] = EquihashHashRate unit: type[EquihashUnit] = EquihashUnit n...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/zksnark.py
pyasic/device/algorithm/zksnark.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import ZkSnarkHashRate from .hashrate.unit import ZkSnarkUnit class ZkSnarkAlgo(MinerAlgoType): hashrate: type[ZkSnarkHashRate] = ZkSnarkHashRate unit: type[ZkSnarkUnit] = ZkSnarkUnit name = "zkSNARK"
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/eaglesong.py
pyasic/device/algorithm/eaglesong.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import EaglesongHashRate from .hashrate.unit import EaglesongUnit # make this json serializable class EaglesongAlgo(MinerAlgoType): hashrate: type[EaglesongHashRate] = EaglesongHashRate unit: type[EaglesongUnit] = EaglesongUnit...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/x11.py
pyasic/device/algorithm/x11.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import X11HashRate from .hashrate.unit import X11Unit # make this json serializable class X11Algo(MinerAlgoType): hashrate: type[X11HashRate] = X11HashRate unit: type[X11Unit] = X11Unit name = "X11"
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/kheavyhash.py
pyasic/device/algorithm/kheavyhash.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import KHeavyHashHashRate from .hashrate.unit import KHeavyHashUnit # make this json serializable class KHeavyHashAlgo(MinerAlgoType): hashrate: type[KHeavyHashHashRate] = KHeavyHashHashRate unit: type[KHeavyHashUnit] = KHeavyH...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/__init__.py
pyasic/device/algorithm/__init__.py
from .base import MinerAlgoType from .blake256 import Blake256Algo from .blockflow import BlockFlowAlgo from .eaglesong import EaglesongAlgo from .equihash import EquihashAlgo from .ethash import EtHashAlgo from .handshake import HandshakeAlgo from .hashrate import * from .hashrate.unit import * from .kadena import Kad...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/base.py
pyasic/device/algorithm/base.py
from __future__ import annotations from .hashrate.base import AlgoHashRateType, GenericHashrate from .hashrate.unit.base import AlgoHashRateUnitType, GenericUnit class MinerAlgoMeta(type): name: str def __str__(cls): return cls.name class MinerAlgoType(metaclass=MinerAlgoMeta): hashrate: type[...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/sha256.py
pyasic/device/algorithm/sha256.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import SHA256HashRate from .hashrate.unit import SHA256Unit # make this json serializable class SHA256Algo(MinerAlgoType): hashrate: type[SHA256HashRate] = SHA256HashRate unit: type[SHA256Unit] = SHA256Unit name = "SHA256"...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/blockflow.py
pyasic/device/algorithm/blockflow.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import BlockFlowHashRate from .hashrate.unit import BlockFlowUnit class BlockFlowAlgo(MinerAlgoType): hashrate: type[BlockFlowHashRate] = BlockFlowHashRate unit: type[BlockFlowUnit] = BlockFlowUnit name = "BlockFlow"
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/scrypt.py
pyasic/device/algorithm/scrypt.py
from __future__ import annotations from .base import MinerAlgoType from .hashrate import ScryptHashRate from .hashrate.unit import ScryptUnit class ScryptAlgo(MinerAlgoType): hashrate: type[ScryptHashRate] = ScryptHashRate unit: type[ScryptUnit] = ScryptUnit name = "Scrypt"
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/ethash.py
pyasic/device/algorithm/hashrate/ethash.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.ethash import EtHashUnit from .unit import HashUnit class EtHashHashRate(AlgoHashRateType[EtHashUnit]): rate: float unit: EtHas...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/blake256.py
pyasic/device/algorithm/hashrate/blake256.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.blake256 import Blake256Unit from .unit import HashUnit class Blake256HashRate(AlgoHashRateType[Blake256Unit]): rate: float uni...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/kadena.py
pyasic/device/algorithm/hashrate/kadena.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.kadena import KadenaUnit from .unit import HashUnit class KadenaHashRate(AlgoHashRateType[KadenaUnit]): rate: float unit: Kaden...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/handshake.py
pyasic/device/algorithm/hashrate/handshake.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.handshake import HandshakeUnit from .unit import HashUnit class HandshakeHashRate(AlgoHashRateType[HandshakeUnit]): rate: float ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/equihash.py
pyasic/device/algorithm/hashrate/equihash.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.equihash import EquihashUnit from .unit import HashUnit class EquihashHashRate(AlgoHashRateType[EquihashUnit]): rate: float uni...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/zksnark.py
pyasic/device/algorithm/hashrate/zksnark.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.zksnark import ZkSnarkUnit from .unit import HashUnit class ZkSnarkHashRate(AlgoHashRateType[ZkSnarkUnit]): rate: float unit: Z...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/eaglesong.py
pyasic/device/algorithm/hashrate/eaglesong.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.eaglesong import EaglesongUnit from .unit import HashUnit class EaglesongHashRate(AlgoHashRateType[EaglesongUnit]): rate: float ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/x11.py
pyasic/device/algorithm/hashrate/x11.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.x11 import X11Unit from .unit import HashUnit class X11HashRate(AlgoHashRateType[X11Unit]): rate: float unit: X11Unit = HashUni...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/kheavyhash.py
pyasic/device/algorithm/hashrate/kheavyhash.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.kheavyhash import KHeavyHashUnit from .unit import HashUnit class KHeavyHashHashRate(AlgoHashRateType[KHeavyHashUnit]): rate: float...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/__init__.py
pyasic/device/algorithm/hashrate/__init__.py
from .base import AlgoHashRateType from .blake256 import Blake256HashRate from .blockflow import BlockFlowHashRate from .eaglesong import EaglesongHashRate from .equihash import EquihashHashRate from .ethash import EtHashHashRate from .handshake import HandshakeHashRate from .kadena import KadenaHashRate from .kheavyha...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/base.py
pyasic/device/algorithm/hashrate/base.py
from __future__ import annotations from abc import ABC, abstractmethod from typing import Generic, TypeVar from pydantic import BaseModel, field_serializer from typing_extensions import Self from .unit.base import AlgoHashRateUnitType, GenericUnit UnitType = TypeVar("UnitType", bound=AlgoHashRateUnitType) class A...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/sha256.py
pyasic/device/algorithm/hashrate/sha256.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.sha256 import SHA256Unit from .unit import HashUnit class SHA256HashRate(AlgoHashRateType[SHA256Unit]): rate: float unit: SHA25...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/blockflow.py
pyasic/device/algorithm/hashrate/blockflow.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.blockflow import BlockFlowUnit from .unit import HashUnit class BlockFlowHashRate(AlgoHashRateType[BlockFlowUnit]): rate: float ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/scrypt.py
pyasic/device/algorithm/hashrate/scrypt.py
from __future__ import annotations from typing_extensions import Self from pyasic.device.algorithm.hashrate.base import AlgoHashRateType from pyasic.device.algorithm.hashrate.unit.scrypt import ScryptUnit from .unit import HashUnit class ScryptHashRate(AlgoHashRateType[ScryptUnit]): rate: float unit: Scryp...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/ethash.py
pyasic/device/algorithm/hashrate/unit/ethash.py
from __future__ import annotations from .base import AlgoHashRateUnitType class EtHashUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = MH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/blake256.py
pyasic/device/algorithm/hashrate/unit/blake256.py
from __future__ import annotations from .base import AlgoHashRateUnitType class Blake256Unit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = TH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/kadena.py
pyasic/device/algorithm/hashrate/unit/kadena.py
from __future__ import annotations from .base import AlgoHashRateUnitType class KadenaUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = TH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/handshake.py
pyasic/device/algorithm/hashrate/unit/handshake.py
from __future__ import annotations from .base import AlgoHashRateUnitType class HandshakeUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = TH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/equihash.py
pyasic/device/algorithm/hashrate/unit/equihash.py
from __future__ import annotations from .base import AlgoHashRateUnitType class EquihashUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = KH d...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/zksnark.py
pyasic/device/algorithm/hashrate/unit/zksnark.py
from __future__ import annotations from .base import AlgoHashRateUnitType class ZkSnarkUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = GH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/eaglesong.py
pyasic/device/algorithm/hashrate/unit/eaglesong.py
from __future__ import annotations from .base import AlgoHashRateUnitType class EaglesongUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = TH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/x11.py
pyasic/device/algorithm/hashrate/unit/x11.py
from __future__ import annotations from .base import AlgoHashRateUnitType class X11Unit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = GH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/kheavyhash.py
pyasic/device/algorithm/hashrate/unit/kheavyhash.py
from __future__ import annotations from .base import AlgoHashRateUnitType class KHeavyHashUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = TH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/__init__.py
pyasic/device/algorithm/hashrate/unit/__init__.py
from .blake256 import Blake256Unit from .blockflow import BlockFlowUnit from .eaglesong import EaglesongUnit from .equihash import EquihashUnit from .ethash import EtHashUnit from .handshake import HandshakeUnit from .kadena import KadenaUnit from .kheavyhash import KHeavyHashUnit from .scrypt import ScryptUnit from .s...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/base.py
pyasic/device/algorithm/hashrate/unit/base.py
from enum import IntEnum class AlgoHashRateUnitType(IntEnum): def __str__(self): if hasattr(self.__class__, "H") and self.value == self.__class__.H: return "H/s" if hasattr(self.__class__, "KH") and self.value == self.__class__.KH: return "KH/s" if hasattr(self.__cl...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/sha256.py
pyasic/device/algorithm/hashrate/unit/sha256.py
from __future__ import annotations from .base import AlgoHashRateUnitType class SHA256Unit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = TH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/blockflow.py
pyasic/device/algorithm/hashrate/unit/blockflow.py
from __future__ import annotations from .base import AlgoHashRateUnitType class BlockFlowUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = MH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/device/algorithm/hashrate/unit/scrypt.py
pyasic/device/algorithm/hashrate/unit/scrypt.py
from __future__ import annotations from .base import AlgoHashRateUnitType class ScryptUnit(AlgoHashRateUnitType): H = 1 KH = int(H) * 1000 MH = int(KH) * 1000 GH = int(MH) * 1000 TH = int(GH) * 1000 PH = int(TH) * 1000 EH = int(PH) * 1000 ZH = int(EH) * 1000 default = GH
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/logger/__init__.py
pyasic/logger/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/errors/__init__.py
pyasic/errors/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/settings/__init__.py
pyasic/settings/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/btminer.py
pyasic/rpc/btminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
true
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/ccminer.py
pyasic/rpc/ccminer.py
# ------------------------------------------------------------------------------ # Copyright 2024 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/bmminer.py
pyasic/rpc/bmminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/bfgminer.py
pyasic/rpc/bfgminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/bosminer.py
pyasic/rpc/bosminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/cgminer.py
pyasic/rpc/cgminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/avalonminer.py
pyasic/rpc/avalonminer.py
# ------------------------------------------------------------------------------ # Copyright 2025 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/unknown.py
pyasic/rpc/unknown.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/__init__.py
pyasic/rpc/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/base.py
pyasic/rpc/base.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/marathon.py
pyasic/rpc/marathon.py
from pyasic.rpc.base import BaseMinerRPCAPI class MaraRPCAPI(BaseMinerRPCAPI): """An abstraction of the MaraFW API. Each method corresponds to an API command in MaraFW. No documentation for this API is currently publicly available. Additionally, every command not included here just returns the resu...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/antminer.py
pyasic/rpc/antminer.py
from pyasic.rpc.bmminer import BMMinerRPCAPI class AntminerRPCAPI(BMMinerRPCAPI): async def stats(self, new_api: bool = False) -> dict: if new_api: return await self.send_command("stats", new_api=True) return await super().stats() async def rate(self): return await self.se...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/luxminer.py
pyasic/rpc/luxminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/rpc/gcminer.py
pyasic/rpc/gcminer.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/factory.py
pyasic/miners/factory.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
true
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/__init__.py
pyasic/miners/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/base.py
pyasic/miners/base.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/listener.py
pyasic/miners/listener.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/data.py
pyasic/miners/data.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/hammer/__init__.py
pyasic/miners/hammer/__init__.py
from .blackminer import *
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/hammer/blackminer/__init__.py
pyasic/miners/hammer/blackminer/__init__.py
from .DX import *
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/hammer/blackminer/DX/D10.py
pyasic/miners/hammer/blackminer/DX/D10.py
from pyasic.device.algorithm.hashrate.unit.scrypt import ScryptUnit from pyasic.device.algorithm.scrypt import ScryptHashRate from pyasic.miners.backends import BlackMiner from pyasic.miners.device.models import D10 class HammerD10(BlackMiner, D10): sticker_hashrate = ScryptHashRate(rate=5.0, unit=ScryptUnit.GH)
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/hammer/blackminer/DX/__init__.py
pyasic/miners/hammer/blackminer/DX/__init__.py
from .D10 import HammerD10
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/makes.py
pyasic/miners/device/makes.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/firmware.py
pyasic/miners/device/firmware.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/__init__.py
pyasic/miners/device/__init__.py
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/models/__init__.py
pyasic/miners/device/models/__init__.py
# ------------------------------------------------------------------------------ # Copyright 2022 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/models/hammer/__init__.py
pyasic/miners/device/models/hammer/__init__.py
from .DX import *
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/models/hammer/DX/D10.py
pyasic/miners/device/models/hammer/DX/D10.py
# ------------------------------------------------------------------------------ # Copyright 2024 Upstream Data Inc - # - # Licensed under the Apache License, Version 2.0 (the "License"); ...
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false
UpstreamData/pyasic
https://github.com/UpstreamData/pyasic/blob/820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3/pyasic/miners/device/models/hammer/DX/__init__.py
pyasic/miners/device/models/hammer/DX/__init__.py
from .D10 import D10
python
Apache-2.0
820d2aafdaa6bf2b046f94c017bf7ea58b7c50f3
2026-01-05T07:14:50.237218Z
false