Create an API using Eve in Python
A simple instruction to create an API for an existing MongoDB database using Eve.
A simple instruction to create an API for an existing MongoDB database using Eve.
Recently I was playing with some code that generated big dictionaries and had to manipulate these dictonaries several times. I used to save them via Pythons pandas to CSV and load them back from the CSV the next time I was using my script. Luckily I found out an easier way to deal with saving and loading variables, namely by using Pickle.
import pickle
pickle.dump(variable, open(picklename, 'wb'))
pickle.load( open( picklename, "rb" ) )
A simple example on how to use Font Awesome for fancy select boxes.
A short description how to use D3.js in a Jupyter notebook.
In this post I will describe my initial version of my crypto app, an application where I will simply show some data of my experiments with crypto currencies. Data is handled by Python, put in MongoDB and displayed using ExpressJS and D3.js.
Inspired by the article by Dan Finlay and the video by Tim Coulter, I had my first attempt creating the scaffold for a Truffle application and checking it with Metamask.
Similar to the RPC client, I will use the web3 API to make a transaction on my private blockchain. I will probably move to develop in Javascript where web3 is the essential library to use for interacting with the blockchain. This way I can get familiar with its functionality.
In this notebook I will try out the RPC client of Ethereum using Python. See JSON RPC for more information on JSON RPC.
Following the steps from the etcdocs.org, I try to set up a private blockchain to perform my first -fake- transaction.
My first step in getting to know the Ether platform is installing it on one of my Linux machines.