Python Dogecoin
This is a fork of a dogecoin-python library focused on a Python 3 support only. Note that you are looking for python-dogecoin version on PyPI instead of original dogecoin-python.
This package allows performing commands such as listing the current balance and sending coins to the Satoshi (original) client from Python. The communication with the client happens over JSON-RPC.
📖 Documentation for the library can be found here.
🍋 This project uses podmena library to add fancy icons to commit messages.
Installation
pip install python-dogecoin
Usage
Connect to the blockchain daemon locally and make a simple request
"""
Checks whether address provided is a valid Dogecoin wallet
"""
import dogecoinrpc
client = dogecoinrpc.connect_to_local()
address = 'D6cobCBMtRoJNw8kxAWJ8GtRbbaxSAB37u'
result = conn.validateaddress(address)
print(result)
For other examples and code snippets check documentation.
Development
Poetry is used to manage virtual environment and project's dependencies as well as building the final package.
poetry install --all-extras
Formatting your code after adding changes
make format
Testing
To launch basic set of unittests
make tests
# or the same underlying command
poetry run pytest -sv tests/
To launch integration tests you need Dogecoin server to be up and running and configured to use testnet.
poetry run pytest -sv tests/ --run-integration
Much donations
If you love Dogecoin and want to support the project you can send coins to this MyDoge wallet
DAMheXnR5sw9c8UEJ2LB6twnXNrZwv14c8
🐕 🚀 🌕
Metadata
Release files for python-dogecoin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python_dogecoin-0.2.0.tar.gz | 15.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_dogecoin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.6 kB
Release files / python_dogecoin-0.2.0.tar.gz
| Download URL | python_dogecoin-0.2.0.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c5a7726bb8887be91e61c9a7b9d9cfa06257f6b48e9dff2b400456ec6c47621
|
|
BLAKE2b-256 checksum How to use checksums |
740eefd5cc7b29b111eebfa8a3adcffc010c236878842f611c7d24e74afa3b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.2 Darwin/24.5.0
|
Release files / python_dogecoin-0.2.0-py3-none-any.whl
| Download URL | python_dogecoin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee39c975583534448fc26f1115b969f7fe6937ad403f89c522202baf3dae789a
|
|
BLAKE2b-256 checksum How to use checksums |
e41816f802c545b9f71a4903e3de651a4b3a958395983af3c037aeac84ca640f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.2 Darwin/24.5.0
|
Security for python-dogecoin 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.