Skip to content

Commit

Permalink
docs: add pinochet analyze entry and workshop updates (#13)
Browse files Browse the repository at this point in the history
* docs: add an update entry with the workshop docs

* docs: add entry for the pinochet-analyze-50 repo
  • Loading branch information
diegoquintanav authored Jan 1, 2024
1 parent 7cd8256 commit c1434d6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/blog/13_a_primer_on_poetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Summary: Taking back control of your python development tools.

[TOC]

# Update

I have formatted this entry into a workshop format for [Som Energia](https://somenergia.coop), the cooperative I work with at Girona. You can find it [here](https://som-energia.github.io/somenergia-poetry-docker-workshop/).

# Sharpen your axe

> If I had to chop down a tree in eight hours, I would spend six hours sharpening my axe.
Expand Down
4 changes: 4 additions & 0 deletions content/blog/14_docker_and_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Summary: Getting python containers right

[TOC]

# Update

I have formatted this entry into a workshop format for [Som Energia](https://somenergia.coop), the cooperative I work with at Girona. You can find it [here](https://som-energia.github.io/somenergia-poetry-docker-workshop/).

## What

I've toyed with docker a fair amount of time. There's a lot going on to get a working container so let me summarize a bit of what I'll show here:
Expand Down
27 changes: 27 additions & 0 deletions content/blog/15_pinochet_rettig_revisited.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Title: Python and Docker
Date: 2024-01-01 15:00:00 +0400
Category: Development
Tags: dbt, docker, data-engineering
Slug: pinochet-rettig-v2
Authors: Diego Quintana
Status: published
Summary: Revisiting the Pinochet-Rettig dataset with dbt and docker

## What

This is a follow up to the [Pinochet-Rettig](https://diegoquintanav.github.io/pinochet-neo4j.html) post. I've learned a lot since then and I wanted to revisit the dataset with a more robust approach. I was motivated also by the conmemoration of the [50th anniversary of the coup d'etat in Chile](https://50.cl/).

The project highlights and contributions as of now are:

- [dbt documentation](https://diegoquintanav.github.io/pinochet-analyze-50/dbt_docs)
- [Elementary Report](https://diegoquintanav.github.io/pinochet-analyze-50/elementary) using [Elementary](https://www.elementary-data.com/)
- [FastAPI Docs](https://pinochet-api.fly.dev/docs) hosted on [fly.io](https://fly.io)
- [Graphql endpoint](https://pinochet-api.fly.dev/graphql) using [strawberry-graphql](https://strawberry.rocks/)

I'm using dbt to transform the data and expose it as a REST API using FastAPI with a GraphQL layer, as well as a semantic layer for running SPARQL queries. I'm also serving the api using fly.io, which is a really cool service that is not charging me anything for this project (bills below USD 5 monthly are 100% free as of now).

The data is stored in a Postgres database with postgis, and everything is running in Docker containers.

Make sure to visit the [Github repo](https://github.com/diegoquintanav/pinochet-analyze-50) and its README for more details.

I wish I had more time to work on this, but I'm happy with the results so far. Let me know if you want to contribute!

0 comments on commit c1434d6

Please sign in to comment.