btcrs
Needed to use some existing bitcoin-rust stuff from python.
For now, just wraps address validation and generation. Will add more as needed.
>>> import btcrs
>>> btcrs.address.is_valid("hello")
False
>>> btcrs.address.is_valid("bc1pzwu7ucw9ra9pdcu6h522zcaunz95csa6fl80uq4mun2g27r8zfcqkvnm6w")
True
>>> some_address = btcrs.address.random()
>>> some_address
'bc1py0sspskhml0t5v6w09pz08wuzyv2fh8q66s0g9vgxdn9qdjdzyfqmj8hvd'
>>> btcrs.address.is_valid(some_address)
True
>>> btcrs.address.is_valid(some_address, is_testnet=True)
False
Metadata
Release files for btcrs 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| btcrs-0.0.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| btcrs-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 1.4 MB
Release files / btcrs-0.0.1.tar.gz
| Download URL | btcrs-0.0.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ac31478c6b0db5ebefa1fbeda86afc303ebaad2dff33e302775b035b8637030
|
|
BLAKE2b-256 checksum How to use checksums |
eebf9fa07dc874b110ed3bbfe8e55bcda438a645fd12f9ac48987a13e1c3c672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.13
|
Release files / btcrs-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | btcrs-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
c7b5df5ab09a08dfc601c35e9a6010fd7011fd307579fdaabae3a83a5834dfb8
|
|
BLAKE2b-256 checksum How to use checksums |
e9d6954df3abfadb0f6f5e1e963c222246a8d7603ec40251a77341f5e76839aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.13
|