Library usage

Module to generate mosaics using micro-tiling

client_library.client.generate_mosaic(host, on_invoice)[source]

Wraps manage_state to return a result, uses on_invoice when needing to pay

client_library.client.get_address(host, job_id)[source]

Gets the ensicoin address needing fees for job

client_library.client.launch_job(host)[source]

Create a job for host and returns the job_id

client_library.client.manage_state(host, result)[source]

Iterator on the completion of a job generation at host,

Writes the mosaic in the list result