Automated computational research notebook.
Project description
Automatic Computational Research Notebook
acorn uses the mutability of python objects, together with decorators, to produce an automatic notebook for computational research. Common libraries like numpy, scipy, sklearn and pandas are mutated with decorators that enable logging of calls to important methods within those libraries.
This is really helpful for data science where experimenting with fits, pipelines and pre-processing transformations can result in hundreds of fits and predictions a day. At the end of the day, it is hard to remember which set of parameters produced that one fit, which (of course) you didn’t realize was important at the time.
The library is well documented.
Basic Flow
Depending on the logging level, every time a method/function is called (whether bound or unbound), we log it into a JSON database.
The JSON database is analyzed using javascript by the browser to produce nice sets of objects, separated by project, task, date and specific object instances.
A nice UI using bootstrap populates the HTML dynamically.
Synchronization
We recommend that the JSON database directory be configured on a Dropbox folder (later we will support Google Drive, etc.). The HTML notebook can be authorized (per session) to have access to Dropbox so that the JSON databases can be accessed from anywhere (and any device). Thi HTML and javascript is completely standalone (i.e., no server backend required outside of the web service requests).
Contribution
If this sparks your interest, please message us. The project is still in early development, so we can’t say more up front.
Special Notes
The matplotlib module is used frequently, but not in the typical way. Most of the methods and objects are used internally unless a plot is being tweaked for some special reason. The matplotlib.cfg file prunes the number of objects that get decorate very aggressively so that only the common calls are logged. You can adjust your own local config file if you spend a lot of time actually coding matplotlib internals.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file acorn-0.0.15.tar.gz
.
File metadata
- Download URL: acorn-0.0.15.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a47518012502a0af5d28a94d43029fd1880b3735e3ba755410a1c0fe2d10c35 |
|
MD5 | 133de30225e06a9a129985768525c93b |
|
BLAKE2b-256 | 72ba13883c52ff66c29a7eab4895a7e8492c1a15e07c531e2b6d5e873053a4b6 |
File details
Details for the file acorn-0.0.15-py2-none-any.whl
.
File metadata
- Download URL: acorn-0.0.15-py2-none-any.whl
- Upload date:
- Size: 61.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f6ec5cd7997c6a197cdae7d8516c61f82588b101e1abd80f94c373c0af300f |
|
MD5 | f7b3627ee1922b09b78d24f88b5e4e7d |
|
BLAKE2b-256 | 836bafe5037aa71ad71d451e4d8c3548ad78dc8fe0ad69eb05b0e6b9e3896cba |