# madz-py
madzpy is a rpc and api wrapper.
First, install it:
```
pip3 install madzpy
```
All commands interfacing with the node need to use an Instance of `madz()`
To create a new instance, run:
```
import madzpy
madz = madzpy.madz()
```
Here are some commands you can use:
```
# Private key From To Amount
print(madz.transaction("XXXXXXXXXXXXXXXXXXXXXX", "0x4ba...b313", "0xbd...164", 1))
# returns False
# Address
print(madz.balance("0x4ba...b313"))
# Address
print(madz.is_address("0x4ba...b313"))
```
Better docs soon!
If you face any issues, file a issue on Github.
If you want to support the developer, send, Madz, BNB, MATIC or ETH to the following address:
```0xAFDfedC5311218B636EEbe3837C489c3BeAcFfB4```
This code is released under MIT License.
Raw data
{
"_id": null,
"home_page": "https://github.com/MadzCoin/madz-py/",
"name": "madzpy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Madzcoin,Crypto,RPC",
"author": "Bastel Pichi",
"author_email": "madzcoin@pichisdns.com",
"download_url": "https://files.pythonhosted.org/packages/e8/13/54fbb925960920fab2d85bcc6ff19cbf6fa7d26d2d99e0c5b23bfb99b11d/madzpy-0.7.tar.gz",
"platform": null,
"description": "# madz-py\nmadzpy is a rpc and api wrapper.\n\nFirst, install it:\n```\npip3 install madzpy\n```\n\nAll commands interfacing with the node need to use an Instance of `madz()`\n\nTo create a new instance, run:\n```\nimport madzpy\n\nmadz = madzpy.madz()\n```\nHere are some commands you can use:\n```\n# Private key From To Amount\nprint(madz.transaction(\"XXXXXXXXXXXXXXXXXXXXXX\", \"0x4ba...b313\", \"0xbd...164\", 1))\n# returns False \n\n# Address\nprint(madz.balance(\"0x4ba...b313\"))\n\n# Address\nprint(madz.is_address(\"0x4ba...b313\"))\n\n```\n\nBetter docs soon!\n\nIf you face any issues, file a issue on Github.\n\nIf you want to support the developer, send, Madz, BNB, MATIC or ETH to the following address:\n```0xAFDfedC5311218B636EEbe3837C489c3BeAcFfB4```\n\nThis code is released under MIT License.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Madzcoin RPC Client",
"version": "0.7",
"split_keywords": [
"madzcoin",
"crypto",
"rpc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "38e023ea25f9ba67c0f44562af912e745915b7153fcf4f43ff99ce5d19afaad9",
"md5": "e7df8533e598aa0285196c4e6b7a1b5d",
"sha256": "afefbbaafc637990d648d593106dd8cab6d252929b5a0872afa92b6e175ebf5d"
},
"downloads": -1,
"filename": "madzpy-0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e7df8533e598aa0285196c4e6b7a1b5d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4721,
"upload_time": "2023-02-05T12:52:13",
"upload_time_iso_8601": "2023-02-05T12:52:13.747650Z",
"url": "https://files.pythonhosted.org/packages/38/e0/23ea25f9ba67c0f44562af912e745915b7153fcf4f43ff99ce5d19afaad9/madzpy-0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e81354fbb925960920fab2d85bcc6ff19cbf6fa7d26d2d99e0c5b23bfb99b11d",
"md5": "086b7e25b5cbc214000f6742ada6ad85",
"sha256": "9e3221ec4170eb7835553c675bbe00b31228be806f57c06be4abf8aa81a66722"
},
"downloads": -1,
"filename": "madzpy-0.7.tar.gz",
"has_sig": false,
"md5_digest": "086b7e25b5cbc214000f6742ada6ad85",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4139,
"upload_time": "2023-02-05T12:52:15",
"upload_time_iso_8601": "2023-02-05T12:52:15.272422Z",
"url": "https://files.pythonhosted.org/packages/e8/13/54fbb925960920fab2d85bcc6ff19cbf6fa7d26d2d99e0c5b23bfb99b11d/madzpy-0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-05 12:52:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "MadzCoin",
"github_project": "madz-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "madzpy"
}