├── requirements.txt ├── app.py ├── views.py ├── templates ├── about.html └── base.html ├── LICENSE ├── .gitignore └── README.md /requirements.txt: -------------------------------------------------------------------------------- 1 | flask 2 | -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- 1 | from flask import Flask 2 | 3 | 4 | app = Flask(__name__) 5 | 6 | 7 | if __name__ == '__main__': 8 | from views import * 9 | app.run(port=5000, debug=True) 10 | -------------------------------------------------------------------------------- /views.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | from flask import render_template 4 | 5 | 6 | @app.route('/') 7 | def index(): 8 | """Base URL for website.""" 9 | 10 | return render_template('base.html') 11 | 12 | 13 | @app.route('/about') 14 | def about(): 15 | """URL for about section.""" 16 | 17 | return render_template('about.html') 18 | -------------------------------------------------------------------------------- /templates/about.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block content %} 3 |
4 |
5 |

Fluid jumbotron

6 |

This is a modified jumbotron that occupies the entire horizontal space of its parent.

7 |
8 |
9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Future Lab 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | .DS_Store 6 | 7 | # C extensions 8 | *.so 9 | 10 | # Distribution / packaging 11 | .Python 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | MANIFEST 28 | 29 | # PyInstaller 30 | # Usually these files are written by a python script from a template 31 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 32 | *.manifest 33 | *.spec 34 | 35 | # Installer logs 36 | pip-log.txt 37 | pip-delete-this-directory.txt 38 | 39 | # Unit test / coverage reports 40 | htmlcov/ 41 | .tox/ 42 | .coverage 43 | .coverage.* 44 | .cache 45 | nosetests.xml 46 | coverage.xml 47 | *.cover 48 | .hypothesis/ 49 | .pytest_cache/ 50 | 51 | # Translations 52 | *.mo 53 | *.pot 54 | 55 | # Django stuff: 56 | *.log 57 | local_settings.py 58 | db.sqlite3 59 | 60 | # Flask stuff: 61 | instance/ 62 | .webassets-cache 63 | 64 | # Scrapy stuff: 65 | .scrapy 66 | 67 | # Sphinx documentation 68 | docs/_build/ 69 | 70 | # PyBuilder 71 | target/ 72 | 73 | # Jupyter Notebook 74 | .ipynb_checkpoints 75 | 76 | # pyenv 77 | .python-version 78 | 79 | # celery beat schedule file 80 | celerybeat-schedule 81 | 82 | # SageMath parsed files 83 | *.sage.py 84 | 85 | # Environments 86 | .env 87 | .venv 88 | env/ 89 | venv/ 90 | ENV/ 91 | env.bak/ 92 | venv.bak/ 93 | 94 | # Spyder project settings 95 | .spyderproject 96 | .spyproject 97 | 98 | # Rope project settings 99 | .ropeproject 100 | 101 | # mkdocs documentation 102 | /site 103 | 104 | # mypy 105 | .mypy_cache/ 106 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Zoológico de estructuras de datos 🚀 2 | 3 | [![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/0)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/0)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/1)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/1)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/2)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/2)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/3)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/3)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/4)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/4)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/5)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/5)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/6)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/6)[![](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/images/7)](https://sourcerer.io/fame/RamiroFuentes/futurelabmx/dszoo/links/7) 4 | 5 | El objetivo de este proyecto es crear un archivo de estructuras de datos y algoritmos útiles que puedan ser consultados por el público para su estudio e implementación 6 | 7 | 8 | ## Desarrollo 9 | 10 | A lo largo del proyecto iremos estudiando los capítulos más representativos del libro [_Introducción a los algoritmos_](https://es.wikipedia.org/wiki/Introducción_a_los_algoritmos) de Thomas H. Cormen, et al. 11 | 12 | Utilizando [_Flask_](https://palletsprojects.com/p/flask/) crearemos una aplicación web para acceder a nuestra colección de algoritmos escritos en python. 13 | 14 | 15 | ## Colaboradores 16 | 17 | - [jsistos](https://github.com/jsistos) 18 | - [PAGuardado](https://github.com/PAGuardado) 19 | - [RamiroFuentes](https://github.com/RamiroFuentes) 20 | - [RodolfoFerro](https://github.com/RodolfoFerro) 21 | - [gargargabs](https://github.com/gargargabs) 22 | - [ZaidTheJedi](https://github.com/ZaidTheJedi) 23 | - [CristopherA96](https://github.com/CristopherA96) 24 | - [Physicworld](https://github.com/Physicworld) 25 | 26 | 27 | ## Licencia 28 | 29 | Este proyecto se encuentra en desarrollo bajo una licencia MIT. 30 | -------------------------------------------------------------------------------- /templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Hello, world! 12 | 13 | 14 | 15 | 50 | 51 | 52 | {% block content %} 53 | {% endblock %} 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | --------------------------------------------------------------------------------