Example 07 addendum 2: screenlog Python script

This is the screen output when a network graph is generated on the basis of NXT api calls.

[21:58:55.138]  Downloaded 14 assets that were issued by NXT-MRBN-8DFH-PFMK-A4DBM, using them as starting points:
[21:58:55.197]  Getting initial data, starting from 14 given assets: ...
[21:58:55.257]  api get initial assets
[21:58:56.346]  dict assetID => asset
[21:58:56.407]  identified 14 issuer accounts
[21:58:56.467]  api threaded assetID => assetAccounts
[21:58:57.650]  all accountRS which are mentioned in one of those assets above
[21:58:57.713]  1713 accounts
[21:58:57.773]  api threaded accountRS => account
[21:59:03.805]  dict accountRS => accountAssets
[21:59:03.868]  api threaded accountRS => list(aliases)
[21:59:10.058]  aliases are beasts ...INFO: merging values!
[21:59:17.193]  fancy naming ...
[21:59:17.270]  Done the first step. All data is here now.
[21:59:17.332]  Getting initial data, starting from 14 given assets: DONE.
[21:59:17.391]  
[21:59:17.451]  (        .assets) len=  14  chars=   7961  sample: [10955830.., 15113552.., ..] => [{u'account': u'9918441724915080500', u'n, ..]
[21:59:17.568]  ( .assetAccounts) len=  14  chars=1262252  sample: [10955830.., 15113552.., ..] => [[{u'unconfirmedQuantityQNT': u'39001787', ..]
[21:59:17.773]  (      .accounts) len=1713  chars=4294408  sample: [NXT-7NQY.., NXT-R3V3.., ..] => [{u'unconfirmedBalanceNQT': u'13292933483, ..]
[21:59:17.921]  ( .accountAssets) len=1713  chars=1434152  sample: [NXT-7NQY.., NXT-R3V3.., ..] => [[{u'balanceQNT': u'464000000000', u'asse, ..]
[21:59:17.986]  (       .aliases) len= 243  chars=  44019  sample: [NXT-VG8H.., NXT-X37H.., ..] => [[(u'NX003', 12888031)], ..]
[21:59:18.052]  (  .numerical2RS) len=1720  chars=  91825  sample: [45794531.., 52062361.., ..] => [NXT-UK7N-EL7S-VS6K-5WD5Z, ..]
[21:59:18.117]  (    .objId2name) len=1727  chars= 107828  sample: [NXT-7NQY.., NXT-R3V3.., ..] => [Ikonic | NXT-7NQY-PVNX-M2BL-HWRDA, ..]
[21:59:18.177]  
[21:59:18.236]  14 new nodes registered of the given 14 nodes (remaining 0 were already registered)
[21:59:18.424]  1713 new nodes registered of the given 1713 nodes (remaining 0 were already registered)
[21:59:19.523]  7107 new links of type (asset->account) registered
[21:59:22.519]  7107 new links of type (account->asset) registered
[21:59:22.578]  
[21:59:22.857]  pickled the above results, for later reuse.
[21:59:22.917]  Mark issuer account 'NXT-MRBN-8DFH-PFMK-A4DBM' to be a special node
[21:59:23.009]  JSON created, containing 1727 nodes and 14214 links
[21:59:23.121]  Network written to: 'issuer_SuperNET.json'  

Before I had identified that "super issuer" SuperNET to be the leader in the Top44.

Once that json file exist, I can now show the network graph in your browser.