Example usage of the figshare API
To upload large files to figshare, one can use figshare API.
This notebook summarizes the basic usage of the figshare API.
Electronic books (eBooks) are changing our way of reading books by providing us enhanced functionalities to interact with books. Amazon Kindle is one of the successful example of eBook servieces populated with millions of books. One of the notable functionality of Kindle is that readers can "highlight" the sentences in books and send the highlighted texts via email. While this enable users to easily export sections of the books, they need to manually organize their exported texts. Here I present a small Google Apps Script that automatically transfers the kindle annotations to Google drive. Given the search functionality of Google Drive, users can easily look up sections of books.
This Google Apps Script performs the following tasks: (1) checks your Gmail account; (2) identify email messages from Amazon Kindle service with your annotations (attachment files); and (3) save them to your google drive folder of your choice.
Note that some publishers has a maximum amoun
|$ python pgen_write.py|
|2017-07-04 00:44:50,706 pgen_write DEBUG pgen write test script|
|2017-07-04 00:44:50,706 read_alleles_range DEBUG reading alleles range 0:10 from ./pgen_in.pgen|
|2017-07-04 00:44:50,725 read_alleles_range DEBUG The shape of the numpy nd-array is (10, 224676)|
|2017-07-04 00:44:50,725 pgen_write DEBUG shape of buffer is (10, 224676)|
|2017-07-04 00:44:50,727 pgen_write DEBUG writing SNP 0 of 10 ...|
|2017-07-04 00:44:50,728 pgen_write DEBUG writing SNP 1 of 10 ...|
|2017-07-04 00:44:50,730 pgen_write DEBUG writing SNP 2 of 10 ...|
|2017-07-04 00:44:50,731 pgen_write DEBUG writing SNP 3 of 10 ...|
|2017-07-04 00:44:50,733 pgen_write DEBUG writing SNP 4 of 10 ...|