8000 GitHub - hohn/precision-and-digits
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hohn/precision-and-digits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Development setup

# Install Python on a mac with homebrew
brew install python-tk@3.11

# Set up the venv 
cd ~/w/notes/precision-and-digits
python3.11 -m venv .venv
. .venv/bin/activate

# Install packages using requirements.txt ...
# python3.11 -m pip install -r requirements.txt

# ... or install packages directly, for development:
pip install --upgrade pip
pip install ipython jupyter pyflakes mypy pillow types-Pillow

# "Install" for local development:
# pip install -e .

# Use the current virtual environment to fix the packages
# pip freeze > requirements.txt

# Occasional typechecking
mypy bin/fsmviz-simple

# Using ipython to develop Tk UI
ipython --gui=tk -i -- -g -i

Miscellaneous

# Start notebook server
jupyter notebook

# Convert notebook to org-mode
jupyter nbconvert samples-and-digits.ipynb --to markdown
pandoc samples-and-digits.md -o samples-and-digits.org

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0