Skip to content

Instantly share code, notes, and snippets.

View pbrumblay's full-sized avatar

Peter Brumblay pbrumblay

  • Tyr Consulting, LLC
  • Denver, CO
View GitHub Profile
package com.tyrconsulting.identityparser;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.concurrent.ExecutionException;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
resource "google_privateca_ca_pool" "root_ca_pool" {
location = var.region
project = var.target_project_id
name = "root-ca-pool"
tier = "ENTERPRISE"
publishing_options {
publish_ca_cert = true
publish_crl = true
}
@pbrumblay
pbrumblay / grants.py
Created October 10, 2025 15:39
grants.gov
import xml.etree.ElementTree as ET
from datetime import datetime
from typing import List, Optional, Dict, Any, Union
from pydantic import BaseModel, Field, validator
import os
import pandas as pd
from google.cloud import bigquery, storage
# --- 1. Define the Target Schema using Pydantic ---
# This class defines the structure of our final, clean output object.