Compare commits
10 Commits
14d68ac00b
...
1e5ef0443e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e5ef0443e | |||
| 19aba001dc | |||
| 77539143b1 | |||
| df0c0480c7 | |||
| 9da9905ec7 | |||
| d430b8fdf9 | |||
| 402373726e | |||
| c8fc711edd | |||
| 3f66e2907b | |||
| 24ef62cbd0 |
14
README.md
14
README.md
@@ -1,7 +1,9 @@
|
||||
## Hi, I'm Rafnix Guzmán a Python Software Developer
|
||||

|
||||
|
||||
 
|
||||

|
||||

|
||||
[](https://deepwiki.com/rafnixg/rafnixg)
|
||||
```python
|
||||
class RafnixG:
|
||||
|
||||
@@ -46,12 +48,12 @@ if __name__ == '__main__':
|
||||
## Latest Posts (Spanish)
|
||||
|
||||
|
||||
- [Cómo publicar tu propia librería de Python: Guía paso a paso](https://blog.rafnixg.dev/como-publicar-tu-propia-libreria-de-python-guia-paso-a-paso)
|
||||
- [Nanobot: Arquitectura y Funcionamiento del Agente IA Ultra-ligero](https://blog.rafnixg.dev/nanobot-arquitectura-y-funcionamiento-del-agente-ia-ultra-ligero)
|
||||
|
||||
- [⚙️ Como automatizar tu librería en PyPI con GitHub Actions](https://blog.rafnixg.dev/como-automatizar-tu-libreria-en-pypi-con-github-actions)
|
||||
|
||||
- [🏗️ Cómo publicar tu propia librería de Python: Guía paso a paso](https://blog.rafnixg.dev/como-publicar-tu-propia-libreria-de-python-guia-paso-a-paso)
|
||||
|
||||
- [Shell de Odoo: Domina Operaciones Avanzadas, Integración de Librerías y Automatización de Tareas](https://blog.rafnixg.dev/shell-de-odoo-domina-operaciones-avanzadas-integracion-de-librerias-y-automatizacion-de-tareas)
|
||||
|
||||
- [Explorando Odoo a fondo: Cómo trabajar con la shell de la CLI y configurar IPython como REPL](https://blog.rafnixg.dev/explorando-odoo-a-fondo-como-trabajar-con-la-shell-de-la-cli-y-configurar-ipython-como-repl)
|
||||
|
||||
- [Crea tu propio chatbot con la API de OpenAI y Gradio en Python](https://blog.rafnixg.dev/crea-tu-propio-chatbot-con-la-api-de-openai-y-gradio-en-python)
|
||||
|
||||
- [Los servicios que uso en mi HomeLab server: virtualización, contenedores y más.](https://blog.rafnixg.dev/los-servicios-que-uso-en-mi-homelab-server-virtualizacion-contenedores-y-mas)
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
## Hi, I'm Rafnix Guzmán a Python Software Developer
|
||||

|
||||
|
||||
 
|
||||

|
||||

|
||||
[](https://deepwiki.com/rafnixg/rafnixg)
|
||||
```python
|
||||
class RafnixG:
|
||||
|
||||
|
||||
6
app.py
6
app.py
@@ -23,6 +23,9 @@ def get_latest_posts(max_posts: int) -> list:
|
||||
max_posts = MAX_POSTS
|
||||
# Get the latest blog posts
|
||||
data = BlogPosts().posts
|
||||
# Return an empty list when the source returns None or no posts.
|
||||
if not data:
|
||||
return []
|
||||
return data[0:max_posts]
|
||||
|
||||
def render_readme(data: dict) -> None:
|
||||
@@ -45,9 +48,6 @@ def main():
|
||||
# Get the latest blog posts
|
||||
latest_posts = get_latest_posts(MAX_POSTS)
|
||||
print("Latest posts: ", latest_posts)
|
||||
# Check if latest_posts is None
|
||||
if not latest_posts:
|
||||
raise ValueError("Latest posts are None")
|
||||
# Data to render
|
||||
data = {
|
||||
'latest_post': latest_posts
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Jinja2==3.1.6
|
||||
rafnixg==1.7.5
|
||||
rafnixg>=1.7.5
|
||||
|
||||
Reference in New Issue
Block a user