Skip to content

Instantly share code, notes, and snippets.

View eseglem's full-sized avatar

Erik Seglem eseglem

  • BigBear.ai
  • Washington, DC
View GitHub Profile
@eseglem
eseglem / test_stac_pydantic_benchmark.py
Last active December 7, 2023 06:22
stac_pydantic benchmarks
import copy
import json
import orjson
from dateutil import parser
from pystac import Asset, Item, Link
from stac_pydantic import Item as PydanticItem
self_link_dict = {
"rel": "self",