All Projects → scheb → beer-analytics

scheb / beer-analytics

Licence: other
Analyzing the composition of beer recipes and visualize results in a human-friendly way 🕵️🍺

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
typescript
32286 projects
SCSS
7915 projects

Projects that are alternatives of or similar to beer-analytics

Data-Visualizations
Data Visualizations is emerging as one of the most essential skills in almost all of the IT and Non IT Background Sectors and Jobs. Using Data Visualizations to make wiser decisions which could land the Business to make bigger profits and understand the root cause and behavioral analysis of people and customers associated to it. In this Reposito…
Stars: ✭ 55 (+111.54%)
Mutual labels:  plotly
app rasa chat bot
a stateless chat bot to perform natural language queries against the App Store top charts
Stars: ✭ 20 (-23.08%)
Mutual labels:  plotly
dash-flask-login
A plugin to integrate Dash and Flask-Login
Stars: ✭ 54 (+107.69%)
Mutual labels:  plotly
covid-19
Coronavirus COVID-19 Dashboard - Global Kaggle Data
Stars: ✭ 31 (+19.23%)
Mutual labels:  plotly
dash-mantine-components
Plotly Dash components based on Mantine React Components
Stars: ✭ 263 (+911.54%)
Mutual labels:  plotly
grblogtools
Extract and visualize information from Gurobi log files
Stars: ✭ 57 (+119.23%)
Mutual labels:  plotly
joliebulle
**DEPRECATED** L'ancien dépôt de Joliebulle 3. Non maintenu. Voir le site officiel pour les nouvelles versions.
Stars: ✭ 32 (+23.08%)
Mutual labels:  beer
dashblocks-template
Dashblocks Vue Material Admin Template
Stars: ✭ 143 (+450%)
Mutual labels:  plotly
jira-sprint-analytics
No description or website provided.
Stars: ✭ 13 (-50%)
Mutual labels:  plotly
dash-google-auth
(Deprecated) Dash Extension for Google OAuth
Stars: ✭ 60 (+130.77%)
Mutual labels:  plotly
2019-nCoV-dash
新型冠状病毒(2019-nCoV)肺炎(COVID-19)疫情展示
Stars: ✭ 13 (-50%)
Mutual labels:  plotly
beer-app
🍺 Example App - Paginate API response with BLoC in Flutter
Stars: ✭ 20 (-23.08%)
Mutual labels:  beer
antaresViz
ANTARES Visualizations
Stars: ✭ 19 (-26.92%)
Mutual labels:  plotly
agentphantom
Automated GitHub profile content using the USGS API, Plotly and GitHub Actions.
Stars: ✭ 29 (+11.54%)
Mutual labels:  plotly
Untappd.Net
C# Wrapper over untappd api
Stars: ✭ 20 (-23.08%)
Mutual labels:  beer
Interactive-Dashboards-and-Data-Apps-with-Plotly-and-Dash
Interactive Dashboards and Data Apps with Plotly and Dash, published by Packt
Stars: ✭ 181 (+596.15%)
Mutual labels:  plotly
go-plotly
The goal of the go-plotly package is to provide a pleasant Go interface for creating figure specifications which are displayed by the plotly.js JavaScript graphing library.
Stars: ✭ 59 (+126.92%)
Mutual labels:  plotly
fantasy-premier-league
Fantasy Premier League Stats, Visualizations & Analysis. ⚽ 📊 📈
Stars: ✭ 31 (+19.23%)
Mutual labels:  plotly
BrewCenterAPI
An open source api for managing homebrewing related data.
Stars: ✭ 30 (+15.38%)
Mutual labels:  beer
OED
Open Energy Dashboard (OED)
Stars: ✭ 49 (+88.46%)
Mutual labels:  plotly

beer-analytics 🕵️🍺

Analyzing the composition of beer recipes and visualize results in a human-friendly way.

Check out the live website: https://www.beer-analytics.com/

Logo

What is Beer Analytics?

Beer Analytics is a database of beer brewing recipes, built specifically for data analysis. It is made for beer enthusiasts and (home)brewers to provide detailed insights into brewing recipes, even when they're not an expert in data analysis. The goal is to expand the knowledge how certain types of beer are typically brewed, ultimately helping (home)brewers to compose better recipes themselves, and potentially uncover some trends in craft/home brewing.

The project has two main components:

  1. a recipe database with (hopefully) reliable data (clean and normalized, reduce outliers and bad data)
  2. a user interface to execute data analysis (filtering, slicing and dicing) and to present results in a visually appealing way

Application Setup

Requirements

  • Python 3.8
  • virtualenv (ideally)
  • Poetry (Python package manager)
  • yarn (JavaScript package manager)

Setup Steps

  • Install yarn dependencies: yarn install
  • Initialize virtualenv and enable it
  • Install Python dependencies: poetry install
  • Create a configuration file (see below)
  • Apply database migrations to creates tables: python manage.py makemigrations and python manage.py migrate
  • Load initial data (known styles and ingredients) via python manage.py load_initial_data

Configuration

Provide a .env file in the beer_analytics folder. An example can be found in beer_analytics/.env.example.

Per default the application starts with "dev" settings, which is likely what you want. Use the DJANGO_SETTINGS_MODULE environment variable to use different settings according to the environment:

# Dev settings
DJANGO_SETTINGS_MODULE=beer_analytics.settings_dev

# Production settings
DJANGO_SETTINGS_MODULE=beer_analytics.settings_prod

Development

To start the application for development run

python manage.py runserver

to start a webserver at localhost:8000 and in a second terminal run

yarn start

to start the Webpack dev server to compile CSS and JS files.

Recipe data

For legal reasons the project does not come with any recipe data included. You have to retrieve and import recipe data from the sources you'd like to analyze.

ℹ️ It is planned to add a database with anonymized data samples at some point. Sorry for inconvenience.

Data Import

Recipes can be imported via CLI in various formats. Each recipe must have a unique id assigned, which can be an arbitrary string. The following recipe formats are supported with their respective commands:

BeerXML:

python manage.py load_beerxml_recipe recipe.xml unique_id

MMUM format:

python manage.py load_mmum_recipe recipe.json unique_id

BeerSmith format:

python manage.py load_beersmith_recipe recipe.bsmx unique_id

Data Mapping

Once recipes are imported, they need to be mapped to the list of known styles and ingredients. Run the following commands to execute the mapping. Any unmapped recipes will be processed:

python manage.py map_styles
python manage.py map_hops
python manage.py map_fermentables
python manage.py map_yeasts

These commands can be repeated any time and will process any recipes, which haven't been mapped yet. Please note that, depending on the amount if recipes, this step can take a while.

Pre-calculate metrics

The application is pre-calculating and persisting some metrics for style and ingredients. To update these metrics, run:

python manage.py calculate_metrics

Security

For information about the security policy and know security issues, see SECURITY.md.

License

This software is available under the Beerware License.

Contributing

You're welcome to contribute new features, such as new analysis/chart types or bug fixes, by creating a Pull Request.

Please see CONTRIBUTING.md for more details.

Support Me

I love to hear from people using my work, it's giving me the motivation to keep working on it.

If you want to let me know you're finding it useful, please consider giving it a star on GitHub.

If you love my work and want to say thank you, you can help me out for a beer 🍻️ via PayPal.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].