Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

        def is_valid_btc_address(value):
    value = value.strip()
    if re.match(r"[a-zA-Z1-9]{27,35}$", value) is None:
        return False
    version = get_bcaddress_version(value)
    if version is None:
        return False
    return True
        


src/h/i/HitStarter-HEAD/hitstarter/hitstarter/apps/django_bitcoin/models.py   HitStarter(Download)
import jsonrpc
 
from BCAddressField import is_valid_btc_address
 
from django.db import transaction as db_transaction
        amount = amount.quantize(Decimal('0.00000001'))
 
        if not is_valid_btc_address(str(address)):
            raise Exception(_("Not a valid bitcoin address") + ":" + address)
        if amount <= 0:

src/d/j/django-bitcoin-HEAD/django_bitcoin/models.py   django-bitcoin(Download)
import jsonrpc
 
from BCAddressField import is_valid_btc_address
 
from django.db import transaction as db_transaction
        amount = amount.quantize(Decimal('0.00000001'))
 
        if not is_valid_btc_address(str(address)):
            raise Exception(_("Not a valid bitcoin address") + ":" + address)
        if amount <= 0:

src/d/j/django-bitcoin-0.2/django_bitcoin/models.py   django-bitcoin(Download)
import jsonrpc
 
from BCAddressField import is_valid_btc_address
 
from django.db import transaction as db_transaction
        amount = amount.quantize(Decimal('0.00000001'))
 
        if not is_valid_btc_address(str(address)):
            raise Exception(_("Not a valid bitcoin address") + ":" + address)
        if amount <= 0:

src/d/j/django-bitcoin-HEAD/django_bitcoin/tasks.py   django-bitcoin(Download)
import jsonrpc
 
from BCAddressField import is_valid_btc_address
 
from django.db import transaction as db_transaction