João Palmeiro
joaopalmeiro.bsky.social
João Palmeiro
@joaopalmeiro.bsky.social
Data Visualization Engineer at Feedzai

• GitHub: https://github.com/joaopalmeiro
• GitLab: https://gitlab.com/joaommpalmeiro
• Codeberg: https://codeberg.org/joaopalmeiro
New package: praicing (v0.0.1)

Offline utility functions for estimating costs across different model providers. For now, only functions for OpenAI, from calculating tokens for images to estimating costs for messages/prompts.

→ PyPI: pypi.org/project/prai...
→ Repo: github.com/joaopalmeiro...
GitHub - joaopalmeiro/praicing: Offline utility functions for estimating costs across different model providers.
Offline utility functions for estimating costs across different model providers. - joaopalmeiro/praicing
github.com
July 17, 2025 at 11:15 AM
New page: chat-template-viewer.joao.tools

A collection of chat templates rendered for different models and prompts. Created mainly for learning purposes, but also to be used together with Outlines: dottxt-ai.github.io/outlines/lat...
Chat Template Viewer
Rendered chat templates for different models and prompts.
chat-template-viewer.joao.tools
July 13, 2025 at 7:20 PM
New template: template-python-uv-package

Opinionated Python + uv template for new packages. For now, still using the hatchling build backend, but already leveraging some of the latest features, such as the new uv version command.

Repo: github.com/joaopalmeiro...
GitHub - joaopalmeiro/template-python-uv-package: Opinionated Python + uv template for new packages.
Opinionated Python + uv template for new packages. - joaopalmeiro/template-python-uv-package
github.com
July 9, 2025 at 1:44 PM
Introducing the Snippets repo! 🗄️

This repository contains a collection of code snippets/demos for different technologies, each available in a separate ready-to-run project.

→ Repo: github.com/joaopalmeiro...
GitHub - joaopalmeiro/snippets: A collection of code snippets for different technologies.
A collection of code snippets for different technologies. - GitHub - joaopalmeiro/snippets: A collection of code snippets for different technologies.
github.com
November 22, 2023 at 7:44 AM
Introducing promise-allsettled-utils! 🛠️

It's a JS package with utility functions to leverage the Promise.allSettled() method. I'm using it in scripts where I have several asynchronous requests independent of each other, and I'm interested in their individual results.

codeberg.org/joaopalmeiro...
promise-allsettled-utils
Utility functions to complement Promise.allSettled().
codeberg.org
November 10, 2023 at 8:05 AM
ggpointdensity is a package that brings a mix of scatterplots and 2D density plots to ggplot2. Since I had never tested this concept, I prepared a demo using fast-kde, D3, and Vue. Hover over the dots to check the point density estimates.

github.com/joaopalmeiro...
ggpointdensity-demo.surge.sh
GitHub - joaopalmeiro/try-ggpointdensity
Contribute to joaopalmeiro/try-ggpointdensity development by creating an account on GitHub.
github.com
November 5, 2023 at 7:10 AM
Introducing create-vite-tsconfigs and template-vue! 📦

create-vite-tsconfigs packages minified TypeScript configurations used in Vite templates to facilitate their reuse across different projects.

github.com/joaopalmeiro...
GitHub - joaopalmeiro/create-vite-tsconfigs: TSConfig files for projects created with create-vite.
TSConfig files for projects created with create-vite. - GitHub - joaopalmeiro/create-vite-tsconfigs: TSConfig files for projects created with create-vite.
github.com
November 1, 2023 at 11:13 AM
Introducing vitepress-social-media-icons! 🌐

It packs several social media icons to use in VitePress easily, in particular, to configure the default theme's socialLinks.

github.com/joaopalmeiro...
GitHub - joaopalmeiro/vitepress-social-media-icons: VitePress-ready SVG strings for social media ico...
VitePress-ready SVG strings for social media icons. - GitHub - joaopalmeiro/vitepress-social-media-icons: VitePress-ready SVG strings for social media icons.
github.com
October 31, 2023 at 9:08 AM
social-media-icons 0.3.1 is out! 🌐

This version has 3 new icons/logos, a documentation website, and further simplified SVG files thanks to the picosvg package.

github.com/joaopalmeiro...
October 29, 2023 at 1:30 PM
Introducing d3-extra-scale-chromatic! 📊

d3-extra-scale-chromatic is a JS package with color schemes to complement d3-scale-chromatic and create D3 charts. The first version has 10 categorical schemes ready to be used.

github.com/joaopalmeiro...
GitHub - joaopalmeiro/d3-extra-scale-chromatic: Extra color scales for D3, following d3-scale-chroma...
Extra color scales for D3, following d3-scale-chromatic. - GitHub - joaopalmeiro/d3-extra-scale-chromatic: Extra color scales for D3, following d3-scale-chromatic.
github.com
October 28, 2023 at 6:27 AM