- BigchaiDBバージョン: 0.9.1
以下の流れでAssetを譲渡するようなサンプル。
- aliceがAssetを作成
- aliceがbobとcarolにAsset(権利)を譲渡(承諾ステータス:未承諾)
- bobとcarolが権利の譲渡に承諾(承諾ステータス:承諾)
hydrachain http://hydrachain.com/
以下hydrachainのインストール手順。
Eris https://erisindustries.com/
以下の環境で試した。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
| #!/usr/local/bin/python | |
| # -*- coding:utf-8 -*- | |
| import json | |
| import csv | |
| import MeCab as mc | |
| ################################################ | |
| # メール文章のポジネガ判定 | |
| # | |
| # Copyright 2016 YoshihitoAso(@y_asoh) |
| from selenium import webdriver | |
| from xvfbwrapper import Xvfb | |
| import sys | |
| #---------------------------------------------------------------- | |
| # Selenium Screenshot | |
| # | |
| # Copyright 2016 Yoshihito Aso | |
| #---------------------------------------------------------------- |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| #---------------------------------------------------------------- | |
| # ImageMagick Diff | |
| # | |
| # Copyright 2016 Yoshihito Aso |
| 1)RethinkDB Serverをインストールする。 | |
| 以下のコマンドを実行していけばインストール可能。 | |
| $ source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list | |
| $ wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - | |
| $ sudo apt-get update | |
| $ sudo apt-get install rethinkdb | |
| 起動してみる。 | |
| $ rethinkdb |
| #!/usr/local/bin/python | |
| # -*- coding:utf-8 -*- | |
| import jsm | |
| import datetime | |
| import time | |
| import csv | |
| import pandas as pd | |
| #-------------------------------------------------- | |
| # 全ETF銘柄の株価データをYahooファイナンスから取得 |