Git Product home page Git Product logo

dashboard_natacion's Introduction

Dashboard de natación

Aplicación hecha en streamlit para visualizar estadísticas de natacion: https://share.streamlit.io/crdguez/dashboard_natacion/main/main.py

Los ficheros que lee la aplicación se encuentran en mi repositorio privado https://gitlab.com/crdguez/resultados_natacion

Instrucciones

  • Con importar_datos.ipynb se importan los datos obtenidos de los pdfs:
    • se utilizan ficheros csv con registros con este formato: puesto, nadador, año de nacimiento, club, tiempo, puntos_fina
  • Se crea la base de datos base_datos.csv que la aplicación en stremalit explota

Crear la imagen a partir del Dockefile

Si no tenemos la imagen en local:

sudo docker build -t crdguez/mi_streamlit:v2 .

Lanzando un contendor docker con Streamlit y la aplicacion main.py

He creado un fichero main.py con el código de streamlit. Si no tengo el docker creado, lo creo con el siguiente comando:

docker run -it -p 8501:8501 --name natacion -v $PWD:/app crdguez/mi_streamlit:v2 main.py

Una vez creado podemos lanzarlo yendo desde un terminal:

docker start natacion

Y en el navegador

Network URL: http://172.17.0.2:8501 External URL: http://85.60.254.2:8501

dashboard_natacion's People

Contributors

crdguez avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.