Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nannernest

> 编程语言
Open source

Optimal peanut butter and banana sandwiches

100 stars0 likes0 views
WebsiteGitHub

About

Optimal peanut butter and banana sandwiches

nannernest

A small package for optimizing banana coverage on peanut butter and banana sandwiches. See blog post for more info.

Installation

Python 3.7+ is required.

nannernest is generally pip installable. Due to some C dependencies with the nesting library that I use nest2D, along with an outstanding PR, I would recommend the following way to install everything:

First, make sure you have boost and cmake installed. If you are on Linux, then you may have cmake installed, and you can install boost with

commandline
sudo apt-get install libboost-all-dev 

I'm on a Mac, and I installed cmake with conda and boost with brew:

commandline
conda install cmake
brew install boost

Next, pip install my fork of nest2D:

commandline
pip install git+https://github.com/EthanRosenthal/nest2D.git@download-dependencies

Finally, pip install nannernest

commandline
pip install nannernest

Usage

Take a top-down picture that contains your banana and at least one slice of bread. Pass the image in via command line:

commandline
$ nannernest my_image.jpg

CLI Details

…

Issues· 5 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythoncomputer-visiondeep-learningmachine-learningsandwiches

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言