Skip to content

Instantly share code, notes, and snippets.

@liamaharon

liamaharon/out Secret

Created January 7, 2020 00:56
Show Gist options
  • Save liamaharon/152e70a9286a889aa13ca563216c7704 to your computer and use it in GitHub Desktop.
Save liamaharon/152e70a9286a889aa13ca563216c7704 to your computer and use it in GitHub Desktop.
paroramix usage
liam@sleeper:~/spellbook$ git clone git@github.com:eveem-org/panoramix.git
Cloning into 'panoramix'...
remote: Enumerating objects: 113, done.
remote: Counting objects: 100% (113/113), done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 113 (delta 45), reused 105 (delta 40), pack-reused 0
Receiving objects: 100% (113/113), 221.82 KiB | 379.00 KiB/s, done.
Resolving deltas: 100% (45/45), done.
liam@sleeper:~/spellbook$ cd panoramix/
liam@sleeper:~/spellbook/panoramix$ pip3 install -r requirements.txt
Collecting coloredlogs (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/08/0f/7877fc42fff0b9d70b6442df62d53b3868d3a6ad1b876bdb54335b30ff23/coloredlogs-10.0-py2.py3-none-any.whl (47kB)
100% |████████████████████████████████| 51kB 570kB/s
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (2.21.0)
Collecting web3 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/33/0a/4813cada4078e2dea9fa4f9001114810a12999b8f75c6521389f2f1d1ef0/web3-5.4.0-py3-none-any.whl (455kB)
100% |████████████████████████████████| 460kB 971kB/s
Collecting timeout_decorator (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/07/1c/0d9adcb848f1690f3253dcb1c1557b6cf229a93e724977cb83f266cbd0ae/timeout-decorator-0.4.1.tar.gz
Collecting humanfriendly>=4.7 (from coloredlogs->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/90/df/88bff450f333114680698dc4aac7506ff7cab164b794461906de31998665/humanfriendly-4.18-py2.py3-none-any.whl (73kB)
100% |████████████████████████████████| 81kB 1.6MB/s
Collecting jsonschema<4.0.0,>=3.0.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting lru-dict<2.0.0,>=1.1.6 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/00/a5/32ed6e10246cd341ca8cc205acea5d208e4053f48a4dced2b1b31d45ba3f/lru-dict-1.1.6.tar.gz
Collecting eth-abi<3.0.0,>=2.0.0b6 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/2d/3c/f7a8c5e23436a184716d300b3456d9aafcfb0e1759d9835486f43981b5aa/eth_abi-2.1.0-py3-none-any.whl
Collecting mypy-extensions<1.0.0,>=0.4.1 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl
Collecting eth-account<0.5.0,>=0.4.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/08/b2/b000adde76e780ba072d75e534ebfe9d44f0d68f429d3757ae9a85e9bd0b/eth_account-0.4.0-py3-none-any.whl
Collecting protobuf<4,>=3.10.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/4a/14/f5c294f1e36a031f165128c25feba93b3116f15a74398d0b2747ed75744f/protobuf-3.11.2-cp37-cp37m-manylinux1_x86_64.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 762kB/s
Collecting eth-hash[pycryptodome]<1.0.0,>=0.2.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/0d/d8/0f0c8d4ccaa4c8d25524fd1ed9f5c6d9551b52b74b973f338de3f0a23111/eth_hash-0.2.0-py3-none-any.whl
Collecting eth-utils<2.0.0,>=1.8.4 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/10/d4/5ffae25b2028338388f3647ca45142b45737d173e216739c55f9a3cd4b6d/eth_utils-1.8.4-py3-none-any.whl
Collecting websockets<9.0.0,>=8.1.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/df/19/2573653fb823929324667c936541be610869b2b389eb9dabfe8c874ea80f/websockets-8.1-cp37-cp37m-manylinux1_x86_64.whl (73kB)
100% |████████████████████████████████| 81kB 4.7MB/s
Collecting hexbytes<1.0.0,>=0.1.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/4e/99/7e0c9a2f74f2a0b4512bd4491334537f4a3418a4daec6ae90ed5cd8d6b89/hexbytes-0.2.0-py3-none-any.whl
Collecting eth-typing<3.0.0,>=2.0.0 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/bc/c4/c9c78597d0400e5bc1c3cdd031fdfa6629333a31591fcc5fa8519a7ea89c/eth_typing-2.2.1-py3-none-any.whl
Collecting ipfshttpclient<1,>=0.4.12 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/17/30/0c54ed165f880a7f99eb75d63588ebd09f3da21faa6effd9e42dca987cd8/ipfshttpclient-0.4.12-py2.py3-none-any.whl (157kB)
100% |████████████████████████████████| 163kB 2.3MB/s
Collecting typing-extensions<4,>=3.7.4.1 (from web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/03/92/705fe8aca27678e01bbdd7738173b8e7df0088a2202c80352f664630d638/typing_extensions-3.7.4.1-py3-none-any.whl
Collecting attrs>=17.4.0 (from jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3)) (41.1.0)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3)) (1.12.0)
Collecting pyrsistent>=0.14.0 (from jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/6c/6f/c1a2e8da80a0029f6b618d7e20e1a6f2a61dd04e2e54225309c2cc4268f7/pyrsistent-0.15.6.tar.gz (107kB)
100% |████████████████████████████████| 112kB 4.6MB/s
Collecting importlib-metadata; python_version < "3.8" (from jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting parsimonious<0.9.0,>=0.8.0 (from eth-abi<3.0.0,>=2.0.0b6->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/02/fc/067a3f89869a41009e1a7cdfb14725f8ddd246f30f63c645e8ef8a1c56f4/parsimonious-0.8.1.tar.gz (45kB)
100% |████████████████████████████████| 51kB 2.7MB/s
Collecting eth-rlp<1,>=0.1.2 (from eth-account<0.5.0,>=0.4.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/56/4b/b309fb44dd9bb975e84f3d626392eec1eeed0108e55a51cd7dd8956a73ad/eth_rlp-0.1.2-py3-none-any.whl
Collecting attrdict<3,>=2.0.0 (from eth-account<0.5.0,>=0.4.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/ef/97/28fe7e68bc7adfce67d4339756e85e9fcf3c6fd7f0c0781695352b70472c/attrdict-2.0.1-py2.py3-none-any.whl
Collecting eth-keyfile<0.6.0,>=0.5.0 (from eth-account<0.5.0,>=0.4.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/eb/a5/3615d100b62fbf20fe5d5c0d1d4d7326eac861d260b0cd2a36af2bf8ccb1/eth_keyfile-0.5.1-py3-none-any.whl
Collecting rlp<2,>=1.0.0 (from eth-account<0.5.0,>=0.4.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/ed/3a/cdd814115fecd21e865a3202993b1c8c61e37ee5a4eb062ec5c8b31cf905/rlp-1.2.0-py2.py3-none-any.whl
Collecting eth-keys<0.3.0,>=0.2.1 (from eth-account<0.5.0,>=0.4.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/61/4f/d8e778e377e0b9287b5ffc7ecc4e3b1e9d3045030d391acc7328e23708f2/eth_keys-0.2.4-py3-none-any.whl
Collecting pycryptodome<4,>=3.6.6; extra == "pycryptodome" (from eth-hash[pycryptodome]<1.0.0,>=0.2.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/a9/49/146fe46dee2c79585e68f491b3ac5065bb2db1be191cb43a444961b12e8b/pycryptodome-3.9.4-cp37-cp37m-manylinux1_x86_64.whl (9.7MB)
100% |████████████████████████████████| 9.7MB 113kB/s
Collecting cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython" (from eth-utils<2.0.0,>=1.8.4->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/62/b1/7f16703fe4a497879b1b457adf1e472fad2d4f030477698b16d2febf38bb/cytoolz-0.10.1.tar.gz (475kB)
100% |████████████████████████████████| 481kB 1.8MB/s
Collecting multiaddr>=0.0.7 (from ipfshttpclient<1,>=0.4.12->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/51/59/df732566d951c33f00a4022fc5bf9c5d1661b1c2cdaf56e75a1a5fa8f829/multiaddr-0.0.9-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting toolz>=0.8.0 (from cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython"->eth-utils<2.0.0,>=1.8.4->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/22/8e/037b9ba5c6a5739ef0dcde60578c64d49f45f64c5e5e886531bfbc39157f/toolz-0.10.0.tar.gz (49kB)
100% |████████████████████████████████| 51kB 6.2MB/s
Collecting base58 (from multiaddr>=0.0.7->ipfshttpclient<1,>=0.4.12->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/09/b2/21ac9591f055acc145afead895edeb73bbd69d95cf366fc5c2233f2434cb/base58-1.0.3-py3-none-any.whl
Collecting netaddr (from multiaddr>=0.0.7->ipfshttpclient<1,>=0.4.12->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/ba/97/ce14451a9fd7bdb5a397abf99b24a1a6bb7a1a440b019bebd2e9a0dbec74/netaddr-0.7.19-py2.py3-none-any.whl (1.6MB)
100% |████████████████████████████████| 1.6MB 581kB/s
Collecting varint (from multiaddr>=0.0.7->ipfshttpclient<1,>=0.4.12->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
Collecting more-itertools (from zipp>=0.5->importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.0.0->web3->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
100% |████████████████████████████████| 40kB 2.1MB/s
Building wheels for collected packages: timeout-decorator, lru-dict, pyrsistent, parsimonious, cytoolz, toolz, varint
Running setup.py bdist_wheel for timeout-decorator ... done
Stored in directory: /home/liam/.cache/pip/wheels/f1/e6/ea/7387e3629cb46ba65140141f972745b823f4486c6fe884ccb8
Running setup.py bdist_wheel for lru-dict ... done
Stored in directory: /home/liam/.cache/pip/wheels/b7/ef/06/fbdd555907a7d438fb33e4c8675f771ff1cf41917284c51ebf
Running setup.py bdist_wheel for pyrsistent ... done
Stored in directory: /home/liam/.cache/pip/wheels/83/89/d3/1712b9c33c9b9c0911b188a86aeff2a9a05e113f986cf79d92
Running setup.py bdist_wheel for parsimonious ... done
Stored in directory: /home/liam/.cache/pip/wheels/b7/8d/e7/a0e74217da5caeb3c1c7689639b6d28ddbf9985b840bc96a9a
Running setup.py bdist_wheel for cytoolz ... done
Stored in directory: /home/liam/.cache/pip/wheels/64/2a/18/d962b614e055577e7d9a3e4813e0742f822ca9c8800cc3783a
Running setup.py bdist_wheel for toolz ... done
Stored in directory: /home/liam/.cache/pip/wheels/e1/8b/65/3294e5b727440250bda09e8c0153b7ba19d328f661605cb151
Running setup.py bdist_wheel for varint ... done
Stored in directory: /home/liam/.cache/pip/wheels/87/62/fe/15e506bdde650fdd4e63d3eb91a1c3582ff1ee450e88e89d9e
Successfully built timeout-decorator lru-dict pyrsistent parsimonious cytoolz toolz varint
Installing collected packages: humanfriendly, coloredlogs, attrs, pyrsistent, more-itertools, zipp, importlib-metadata, jsonschema, lru-dict, eth-typing, toolz, cytoolz, pycryptodome, eth-ha
sh, eth-utils, parsimonious, eth-abi, mypy-extensions, hexbytes, rlp, eth-rlp, attrdict, eth-keys, eth-keyfile, eth-account, protobuf, websockets, base58, netaddr, varint, multiaddr, ipfshtt
pclient, typing-extensions, web3, timeout-decorator
The script humanfriendly is installed in '/home/liam/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script coloredlogs is installed in '/home/liam/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script jsonschema is installed in '/home/liam/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script base58 is installed in '/home/liam/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed attrdict-2.0.1 attrs-19.3.0 base58-1.0.3 coloredlogs-10.0 cytoolz-0.10.1 eth-abi-2.1.0 eth-account-0.4.0 eth-hash-0.2.0 eth-keyfile-0.5.1 eth-keys-0.2.4 eth-rlp-0.1.2
eth-typing-2.2.1 eth-utils-1.8.4 hexbytes-0.2.0 humanfriendly-4.18 importlib-metadata-1.3.0 ipfshttpclient-0.4.12 jsonschema-3.2.0 lru-dict-1.1.6 more-itertools-8.0.2 multiaddr-0.0.9 mypy-ex
tensions-0.4.3 netaddr-0.7.19 parsimonious-0.8.1 protobuf-3.11.2 pycryptodome-3.9.4 pyrsistent-0.15.6 rlp-1.2.0 timeout-decorator-0.4.1 toolz-0.10.0 typing-extensions-3.7.4.1 varint-1.0.2 we
b3-5.4.0 websockets-8.1 zipp-0.6.0
liam@sleeper:~/spellbook/panoramix$ python3.8 panoramix.py 0xdac17f958d2ee523a2206206994597c13d831ec7
Traceback (most recent call last):
File "panoramix.py", line 24, in <module>
import pano.folder as folder
File "/home/liam/spellbook/panoramix/pano/folder.py", line 5, in <module>
from pano.prettify import prettify
File "/home/liam/spellbook/panoramix/pano/prettify.py", line 25, in <module>
from pano.loader import Loader
File "/home/liam/spellbook/panoramix/pano/loader.py", line 16, in <module>
import secret
ModuleNotFoundError: No module named 'secret'
@teddssy
Copy link

teddssy commented Mar 10, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment