MCPcopy Index your code
hub / github.com/cuducos/whiskyton

github.com/cuducos/whiskyton @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
98 symbols 197 edges 16 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Whiskython

By Eduardo Cuducos and Gabriel Vicente.

About

This was our very first project in Python, back in 2014. 10 years later, the idea is to use that as a playground to explore Rust bindings in Python projetcs.

This web based app uses an open database about whisky to help you find whiskys you'd probably like. It uses mathematics to run through the tastes classified in that database, and to find the best matches. We were inspired by this data visualization shared on Reddit.

Thanks

We had a lot of Python teachers, we are so glad we could count on you, guys:

In sum, we had the best teachers of the world in Python. Any mistake here is completely our fault.

Also we are glad to have contributions from Henrique Bastos, Lucretiel, Justin Velluppillai and Chris Loverchio.

Installation

Depends on Python 3.12 (or newer), Poetry and Rust.

Install the Python dependencies

$ poetry install

Install the Rust crates

$ poetry run pip install .

Web server

$ poetry run flask --app whiskyton run

Tests

To run tests:

$ cargo test --no-default-features
$ poetry run pytest

Some tests use your local Firefox through Selenium. So get the server running before running tests. If you do not want to run UI tests, use -k 'not ui'.

Core symbols most depended-on inside this repo

taste
called by 12
src/whisky.rs
as_array
called by 3
src/whisky.rs
py
called by 3
src/whisky.rs
create_app
called by 2
whiskyton/__init__.py
whiskies_for
called by 2
whiskyton/blueprint.py
asset
called by 2
src/lib.rs
area_for
called by 2
src/chart.rs
latest_changed_at
called by 2
src/sitemap.rs

Shape

Method 42
Function 32
Class 19
Route 5

Languages

Python57%
Rust43%

Modules by API surface

whiskyton/tests/test_ui_search.py15 symbols
whiskyton/blueprint.py13 symbols
whiskyton/tests/test_ui_main.py12 symbols
whiskyton/tests/test_routes.py11 symbols
src/whisky.rs11 symbols
src/chart.rs10 symbols
src/lib.rs7 symbols
src/correlation.rs6 symbols
src/sitemap.rs4 symbols
src/assets.rs4 symbols
whiskyton/tests/__init__.py2 symbols
whiskyton/models.py2 symbols

For agents

$ claude mcp add whiskyton \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact