A tool for running python code with docker on aws
Project description
## Todo
[ ] Write examples and justify jaynes’s existence
[ ] add pretty pictures of a mole and with a notebook.
Done
[x] rename ledger to jaynes! because I couldn’t get the names:
ledger: because somebody took it.
parchment: because somebody took it (>.<)
vellum: they took the calf version too (o_O )
So I decided on jaynes! The paper just gets softer :)
Installation
pip install jaynes
Usage
from jaynes import Jaynes
M = Jaynes()
M.log('this is a log entry!')
# Jaynes gives really nice debug traces:
some_variable = "test"
M.debug(some_variable)
# Jaynes can also be used as a code-block timer:
import time
M.start(silent=True)
time.sleep(3.0)
M.split()
# Lap Time: 3.0084s
You can even log to a file!
from jaynes import Jaynes
jaynes = Jaynes(file="https://github.com/episodeyang/jaynes/blob/master/a_log_file.log")
jaynes.log('this is a log entry!')
# and it prints to both std out *and* the log file!
To Develop
git clone https://github.com/episodeyang/jaynes.git
cd jaynes
make dev
To test, run
make test
This make dev command should build the wheel and install it in your current python environment. Take a look at the https://github.com/episodeyang/jaynes/blob/master/Makefile for details.
To publish, first update the version number, then do:
make publish
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.