From 3fac8162d16576b17474f9c9be2bb867206ccf4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dtalo=20Epif=C3=A2nio?= Date: Fri, 15 Sep 2023 08:39:11 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=20tradu=C3=A7=C3=A3o.=20WIP=20adiciona?= =?UTF-8?q?r=20nbs=20para=20mostrar=20interfaces=20utilizando=20jupyter=20?= =?UTF-8?q?notebooks=20e=20chatgpt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- presentation/index.qmd | 61 ++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/presentation/index.qmd b/presentation/index.qmd index 5fe0632..567564a 100644 --- a/presentation/index.qmd +++ b/presentation/index.qmd @@ -641,44 +641,41 @@ Adicionando arquivos `.github/worflows/*.yaml` - Crie uma nova release na interface do Github ::: -# Python Packaging history +# Mais teoria ou prática? -Let's look at the past to discuss the future of Python packaging +Você que decide -## History +# História dos pacotes python + +Vamos discutir o passado e futuro dos pacotes Python + +## História ::: {.incremental} -- Python 1 (1998-2000) didn't have a package manager -- Distutils was added to Python 1.6 using setup.py -- In 2003 setuptools was introduced as an improvement of distutils -- In 2004 easy_install was developed to be used alongside setuptools -- In 2008 the PyPA (Python Packaging Authority) was founded +- Python 1 (1998-2000) não tinha um gerenciador de pacote +- Distutils foi adicionado em Python 1.6 utilizando setup.py +- Em 2003 setuptools foi introduzido como melhoria ao distutils +- Em 2004 easy_install foi desenvolvido para ser utilizado junto ao setuptools +- Em 2008 a PyPA (Python Packaging Authority) foi fundada ::: ## History ::: {.incremental} -- In 2011 `pip` became the default package manager -- In 2013 the `wheel` package was introduced -- In 2017 the `flit` package was developed, introducing `pyproject.toml` -- In 2020 the PEP 621 made `pyproject.toml` the standard way to develop packages +- Em 2011 `pip` se tornou o gerenciador de pacotes padrão +- Em 2013 o formato `wheel` foi introduzido +- Em 2017 o pacote `flit` introduziu `pyproject.toml` +- Em 2020 a PEP 621 fez `pyproject.toml` se tornar o padrão de configuração de pacotes ::: -# Quarto and Styling - -[Quarto](quarto.org/) is an open source tool that allows creating content dinamically using Python, R, Julia and Observable. It was introduced to Nbdev recently - -## Executing - -Try to execute `quarto preview nbs/00_deck.ipynb` in your terminal +# Quarto e Estilização -:::{.callout-note} -Quarto is already installed on our setup thanks to `nbdev_install_quarto` -::: +[Quarto](quarto.org/) é uma ferramenta open source que permite que você crie conteúdo utilizando Python, R, Julia e Observable. +Nbdev <3 Quarto ## Doc preview -Changing ports when rendering nbdev docs can be annoying, change `_quarto.yml` to fix a port and avoid opening new tabs. +Mudar de portas quando renderizando a documentação pode ser chato. Você pode fixar uma porta e evitar abrir novas abas: ```yaml project: @@ -687,9 +684,9 @@ project: browser: false ``` -## Doc navigation +## Navegação da documentação -Quarto allows easy customization of the navbar +Fácil customização da barra de navegação ```yaml website: @@ -699,7 +696,7 @@ website: collapse-below: lg left: - text: "My page" - href: gettings_started.ipynb + href: index.ipynb right: - icon: github href: "https://github.com/user/project" @@ -707,8 +704,6 @@ website: ## Google analytics -Activate analytics tracking but remember asking for cookie consent if your country legislation requires it - ```yaml website: google-analytics: "UA-XXXXXXXX" @@ -717,8 +712,6 @@ website: ## Dark mode -You can define the quarto theme to (de)activate dark mode - ```yaml format: html: @@ -729,16 +722,14 @@ format: ## Page navigation -Your project may require continuous page navigation +Se seu projeto precisa de navegação contínua ```yaml website: page-navigation: true ``` -## Reader mode - -Enable reader mode +## Modo leitura ```yaml website: @@ -747,7 +738,7 @@ website: # Playground -We've already published our package and know more about nbdev powers, let's have some fun with nbs +Já publicamos nosso pacote, agora vamos descobrir mais dos super poderes dos Jupyter notebooks ## Ipywidgets