2:I[7085,["193","static/chunks/50d6fc72-245aff52344539f4.js","80","static/chunks/80-33c7d2944da185bc.js","404","static/chunks/404-f593defb55a2776e.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","981","static/chunks/981-fe2bda7cfca46568.js","534","static/chunks/app/opensource/page-2965780df3734314.js"],"default"]
4:I[7556,["193","static/chunks/50d6fc72-245aff52344539f4.js","80","static/chunks/80-33c7d2944da185bc.js","404","static/chunks/404-f593defb55a2776e.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","981","static/chunks/981-fe2bda7cfca46568.js","534","static/chunks/app/opensource/page-2965780df3734314.js"],"default"]
5:I[7080,["193","static/chunks/50d6fc72-245aff52344539f4.js","80","static/chunks/80-33c7d2944da185bc.js","404","static/chunks/404-f593defb55a2776e.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","981","static/chunks/981-fe2bda7cfca46568.js","534","static/chunks/app/opensource/page-2965780df3734314.js"],""]
8:I[2404,["193","static/chunks/50d6fc72-245aff52344539f4.js","80","static/chunks/80-33c7d2944da185bc.js","404","static/chunks/404-f593defb55a2776e.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","981","static/chunks/981-fe2bda7cfca46568.js","534","static/chunks/app/opensource/page-2965780df3734314.js"],"Image"]
9:I[7172,["193","static/chunks/50d6fc72-245aff52344539f4.js","80","static/chunks/80-33c7d2944da185bc.js","404","static/chunks/404-f593defb55a2776e.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","981","static/chunks/981-fe2bda7cfca46568.js","534","static/chunks/app/opensource/page-2965780df3734314.js"],"default"]
a:I[4641,[],""]
b:I[2063,[],""]
c:I[1138,["80","static/chunks/80-33c7d2944da185bc.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","805","static/chunks/805-116be8d08770e766.js","185","static/chunks/app/layout-c73804c0d25f30c7.js"],"default"]
d:"$Sreact.suspense"
e:I[6599,["80","static/chunks/80-33c7d2944da185bc.js","160","static/chunks/app/not-found-c9745f736cdb9e99.js"],"PreloadCss"]
f:I[502,["80","static/chunks/80-33c7d2944da185bc.js","160","static/chunks/app/not-found-c9745f736cdb9e99.js"],"default"]
10:I[4576,["80","static/chunks/80-33c7d2944da185bc.js","391","static/chunks/391-98409a31d73290a8.js","180","static/chunks/180-7ec8ea30b412eccc.js","805","static/chunks/805-116be8d08770e766.js","185","static/chunks/app/layout-c73804c0d25f30c7.js"],"default"]
3:T46a,from datetime import datetime
from typing import Tuple
from pydantic import BaseModel
class Delivery(BaseModel):
timestamp: datetime
dimensions: Tuple[int, int]
m = Delivery(timestamp='2020-01-02T03:04:05Z', dimensions=['10', '20'])
print(repr(m.timestamp))
print(m.dimensions)
6:T73a,import asyncio
from arq import create_pool
from arq.connections import RedisSettings
from httpx import AsyncClient
async def main():
redis = await create_pool(RedisSettings())
for url in ('https://facebook.com', 'https://microsoft.com', 'https://github.com'):
await redis.enqueue_job('download_content', url)
async def download_content(ctx, url):
response = await ctx['session'].get(url)
print(f'{url}: {response.text:.80}...')
return len(response.text)
async def startup(ctx):
ctx['session'] = AsyncClient()7:T578,use speedate::{DateTime, Date, Time};
fn main() {
let dt = DateTime::parse_str("2022-01-01T12:13:14Z").unwrap();
assert_eq!(
dt,
DateTime {
date: Date {
year: 2022,
month: 1,
day: 1,
},
time: Time {
hour: 12,
minute: 13,
second: 14,
microsecond: 0,
tz_offset: Some(0),
},
}
);
println!("{}", dt.to_string());
}0:["R4nbGJfnGLe8LxPAbCtVd",[[["",{"children":["opensource",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["opensource",{"children":["__PAGE__",{},[["$L1",[["$","$L2",null,{}],["$","section",null,{"className":"bg-lithium py-10 md:py-[78px]","children":["$","div",null,{"className":"container","children":["$","div",null,{"className":"grid bg-white md:grid-cols-3","children":[["$","div",null,{"className":"flex flex-col justify-between border-petroleum/20 md:col-span-2 md:border-r","children":[["$","div",null,{"className":"p-6 lg:p-[54px] lg:pb-[61px]","children":[["$","div",null,{"className":"flex items-center gap-3","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":"43","height":"43","viewBox":"0 0 43 43","fill":"none","children":[["$","rect",null,{"x":"0.0356445","y":"0.0361328","width":"43","height":"43","rx":"10.0163","fill":"#E520E9"}],["$","path",null,{"d":"M24.2744 9.04492H16.9705V14.5095H11.667V34.0912H16.9705V27.5169H24.2761C29.3545 27.5169 33.4876 23.3741 33.4876 18.28C33.4876 13.186 29.3545 9.04492 24.2744 9.04492ZM23.8585 22.1902H16.9705V19.1624H22.274V14.3751H23.8602C26.0858 14.3751 27.8971 16.1276 27.8971 18.2835C27.8971 20.4393 26.0858 22.1919 23.8602 22.1919L23.8585 22.1902Z","fill":"#061314"}]]}],["$","div",null,{"className":"text-badge","children":"pydantic"}]]}],["$","h3",null,{"className":"text-40 mt-8 md:mt-10 md:max-w-[486px]","children":"The default data validation library for Python"}]]}],["$","div",null,{"className":"mx-auto aspect-[610/298] max-h-[298px] overflow-hidden border-l border-t border-[#CAD0D0] max-lg:w-[calc(100%-48px)] max-md:max-w-[calc(100vw-70px)] max-md:border-b max-md:border-r md:mr-0","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 576 29","children":[["$","path",null,{"fill":"#F8F8F8","d":"M0 0h576v29H0z"}],["$","circle",null,{"cx":"17","cy":"15","r":"4","fill":"#023032","fillOpacity":".06"}],["$","circle",null,{"cx":"31","cy":"15","r":"4","fill":"#023032","fillOpacity":".06"}],["$","circle",null,{"cx":"45","cy":"15","r":"4","fill":"#023032","fillOpacity":".06"}]]}],["$","pre",null,{"className":"overflow-x-auto whitespace-pre break-words border-t border-[#CAD0D0] bg-[#F8F8F8] p-6","children":["$","code",null,{"className":"text-code !text-[15px]","dangerouslySetInnerHTML":{"__html":"$3"}}]}]]}]]}],["$","div",null,{"className":"flex flex-col pt-6 md:divide-y md:divide-petroleum/20 md:pt-0","children":[["$","div",null,{"className":"flex flex-1 items-start justify-end gap-4 p-6 sm:gap-[23px] md:flex-col lg:px-[54px] lg:pb-[54px]","children":[["$","div",null,{"className":"w-6 shrink-0 sm:w-[26px]","children":["$","$L4",null,{"rive":{"animation":"/rives/icons.riv","max_width":42,"aspect_ratio":"1/1","artboard":"2"}}]}],["$","p",null,{"className":"text-18 !leading-[1.55] text-[#284042]","children":[["$","strong",null,{"children":"Pydantic is the most widely used data validation library,"}]," ","downloaded millions of times a day by thousands of developers all over the world."]}]]}],["$","div",null,{"className":"flex flex-1 items-start justify-end gap-4 p-6 sm:gap-[23px] md:flex-col lg:px-[54px] lg:pb-[54px]","children":[["$","div",null,{"className":"w-6 shrink-0 sm:w-[26px]","children":["$","$L4",null,{"rive":{"animation":"/rives/icons.riv","max_width":42,"aspect_ratio":"1/1","artboard":"10"}}]}],["$","p",null,{"className":"text-18 !leading-[1.55] text-[#284042]","children":[["$","strong",null,{"children":"Pydantic's success stems from its great developer experience."}],"It's simple to use, even when doing complex things."]}]]}]]}]]}]}]}],["$","section",null,{"className":"bg-alabaster","children":["$","div",null,{"className":"container relative pt-12 md:pt-[124px]","children":[["$","div",null,{"className":"grid-l"}],["$","div",null,{"className":"grid-r"}],["$","div",null,{"className":"absolute inset-0 z-10 m-auto h-full w-px bg-petroleum/20"}],["$","div",null,{"className":"grid gap-y-6 px-px md:grid-cols-2","children":[["$","$L5","PydanticAI",{"href":"https://github.com/pydantic/pydantic-ai","className":"group relative z-10 select-text border-y border-petroleum/20 bg-white text-petroleum transition-colors duration-300 hover:bg-paraffin hover:text-white grid items-center gap-10 md:col-span-2 md:grid-cols-2 md:gap-0","draggable":"false","children":[["$","div",null,{"className":"absolute right-0 top-0 z-10 flex size-16 items-center justify-center bg-lithium/20 text-lithium transition-colors group-hover:bg-lithium group-hover:text-white","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 29 28","className":"size-7","children":["$","path",null,{"stroke":"currentColor","strokeWidth":"1.925","d":"M8.308 6.514h13.611v13.612M21.92 6.514 6.265 22.168"}]}]}],["$","div",null,{"className":"flex flex-col p-4 pb-0 md:p-8 lg:p-[54px]","children":[["$","div",null,{"className":"text-badge px-3.5 py-2 text-[14px] !tracking-normal transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white sm:text-[16px] lg:px-[17px] lg:py-3 lg:text-[22px]","children":"PydanticAI"}],["$","p",null,{"className":"text-26 mt-5 md:max-w-[480px]","dangerouslySetInnerHTML":{"__html":"Agent Framework / shim to use Pydantic with LLMs"}}],["$","ul",null,{"className":"mt-6 space-y-3 text-[#284042]/80 transition-colors duration-300 group-hover:text-white/80 md:mt-8 md:max-w-[450px]","children":[["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"PydanticAI is a Python agent framework designed to make it less painful to build production grade applications with Generative AI."]}],["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Model-agnostic: PydanticAI supports OpenAI, Anthropic, Gemini, Deepseek, Ollama, Groq, Cohere, and Mistral."]}]]}]]}],["$","div",null,{"className":"relative z-10 flex items-center justify-center md:aspect-[648/557]","children":["$","div",null,{"className":"code-hover mx-auto max-h-[200px] overflow-hidden border border-rails-white/40 max-md:w-[calc(100vw-70px)] md:aspect-[584/384] md:max-h-[384px]","children":[["$","div",null,{"className":"flex aspect-[576/29] items-center gap-1 bg-white pl-[13px] group-hover:bg-paraffin-light","children":[["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}]]}],["$","pre",null,{"className":"overflow-x-auto whitespace-pre border-t border-rails-white/40 bg-white p-6 group-hover:bg-paraffin-light","children":["$","code",null,{"className":"text-code transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white","dangerouslySetInnerHTML":{"__html":"from pydantic_ai import Agent\n\nagent = Agent(\n 'openai:gpt-4o',\n system_prompt='Be concise, reply with one sentence.',\n)\n\nresult = agent.run_sync('Where does `hello world` come from?')\nprint(result.data)\n\n\n\n"}}]}]]}]}]]}],["$","$L5","arq",{"href":"https://github.com/samuelcolvin/arq/","className":"group relative z-10 select-text border-y border-petroleum/20 bg-white text-petroleum transition-colors duration-300 hover:bg-paraffin hover:text-white flex flex-col justify-between gap-10 md:z-0 lg:gap-0","draggable":"false","children":[["$","div",null,{"className":"absolute right-0 top-0 z-10 flex size-16 items-center justify-center bg-lithium/20 text-lithium transition-colors group-hover:bg-lithium group-hover:text-white","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 29 28","className":"size-7","children":["$","path",null,{"stroke":"currentColor","strokeWidth":"1.925","d":"M8.308 6.514h13.611v13.612M21.92 6.514 6.265 22.168"}]}]}],["$","div",null,{"className":"flex flex-col p-4 pb-0 md:p-8 lg:p-[54px] md:pb-0 lg:pb-0","children":[["$","div",null,{"className":"text-badge px-3.5 py-2 text-[14px] !tracking-normal transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white sm:text-[16px] lg:px-[17px] lg:py-3 lg:text-[22px]","children":"arq"}],["$","p",null,{"className":"text-26 mt-5 md:max-w-[480px]","dangerouslySetInnerHTML":{"__html":"Fast job queuing and RPC in Python with asyncio and redis."}}],["$","ul",null,{"className":"mt-6 space-y-3 text-[#284042]/80 transition-colors duration-300 group-hover:text-white/80 md:mt-8 md:max-w-[450px]","children":[["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Enjoy non-blocking job enqueuing and execution. Multiple jobs can run simultaneously."]}],["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Move fast — asyncio and no forking make Arq around 7x faster than other tools."]}]]}]]}],["$","div",null,{"className":"relative z-10 md:aspect-[540/249]","children":["$","div",null,{"className":"code-hover mx-auto max-h-[200px] overflow-hidden border border-rails-white/40 max-md:w-[calc(100vw-70px)] border-b-0 md:absolute md:inset-x-0 md:bottom-0 md:aspect-[540/249] md:max-h-[249px]","children":[["$","div",null,{"className":"flex aspect-[576/29] items-center gap-1 bg-white pl-[13px] group-hover:bg-paraffin-light","children":[["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}]]}],["$","pre",null,{"className":"overflow-x-auto whitespace-pre border-t border-rails-white/40 bg-white p-6 group-hover:bg-paraffin-light","children":["$","code",null,{"className":"text-code transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white","dangerouslySetInnerHTML":{"__html":"$6"}}]}]]}]}]]}],["$","$L5","speedate",{"href":"https://github.com/pydantic/speedate","className":"group relative z-10 select-text border-y border-petroleum/20 bg-white text-petroleum transition-colors duration-300 hover:bg-paraffin hover:text-white flex flex-col justify-between gap-10 md:z-0 lg:gap-0","draggable":"false","children":[["$","div",null,{"className":"absolute right-0 top-0 z-10 flex size-16 items-center justify-center bg-lithium/20 text-lithium transition-colors group-hover:bg-lithium group-hover:text-white","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 29 28","className":"size-7","children":["$","path",null,{"stroke":"currentColor","strokeWidth":"1.925","d":"M8.308 6.514h13.611v13.612M21.92 6.514 6.265 22.168"}]}]}],["$","div",null,{"className":"flex flex-col p-4 pb-0 md:p-8 lg:p-[54px] md:pb-0 lg:pb-0","children":[["$","div",null,{"className":"text-badge px-3.5 py-2 text-[14px] !tracking-normal transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white sm:text-[16px] lg:px-[17px] lg:py-3 lg:text-[22px]","children":"speedate"}],["$","p",null,{"className":"text-26 mt-5 md:max-w-[480px]","dangerouslySetInnerHTML":{"__html":"Fast and simple datetime, date, time and duration parsing for Rust."}}],["$","ul",null,{"className":"mt-6 space-y-3 text-[#284042]/80 transition-colors duration-300 group-hover:text-white/80 md:mt-8 md:max-w-[450px]","children":[["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Build with total flexibility. Speedate supports multiple formats."]}],["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Enjoy peace of mind — all relaxations from RFC 3339 are compliant with ISO 8601."]}]]}]]}],["$","div",null,{"className":"relative z-10 md:aspect-[540/249]","children":["$","div",null,{"className":"code-hover mx-auto max-h-[200px] overflow-hidden border border-rails-white/40 max-md:w-[calc(100vw-70px)] border-b-0 md:absolute md:inset-x-0 md:bottom-0 md:aspect-[540/249] md:max-h-[249px]","children":[["$","div",null,{"className":"flex aspect-[576/29] items-center gap-1 bg-white pl-[13px] group-hover:bg-paraffin-light","children":[["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}]]}],["$","pre",null,{"className":"overflow-x-auto whitespace-pre border-t border-rails-white/40 bg-white p-6 group-hover:bg-paraffin-light","children":["$","code",null,{"className":"text-code transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white","dangerouslySetInnerHTML":{"__html":"$7"}}]}]]}]}]]}],["$","$L5","jiter",{"href":"https://github.com/pydantic/jiter","className":"group relative z-10 select-text border-y border-petroleum/20 bg-white text-petroleum transition-colors duration-300 hover:bg-paraffin hover:text-white grid items-center gap-10 md:col-span-2 md:grid-cols-2 md:gap-0","draggable":"false","children":[["$","div",null,{"className":"absolute right-0 top-0 z-10 flex size-16 items-center justify-center bg-lithium/20 text-lithium transition-colors group-hover:bg-lithium group-hover:text-white","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 29 28","className":"size-7","children":["$","path",null,{"stroke":"currentColor","strokeWidth":"1.925","d":"M8.308 6.514h13.611v13.612M21.92 6.514 6.265 22.168"}]}]}],["$","div",null,{"className":"flex flex-col p-4 pb-0 md:p-8 lg:p-[54px]","children":[["$","div",null,{"className":"text-badge px-3.5 py-2 text-[14px] !tracking-normal transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white sm:text-[16px] lg:px-[17px] lg:py-3 lg:text-[22px]","children":"jiter"}],["$","p",null,{"className":"text-26 mt-5 md:max-w-[480px]","dangerouslySetInnerHTML":{"__html":"The fast, iterable JSON parser with multiple interfaces."}}],["$","ul",null,{"className":"mt-6 space-y-3 text-[#284042]/80 transition-colors duration-300 group-hover:text-white/80 md:mt-8 md:max-w-[450px]","children":[["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Stable and battle tested, jiter is the most downloaded third party JSON parser for Python"]}],["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Significantly faster than serde-json in most scenarios"]}],["$","li",null,{"className":"text-18 flex items-start gap-2 !leading-[1.55] md:gap-[18px]","children":[["$","svg",null,{"className":"mt-1.5 w-[14px] shrink-0 md:w-[18px]","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 14 14","fill":"none","children":[["$","rect",null,{"width":"14","height":"14","fill":"#E520E9"}],["$","path",null,{"d":"M4 8.68407L5.7033 10.3874L10.8132 4","stroke":"white","strokeWidth":"0.973312","strokeMiterlimit":"10","strokeLinecap":"square"}]]}],"Supports partial/incomplete JSON parsing, especially useful for LLM output"]}]]}]]}],["$","div",null,{"className":"relative z-10 flex items-center justify-center md:aspect-[648/557]","children":["$","div",null,{"className":"code-hover mx-auto max-h-[200px] overflow-hidden border border-rails-white/40 max-md:w-[calc(100vw-70px)] md:aspect-[584/384] md:max-h-[384px]","children":[["$","div",null,{"className":"flex aspect-[576/29] items-center gap-1 bg-white pl-[13px] group-hover:bg-paraffin-light","children":[["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}],["$","div",null,{"className":"size-2 rounded-full bg-daintree/5 group-hover:bg-calcium"}]]}],["$","pre",null,{"className":"overflow-x-auto whitespace-pre border-t border-rails-white/40 bg-white p-6 group-hover:bg-paraffin-light","children":["$","code",null,{"className":"text-code transition-colors duration-300 group-hover:bg-paraffin-light group-hover:text-white","dangerouslySetInnerHTML":{"__html":"use jiter::JsonValue;\n\nfn main() {\n let json_data = r#"\n {\n \\"name\\": \\"John Doe\\",\n \\"age\\": 43,\n \\"phones\\": [\n \\"+44 1234567\\",\n \\"+44 2345678\\"\n ]\n }"#;\n let json_value = JsonValue::parse(json_data.as_bytes(), true).unwrap();\n println!("{:#?}", json_value);\n}"}}]}]]}]}]]}]]}]]}]}],["$","section",null,{"className":"bg-alabaster","children":["$","div",null,{"className":"container relative py-14 md:py-[124px]","children":[["$","div",null,{"className":"grid-l"}],["$","div",null,{"className":"grid-r"}],["$","div",null,{"className":"grid grid-cols-1 max-sm:gap-y-8 sm:grid-cols-2 sm:divide-x sm:border-y-0 lg:grid-cols-3","children":[[["$","$L5",null,{"as":"/articles/q2-2025-summary","href":"/articles/[slug]","className":"group flex flex-col justify-between border-t border-petroleum/20 bg-white transition-colors duration-300 hover:bg-[#F4F1F9] border-b","children":[["$","div",null,{"className":"flex flex-col justify-between gap-6 p-5 md:min-h-[211px] md:p-[30px]","children":[["$","div",null,{"className":"text-15-mono lowercase text-petroleum","children":["/","Pydantic"]}],["$","h3",null,{"className":"text-25","children":"Dashboards, MCP, Evals and more: Pydantic Update Q2 2025"}]]}],["$","div",null,{"className":"flex items-center justify-between gap-3 border-t border-petroleum/20 bg-[#FCFCFC] px-5 py-2.5 transition-colors duration-300 group-hover:bg-[#EEE8FA] md:px-[30px] md:py-[23px]","children":[["$","div",null,{"className":"gap-[14px]x flex items-center gap-3","children":[["$","$L8",null,{"src":"https://avatars.githubusercontent.com/u/4039449","width":28,"height":28,"className":"size-7 shrink-0 rounded-full","alt":"Samuel Colvin"}],["$","div",null,{"children":[["$","div",null,{"className":"text-avatar text-petroleum/80","children":"Samuel Colvin"}],false]}]]}],["$","div",null,{"className":"flex items-center gap-[30px]","children":[false,["$","time",null,{"dateTime":"2025-07-02T09:00:00.000Z","className":"font-diatype text-[12px] !leading-[1.48] tracking-[0.16px] text-petroleum/80 sm:text-[18px] sm:text-[18px]","children":"2025/07/02"}]]}]]}]]}],"$undefined"],[["$","$L5",null,{"as":"/articles/building-data-team-with-pydanticai","href":"/articles/[slug]","className":"group flex flex-col justify-between border-t border-petroleum/20 bg-white transition-colors duration-300 hover:bg-[#F4F1F9] border-b","children":[["$","div",null,{"className":"flex flex-col justify-between gap-6 p-5 md:min-h-[211px] md:p-[30px]","children":[["$","div",null,{"className":"text-15-mono lowercase text-petroleum","children":["/","Logfire"]}],["$","h3",null,{"className":"text-25","children":"Guest Post: Building a Data Team that Never Sleeps with Pydantic AI"}]]}],["$","div",null,{"className":"flex items-center justify-between gap-3 border-t border-petroleum/20 bg-[#FCFCFC] px-5 py-2.5 transition-colors duration-300 group-hover:bg-[#EEE8FA] md:px-[30px] md:py-[23px]","children":[["$","div",null,{"className":"gap-[14px]x flex items-center gap-3","children":[["$","$L8",null,{"src":"$undefined","width":28,"height":28,"className":"size-7 shrink-0 rounded-full","alt":"Nic"}],["$","div",null,{"children":[["$","div",null,{"className":"text-avatar text-petroleum/80","children":"Nic"}],false]}]]}],["$","div",null,{"className":"flex items-center gap-[30px]","children":[false,["$","time",null,{"dateTime":"2025-05-28T09:00:00.000Z","className":"font-diatype text-[12px] !leading-[1.48] tracking-[0.16px] text-petroleum/80 sm:text-[18px] sm:text-[18px]","children":"2025/05/28"}]]}]]}]]}],"$undefined"],[["$","$L5",null,{"as":"/articles/q1-2025-summary","href":"/articles/[slug]","className":"group flex flex-col justify-between border-t border-petroleum/20 bg-white transition-colors duration-300 hover:bg-[#F4F1F9] border-b","children":[["$","div",null,{"className":"flex flex-col justify-between gap-6 p-5 md:min-h-[211px] md:p-[30px]","children":[["$","div",null,{"className":"text-15-mono lowercase text-petroleum","children":["/","Pydantic"]}],["$","h3",null,{"className":"text-25","children":"The Eval has landed 🦅"}]]}],["$","div",null,{"className":"flex items-center justify-between gap-3 border-t border-petroleum/20 bg-[#FCFCFC] px-5 py-2.5 transition-colors duration-300 group-hover:bg-[#EEE8FA] md:px-[30px] md:py-[23px]","children":[["$","div",null,{"className":"gap-[14px]x flex items-center gap-3","children":[["$","$L8",null,{"src":"https://avatars.githubusercontent.com/u/4039449","width":28,"height":28,"className":"size-7 shrink-0 rounded-full","alt":"Samuel Colvin"}],["$","div",null,{"children":[["$","div",null,{"className":"text-avatar text-petroleum/80","children":"Samuel Colvin"}],false]}]]}],["$","div",null,{"className":"flex items-center gap-[30px]","children":[false,["$","time",null,{"dateTime":"2025-04-02T09:00:00.000Z","className":"font-diatype text-[12px] !leading-[1.48] tracking-[0.16px] text-petroleum/80 sm:text-[18px] sm:text-[18px]","children":"2025/04/02"}]]}]]}]]}],"$undefined"]]}]]}]}],["$","$L9",null,{}],["$","section",null,{"className":"bg-alabaster py-16 md:py-24","children":["$","div",null,{"className":"container","children":["$","div",null,{"className":"mx-auto max-w-3xl px-4 sm:px-6 lg:px-8","children":["$","div",null,{"className":"flex flex-col items-center text-center","children":[["$","h2",null,{"className":"text-30 mb-10 font-bold text-petroleum","children":"The Pydantic Open Source Fund"}],["$","p",null,{"className":"text-18 sm:text-20 mb-6 text-petroleum","children":["For too long the open source ecosystem has been taken for granted. We're proud to be part of the movement to change that. More about the Pydantic"," ",["$","$L5",null,{"href":"/articles/pydantic-oss-fund-2024","target":"_blank","className":"underline hover:text-paraffin","children":"Open Source fund initiative."}]]}],["$","p",null,{"className":"text-16 sm:text-18 mb-8 text-petroleum","children":["Pydantic is proud to be a member of the"," ",["$","$L5",null,{"href":"https://opensourcepledge.com/about/","target":"_blank","className":"underline hover:text-paraffin","children":"open source pledge"}]]}]]}]}]}]}]]],null],null]},["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","opensource","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"en","className":"__variable_9a5b5d __variable_6acd15 __variable_2a2340 __variable_a148ac","children":[["$","head",null,{"children":[["$","link",null,{"rel":"apple-touch-icon","sizes":"180x180","href":"/favicon/apple-touch-icon.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"32x32","href":"/favicon/favicon-32x32.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"16x16","href":"/favicon/favicon-16x16.png"}],["$","link",null,{"rel":"manifest","href":"/favicon/site.webmanifest"}],["$","link",null,{"rel":"mask-icon","href":"/favicon/safari-pinned-tab.svg","color":"#000000"}],["$","link",null,{"rel":"shortcut icon","href":"/favicon/favicon.ico"}],["$","meta",null,{"name":"msapplication-TileColor","content":"#000000"}],["$","meta",null,{"name":"msapplication-config","content":"/favicon/browserconfig.xml"}],["$","meta",null,{"name":"theme-color","content":"#000"}],["$","link",null,{"rel":"alternate","type":"application/rss+xml","href":"/feed.xml"}]]}],["$","body",null,{"children":[["$","$Lc",null,{}],["$","main",null,{"className":"pt-[60px] md:pt-[72px]","children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","section",null,{"className":"flex min-h-[calc(100vh-72px)] items-center bg-paraffin py-12","children":["$","div",null,{"className":"container flex flex-col items-center space-y-8 sm:space-y-12","children":[["$","div",null,{"className":"flex w-full max-w-[42.5rem] items-center gap-x-6 sm:gap-x-9","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":"100%","height":"100%","viewBox":"0 0 156 205","fill":"none","className":"w-1/4","children":["$","path",null,{"d":"M99.9345 146.451H0V120.642L92.732 0H124.843V123.643H155.154V146.451H124.843V204.07H99.9345V146.451ZM99.9345 25.5088L25.2087 123.643H99.9345V25.5088Z","fill":"white"}]}],["$","div",null,{"className":"flex-1","children":["$","$d",null,{"fallback":null,"children":[["$","$Le",null,{"moduleIds":["app/not-found.tsx -> @/app/_components/globe/globe"]}],["$","$Lf",null,{"className":"w-full"}]]}]}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":"100%","height":"100%","viewBox":"0 0 156 205","fill":"none","className":"w-1/4","children":["$","path",null,{"d":"M99.9345 146.451H0V120.642L92.732 0H124.843V123.643H155.154V146.451H124.843V204.07H99.9345V146.451ZM99.9345 25.5088L25.2087 123.643H99.9345V25.5088Z","fill":"white"}]}]]}],["$","div",null,{"className":"text-20-mono text-center text-white","children":"Sorry, this page cannot be found."}],["$","$L5",null,{"href":"/","className":"btn btn-lithium sm:!mt-[3.75rem]","children":"Back to home"}]]}]}],"notFoundStyles":[],"styles":null}]}],["$","$L10",null,{}],["$","script",null,{"async":true,"src":"/flarelytics/client.js"}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/fab6518cc982082e.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/a6cbf3812b89b809.css","precedence":"next","crossOrigin":"$undefined"}]],"$L11"]]]]
11:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Open Source | Pydantic"}],["$","meta","3",{"name":"description","content":"Our open source packages are built for the Python and Rust community and MIT licensed — and will remain so, forever."}],["$","meta","4",{"property":"og:title","content":"Open Source | Pydantic"}],["$","meta","5",{"property":"og:description","content":"Our open source packages are built for the Python and Rust community and MIT licensed — and will remain so, forever."}],["$","meta","6",{"property":"og:image:type","content":"image/jpeg"}],["$","meta","7",{"property":"og:image:width","content":"1200"}],["$","meta","8",{"property":"og:image:height","content":"630"}],["$","meta","9",{"property":"og:image","content":"https://pydantic.dev/opensource/opengraph-image.jpg?cadaa33b0619e352"}],["$","meta","10",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","11",{"name":"twitter:title","content":"Open Source | Pydantic"}],["$","meta","12",{"name":"twitter:description","content":"Our open source packages are built for the Python and Rust community and MIT licensed — and will remain so, forever."}],["$","meta","13",{"name":"twitter:image:type","content":"image/jpeg"}],["$","meta","14",{"name":"twitter:image:width","content":"1200"}],["$","meta","15",{"name":"twitter:image:height","content":"630"}],["$","meta","16",{"name":"twitter:image","content":"https://pydantic.dev/opensource/opengraph-image.jpg?cadaa33b0619e352"}],["$","meta","17",{"name":"next-size-adjust"}]]
1:null