{ "info": { "author": "Peerchemist", "author_email": "peerchemist@protonmail.ch", "bugtrack_url": null, "classifiers": [], "description": "# pacli\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![PyPI](https://img.shields.io/pypi/v/pacli.svg?style=flat-square)](https://pypi.python.org/pypi/pacli/)\n[![](https://img.shields.io/badge/python-3.5+-blue.svg)](https://www.python.org/download/releases/3.5.0/) \n\n\nThis simple PeerAssets client is implemented using the [pypeerassets](https://github.com/PeerAssets/pypeerassets) Python library.\nThis command line program is useful as companion utility during PeerAssets development and testing. It is built for console usage via intuitive and easy to learn set of commands.\nIt stores the privkey in OS's native keystore, which is automatically unlocked upon logging into active user session.\nIt handles only one key for now, until HD key support is implemented.\n\n## Installation\n\n### Gnu/Linux\n\n*pacli is meant for desktop environment (Gnome/KDE), if you want to run it headless see this: https://github.com/jaraco/keyring#using-keyring-on-headless-linux-systems*\n\n`python3 setup.py install --user`\n\nTo access it from the command line, place the following in $HOME/.bashrc:\n\n`export PATH=$PATH:$HOME/.local/bin`\n\n`source ~/.bashrc`\n\nMain config file is located in `$HOME/.config/pacli`.\n\n### Windows\n\nPython 3.5 or greater is needed. Refer to this [guide](https://matthewhorne.me/how-to-install-python-and-pip-on-windows-10/) for step by step introduction.\n\n`python -m pip install pacli`\n\nNext you can add `pacli` to environment to have it accessible as a CLI command.\n\nMain config file is located in `C:\\Users\\USERNAME\\AppData\\Local/pacli`.\n\n__________________________________________________\n\n## examples:\n\n> pacli -- --help\n\nshow all commands\n\n> pacli config default\n\nrevert the settings to default\n\n> pacli config set $OPTION\n\nfor example:\n\n`pacli config set network ppc`\n\nset the network to \"ppc\" (Peercoin).\n\n> pacli address show [--privkey, --pubkey, --wif]\n\nshow current address, or it's privkey, pubkey or wif\n\n> pacli address balance\n\nshow balance of the current address\n\n[![asciicast](https://asciinema.org/a/J1NLGEgdRcSE7ppLp48Lu2bD7.png)](https://asciinema.org/a/J1NLGEgdRcSE7ppLp48Lu2bD7)\n\n> pacli address derive STRING\n\nderive a new address from STRING, useful for P2TH experimentations\n\n> pacli deck search $KEY\n\nsearch for deck by key, can be deck_id, name, issuer, issue_mode or else\n\n> pacli deck info $DECK_ID\n\nshow full deck details\n\n> pacli deck list all\n\nlist all decks on the network\n\n[![asciicast](https://asciinema.org/a/tIHxrZIGIvEalC1PzkyenikUh.png)](https://asciinema.org/a/tIHxrZIGIvEalC1PzkyenikUh)\n\n> pacli deck my\n\nshow decks issued by the address I control\n\n> pacli deck spawn --name \"My own asset\" --number_of_decimals 1 issue_mode 4\n\nissue a new asset named \"My own asset\", it will return a hexlified raw transaction.\n\n[![asciicast](https://asciinema.org/a/l4MAPXBbXc5ufn5UdS2r0QEHj.png)](https://asciinema.org/a/l4MAPXBbXc5ufn5UdS2r0QEHj)\n\n> pacli deck decode $HEX\n\ndecode protobuf message and display it as json, usable when debbuging decks\n\n> pacli deck encode --name \"My own asset\" --number_of_decimals 1 issue_mode 4\n\nencode the deck information into hex to be inserted in OP_RETURN, usable when creating decks using something like cointoolkit\n\n> pacli deck spawn --name \"My own asset\" --number_of_decimals 1 issue_mode 4 --verify\n\n--verify flag presents a link to external tool `cointoolkit` which can be used to preview or debug the deck spawn transaction.\n\n> pacli deck issue_mode --list\n\nlist all supported issue modes and their values\n\n> pacli card list *deck_id*\n\nlist all card transfers related to this deck\n\n> pacli card balance *deck_id*\n\nshow balances of addresses on this deck\n\n> pacli deck --checksum *deck_id*\n\nverify deck checksum, checksum is difference between issued cards and balances of all the addresses.\nIf it is not zero, something is wrong with deck balances. This function will return True if all is fine.\n\n> pacli deck --issue-mode-combo 1,4,8\n\ncalculate issue mode combo, returns integer\n\n> pacli card new --deckid $DECKID --receiver [address, address2] --amount [200]\n\nfabricate a new CardTransfer object.\n\n> pacli card transfer --deckid 078f41c257642a89ade91e52fd484c141b11eda068435c0e34569a5dfcce7915 --receiver [n12h8P5LrVXozfhEQEqg8SFUmVKtphBetj] --amount [200] --verify\n\nfarbricate a new CardTransfer, and link to external tool `cointoolkit` to verify the transaction.\n\n> pacli card encode --deckid 078f41c257642a89ade91e52fd484c141b11eda068435c0e34569a5dfcce7915 --receiver [n12h8P5LrVXozfhEQEqg8SFUmVKtphBetj] --amount [200]\n\nencode the deck information into hex to be inserted in OP_RETURN, usable when creating decks using something like cointoolkit\n\n> pacli card decode $HEX\n\ndecode protobuf message and display it as json, usable when debbuging cards\n\n> pacli card burn --deckid 078f41c257642a89ade91e52fd484c141b11eda068435c0e34569a5dfcce7915 --receiver [$DECK_ISSUE_ADDRESS] --amount [11] --verify\n\nburn 11 of card on this deck.\n\n> pacli card issue --deckid 078f41c257642a89ade91e52fd484c141b11eda068435c0e34569a5dfcce7915 --receiver [n29g3XjvxqWLKgEkyg4Z1BmgrJLccqiH3x] --amount [110] --verify\n\nissue 110 cards to n29g3XjvxqWLKgEkyg4Z1BmgrJLccqiH3x.\n\n> pacli card export *filename*\n\nexport the card transactions to .csv file\n\n> pacli card parse --deckid 98694bb54fafe315051d2a8f1f5ea4c0050947741ced184a5f33bf4a0081a0bb --cardid e04fb602bd9d9c33d1d1af8bb680108057c2ae37ea987cc15295cc6fc4fd8d97\n\ndecode and display a single card.\n\n## bash completion (on *nix platforms)\n\nCreate file `.bash_completion` with content:\n\n```\nfor bcfile in ~/.bash_completion.d/* ; do\n . $bcfile\ndone\n```\n\nCreate directory: `mkdir ~/.bash_completion.d`\n\nExport completion file:\n\n`pacli -- --completion >> .bash_completion.d/pacli`\n\nActivate:\n\n`. ~/.bash_completion`\n\nTab away.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/peerassets/pacli", "keywords": "peerassets,blockchain,assets,client", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "pacli", "package_url": "https://pypi.org/project/pacli/", "platform": "", "project_url": "https://pypi.org/project/pacli/", "project_urls": { "Homepage": "https://github.com/peerassets/pacli" }, "release_url": "https://pypi.org/project/pacli/0.4.7.2/", "requires_dist": null, "requires_python": "", "summary": "Simple CLI PeerAssets client.", "version": "0.4.7.2" }, "last_serial": 4406085, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "b1814aa4c27a5c6de6759297aecc104a", "sha256": "8b6d081f8c436008898a36e4c246fcf332b7d1d629063cc2f56869492d8474cb" }, "downloads": -1, "filename": "pacli-0.2.tar.gz", "has_sig": false, "md5_digest": "b1814aa4c27a5c6de6759297aecc104a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3978, "upload_time": "2017-02-16T17:09:15", "url": "https://files.pythonhosted.org/packages/ef/e5/4adf32b676f94496fe20d1664af074e9407f3c9ae816321e88eb1d78c739/pacli-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "19dc7498c9a43d831c02cb156e2de15e", "sha256": "685a27c7214bc5651db3386eb7f63cfdc81a297c5be4da3ab5ea7b3cc08cb049" }, "downloads": -1, "filename": "pacli-0.2.1.tar.gz", "has_sig": false, "md5_digest": "19dc7498c9a43d831c02cb156e2de15e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3987, "upload_time": "2017-02-17T16:15:20", "url": "https://files.pythonhosted.org/packages/71/28/4749dc488d07a0ed2e723e77de25f7dd312aa0f3043a18654e99c15b20a4/pacli-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "d863b787f2b4f56489ba444c06e1f8fe", "sha256": "8df2b2bbc03f30f99317729d2cbecc250cbba451fe0a2bdadbfd41bb480d0ada" }, "downloads": -1, "filename": "pacli-0.2.2.tar.gz", "has_sig": false, "md5_digest": "d863b787f2b4f56489ba444c06e1f8fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3989, "upload_time": "2017-02-18T16:36:54", "url": "https://files.pythonhosted.org/packages/30/e6/5ba7fec4cd6355a7f9bbb435f0f6fdd633ce4da62ccf0b4ee13849946bb3/pacli-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "d94c9e4a16564101abbd66b47381c7f1", "sha256": "1a5612d7411717344b1bc2ae312a0f135d3264494c67cd83002998b1234c1d8d" }, "downloads": -1, "filename": "pacli-0.2.3.tar.gz", "has_sig": false, "md5_digest": "d94c9e4a16564101abbd66b47381c7f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5993, "upload_time": "2017-03-11T07:52:30", "url": "https://files.pythonhosted.org/packages/fc/60/a31a7a70914e569a627dd78f30832d4366123898e5de3339654202d891d8/pacli-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "23653a24c88131165eb1749e5cbe4566", "sha256": "c7d69f99f18387c1ce73ab3064d11c81459c524d26adc52b4b40c0690636b4fa" }, "downloads": -1, "filename": "pacli-0.2.4.tar.gz", "has_sig": false, "md5_digest": "23653a24c88131165eb1749e5cbe4566", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6042, "upload_time": "2017-03-13T18:07:38", "url": "https://files.pythonhosted.org/packages/9c/22/22ee549d1e24b44cc05380c79cad56614bc350b96e8951086dc86e129af0/pacli-0.2.4.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "d896d4bc2ad54c45d58b2957d1ce8285", "sha256": "11d5cba22b54a5e7d25722baa8ec42250206e9dbe70467c66efd6292de4ba707" }, "downloads": -1, "filename": "pacli-0.4.0.tar.gz", "has_sig": false, "md5_digest": "d896d4bc2ad54c45d58b2957d1ce8285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7836, "upload_time": "2018-06-01T10:22:47", "url": "https://files.pythonhosted.org/packages/43/f8/7d13e2d0446863642c2098b7f246be7e99fa35a15d7f5b32a536b330411b/pacli-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "2839e6d0ca5d8f9be9e1af01c2c5b480", "sha256": "c9a129d3104cc9a85961225df0edcae0bd1b4dc82fb6ccf315ffa68c1f2944ab" }, "downloads": -1, "filename": "pacli-0.4.1.tar.gz", "has_sig": false, "md5_digest": "2839e6d0ca5d8f9be9e1af01c2c5b480", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7842, "upload_time": "2018-06-03T08:17:52", "url": "https://files.pythonhosted.org/packages/17/67/3837711c0d7e03bbb4fed5dd38fd8941c0b298735d0fc3ebd236c23c574b/pacli-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "d4e5b6b1be16f7776e255ddc43e301c1", "sha256": "cf263f97b174c51c5e2230777b43cad53d9c6a7936ba6552e75c0c609e77b9f8" }, "downloads": -1, "filename": "pacli-0.4.2.tar.gz", "has_sig": false, "md5_digest": "d4e5b6b1be16f7776e255ddc43e301c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7890, "upload_time": "2018-07-04T20:41:44", "url": "https://files.pythonhosted.org/packages/9d/2c/c5a39bde75f1efe5552499d644f7ec0c25ae1cd829943342d0157ed94a4f/pacli-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "6e8bea76d0752d4a6c6b8a2565807cc9", "sha256": "e5dec92d6d196b130f804843d66a95b935487e6663908d0a1fbef2a59d0db727" }, "downloads": -1, "filename": "pacli-0.4.3.tar.gz", "has_sig": false, "md5_digest": "6e8bea76d0752d4a6c6b8a2565807cc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8091, "upload_time": "2018-07-19T10:10:09", "url": "https://files.pythonhosted.org/packages/94/56/0bdfcfa3342b1219f261a186e54149d8b1462c4b97fd66f43783ebad0734/pacli-0.4.3.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "48afbdd1b5bfaf47d141a006a3ce9621", "sha256": "c1b5f1349b5436769686a32546b0a58ac402601449a6b89d303f3084bf64dfdc" }, "downloads": -1, "filename": "pacli-0.4.4.tar.gz", "has_sig": false, "md5_digest": "48afbdd1b5bfaf47d141a006a3ce9621", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8847, "upload_time": "2018-08-04T11:53:04", "url": "https://files.pythonhosted.org/packages/7f/fc/efd679810eac2b17e88b7833e5e00bf27ec95822b2121fb8c563690a48f7/pacli-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "a7b2dcc575c57cbcf6f3e21b1b7373cc", "sha256": "4cb5635b82808d3528282af091c0fc81a585a531384ba54677c9951d03bcd2b8" }, "downloads": -1, "filename": "pacli-0.4.5.tar.gz", "has_sig": false, "md5_digest": "a7b2dcc575c57cbcf6f3e21b1b7373cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9476, "upload_time": "2018-08-29T15:27:57", "url": "https://files.pythonhosted.org/packages/84/78/0908e7882f6972b6145eef21c739c6e484dfc993522d5e4e658e78a59881/pacli-0.4.5.tar.gz" } ], "0.4.5.1": [ { "comment_text": "", "digests": { "md5": "afc2f63c763860acf50dff5414a6638f", "sha256": "cf87a770bb4448403c233d6b121398133eebd917caa6099436461cd47dd878ce" }, "downloads": -1, "filename": "pacli-0.4.5.1.tar.gz", "has_sig": false, "md5_digest": "afc2f63c763860acf50dff5414a6638f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9491, "upload_time": "2018-09-04T14:25:38", "url": "https://files.pythonhosted.org/packages/53/fc/efff9947d77cb0198474c66b2c9da101752763984de43ba2028598a7c869/pacli-0.4.5.1.tar.gz" } ], "0.4.6": [ { "comment_text": "", "digests": { "md5": "64dd8745e4fce9e0e4269577f7259030", "sha256": "242fd770a18f9d3ecc871ac11548394af4d9a8c2367e9f5f7489818d0eaea763" }, "downloads": -1, "filename": "pacli-0.4.6-py3.6.egg", "has_sig": false, "md5_digest": "64dd8745e4fce9e0e4269577f7259030", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 24996, "upload_time": "2018-10-07T16:37:00", "url": "https://files.pythonhosted.org/packages/48/a6/8fea89ca69f36b8c58dc3615f30e1e1bd94c310e2fd7839bb9a8983d883d/pacli-0.4.6-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "10c24b7cceed02df9526ce4ac4ae8dcd", "sha256": "e53ed9aab91310ad2f1b821fba08be6ae7627f0a0b67bd63cc4c106438051a6c" }, "downloads": -1, "filename": "pacli-0.4.6.tar.gz", "has_sig": false, "md5_digest": "10c24b7cceed02df9526ce4ac4ae8dcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9794, "upload_time": "2018-10-06T20:14:48", "url": "https://files.pythonhosted.org/packages/3a/36/ce8bf2e60a152dd95e504d46850c7a80707655aa6118ee1a5ee237762405/pacli-0.4.6.tar.gz" } ], "0.4.6.1": [ { "comment_text": "", "digests": { "md5": "e08b1ae4d36996612a3d06f6e494935f", "sha256": "e4bd0e2b68888ab5d0df5f0bb2d0bf303ceb62a73489ad3b9f5ac44733ee6c37" }, "downloads": -1, "filename": "pacli-0.4.6.1.tar.gz", "has_sig": false, "md5_digest": "e08b1ae4d36996612a3d06f6e494935f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9860, "upload_time": "2018-10-07T16:36:58", "url": "https://files.pythonhosted.org/packages/cf/24/a206dcd814ef574cea6ab2d71a2d937d9ec80231a9f21ee5a27a986fc7a6/pacli-0.4.6.1.tar.gz" } ], "0.4.7": [ { "comment_text": "", "digests": { "md5": "ec1abbe9e160fa1b5e731ed2ea6d8046", "sha256": "fa76e2a1f65d2c19f33391b5e93eb3b3fe16f07b9a7cdc71e76bc934a4b295c1" }, "downloads": -1, "filename": "pacli-0.4.7-py3.6.egg", "has_sig": false, "md5_digest": "ec1abbe9e160fa1b5e731ed2ea6d8046", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 26282, "upload_time": "2018-10-11T12:36:27", "url": "https://files.pythonhosted.org/packages/8b/56/9499ac10107a82bda878e5f91b8c9b864aaf2855cf61f45e6d1e2540ecec/pacli-0.4.7-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "ed0848422f2bb2a588d1aac30f44ddc4", "sha256": "dafa6efbd4b3f626b9c97ba4a346de6d2b75e850d8a57222b4139e9612347a04" }, "downloads": -1, "filename": "pacli-0.4.7.tar.gz", "has_sig": false, "md5_digest": "ed0848422f2bb2a588d1aac30f44ddc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10389, "upload_time": "2018-10-11T12:36:28", "url": "https://files.pythonhosted.org/packages/7f/a7/2926ef2b6bf771a28c13fe29f55ad8e29403a92e45fd63749acbc0b07112/pacli-0.4.7.tar.gz" } ], "0.4.7.1": [ { "comment_text": "", "digests": { "md5": "038175204481bde4bfa7b894a15d5dcf", "sha256": "bc3f3b64535ccd768c452d546beaa2260649023a2c4ade93e70ddcf12693f702" }, "downloads": -1, "filename": "pacli-0.4.7.1-py3.6.egg", "has_sig": false, "md5_digest": "038175204481bde4bfa7b894a15d5dcf", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 26442, "upload_time": "2018-10-12T13:34:21", "url": "https://files.pythonhosted.org/packages/40/aa/1660a3ec4b141b4b7abb289928d063d374dde76ce6fa65175663891255f5/pacli-0.4.7.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "40d90802224a245f8d0ae3431a059fe8", "sha256": "0ae16047c54c68e2cc3dd7f9619c672fd750673a419ce9de8d098a2813c3e411" }, "downloads": -1, "filename": "pacli-0.4.7.1.tar.gz", "has_sig": false, "md5_digest": "40d90802224a245f8d0ae3431a059fe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10395, "upload_time": "2018-10-12T13:34:22", "url": "https://files.pythonhosted.org/packages/63/f4/70b80b7c0a9a55d882890063cdc6d5b373359642b05ca9de6075960cd803/pacli-0.4.7.1.tar.gz" } ], "0.4.7.2": [ { "comment_text": "", "digests": { "md5": "1f9f62984e657ec279256e2b606c7b47", "sha256": "525815724479d45cf7b89750ded5297085c21cd52b3682184a77c83069e57bee" }, "downloads": -1, "filename": "pacli-0.4.7.2.tar.gz", "has_sig": false, "md5_digest": "1f9f62984e657ec279256e2b606c7b47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10402, "upload_time": "2018-10-23T11:39:52", "url": "https://files.pythonhosted.org/packages/e8/cc/c1a139bf97d159c9589795e9cea6e37ad91c669e69ab63e5c6c60d8b9f2d/pacli-0.4.7.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1f9f62984e657ec279256e2b606c7b47", "sha256": "525815724479d45cf7b89750ded5297085c21cd52b3682184a77c83069e57bee" }, "downloads": -1, "filename": "pacli-0.4.7.2.tar.gz", "has_sig": false, "md5_digest": "1f9f62984e657ec279256e2b606c7b47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10402, "upload_time": "2018-10-23T11:39:52", "url": "https://files.pythonhosted.org/packages/e8/cc/c1a139bf97d159c9589795e9cea6e37ad91c669e69ab63e5c6c60d8b9f2d/pacli-0.4.7.2.tar.gz" } ] }