Compare commits

...
10 Commits
Author SHA1 Message Date
Esa Kataja fd7809e017 Fix psm append not working 2025-03-13 16:10:03 +02:00
Esa Kataja f29073e3af Fix psm file was overwritten 2025-03-13 15:59:39 +02:00
Esa Kataja d7f2d048b3 Change xml file backup 2025-03-13 15:59:01 +02:00
Esa Kataja e722565199 Add psm writer 2025-03-13 15:54:09 +02:00
Esa Kataja f01f45ada2 Add requirements.txt for pip support 2025-03-13 14:38:35 +02:00
Esa Kataja 4b5487fb23 Add Readme 2025-03-13 14:38:16 +02:00
Esa Kataja 89ebeef1ee Add help texts to cli interface 2025-03-13 14:26:46 +02:00
Esa Kataja af9e576fc5 Ignore bak files 2025-03-13 14:26:25 +02:00
Esa Kataja f93584a97d Fix _get_field not finding all fields 2025-03-13 14:20:49 +02:00
Esa Kataja a5e902a434 Remove pydantic, add loguru 2025-03-13 14:20:10 +02:00
10 changed files with 256 additions and 119 deletions
+1
View File
@@ -13,3 +13,4 @@ wheels/
*.json
*.psm1
*.xml
*.bak
+26
View File
@@ -0,0 +1,26 @@
# JSON/XML Parser Application
## Overview
Configuration management utility for One Identity Manager (OIM) PowerShell connectors. Transforms JSON database exports into validated XML configuration files, ensuring consistent deployment of connection specifications.
## Installation
```bash
pip install -r requirements.txt
```
## Usage
```bash
python src/main.py \
--json <input.json> \
--xml <output.xml> \
--name "Connection Name" \
--description "Connection Description" \
[--pretty]
```
**Options**:
- `--json/-j`: Path to input JSON file (required)
- `--xml/-x`: Output XML file path (required)
- `--name/-n`: Connection name (required)
- `--description/-d`: Connection description (required)
- `--pretty/-p`: Enable formatted XML output (flag)
+1 -1
View File
@@ -6,8 +6,8 @@ readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"click>=8.1.8",
"loguru>=0.7.3",
"lxml>=5.3.1",
"pydantic>=2.10.6",
]
[dependency-groups]
+8
View File
@@ -0,0 +1,8 @@
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o requirements.txt
click==8.1.8
# via int (pyproject.toml)
loguru==0.7.3
# via int (pyproject.toml)
lxml==5.3.1
# via int (pyproject.toml)
+8 -3
View File
@@ -12,8 +12,13 @@ def _get_fields(json_data: dict) -> list[str]:
Returns:
list[str]: A list of field names extracted from the JSON data.
"""
attributes = json_data["conceptCodes"][0]["attributes"]
namelist = [attribute["attributeName"] for attribute in attributes]
namelist = []
for attr in json_data["conceptCodes"]:
for name in attr["attributes"]:
if name["attributeName"] not in namelist:
namelist.append(name["attributeName"])
return namelist
def parse_json(json_file: Path) -> list[str]:
@@ -32,6 +37,6 @@ def parse_json(json_file: Path) -> list[str]:
try:
with open(json_file, "r") as f:
json_data = json.load(f)
except json.JSONDecodeError as e:
except json.JSONDecodeError:
raise click.FileError(json_file, "Not a valid JSON file.")
return _get_fields(json_data)
+6 -4
View File
@@ -2,20 +2,22 @@ import click
from pathlib import Path
from json_parser import parse_json
from psm_parser import write_psm
from xml_parser import get_xml_data, add_connection, write_xml_data
@click.command
@click.option('-j', '--json', type=Path, required=True)
@click.option('-x', '--xml', type=Path, required=True)
@click.option('-n', '--name', type=str, required=True)
@click.option('-d', '--description', type=str, required=True)
@click.option('-j', '--json', type=Path, required=True, help='Path to the JSON file')
@click.option('-x', '--xml', type=Path, required=True, help='Path to the XML file. If the file does not exist, a default configuration will be generated.')
@click.option('-n', '--name', type=str, required=True, help='Name of the connection')
@click.option('-d', '--description', type=str, required=True, help='Description of the connection')
@click.option('-p', '--pretty', is_flag=True, default=False, help='Enable pretty output')
def main(json: Path, xml: Path, name: str, description: str, pretty: bool):
xml_data = get_xml_data(xml)
field_names = parse_json(json)
root = add_connection(xml_data, name, field_names, description=description)
write_xml_data(root, xml, pretty=pretty)
write_psm(name, field_names)
if __name__ == "__main__":
-36
View File
@@ -1,36 +0,0 @@
from pydantic import BaseModel, Field
from datetime import date, datetime
from pydantic_core import Url
class AttributeData(BaseModel):
attributeName: str
attributeValue: list[str]
class LinkData(BaseModel):
href: Url
rel: str
type: str
class ConceptCodeData(BaseModel):
attributes: list[AttributeData]
beginDate: date = Field(...)
classificationId: str
classificationName: str
conceptCodeId: str
createDate: datetime
expirationDate: date
lastModifiedBy: str
lastModifiedDate: datetime
links: list[LinkData]
status: str
versionId: str
versionName: str
class Data(BaseModel):
conceptCodes: list[ConceptCodeData]
links: list[LinkData]
page: int
pageSize: int
totalItems: int
totalPages: int
+179
View File
@@ -0,0 +1,179 @@
import shutil
from pathlib import Path
from datetime import datetime
from xml_parser import sanitize_name
get_all_code = """
function Get-AllCodeServerPages!NAME! {
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]
[string]$Resource,
[Parameter(Mandatory=$true)]
[string]$RootProperty,
[Parameter(Mandatory=$false)]
[string]$CacheKeyProperty = "conceptCodeId",
[Parameter(Mandatory=$false)]
[ScriptBlock]$Converter = ${function:ConvertFrom-CodeServerObject!NAME!},
[Parameter(Mandatory=$false)]
[int]$PageSize = 500
)
begin {
if ($null -eq $Global:cache) {
$Global:cache = @{}
}
$cacheKey = $Resource.GetHashCode()
$cache[$cacheKey] = @{}
}
process {
$currentPage = 0;
$Global:debugOut = @()
while ($null -eq $data.totalPages -or $currentPage -lt $data.totalPages) {
$uri = "{0}?pageSize={1}&page={2}" -f $Resource, $PageSize, ++$currentPage
$data = Invoke-RestMethod -Uri $uri
write-debug $uri
if ($null -eq $data.totalPages) {
throw "Did not get totalPages, abort!"
} else {
$Global:debugOut += $data.conceptCodes
if ($null -ne $Converter) {
foreach ($codeObject in $data.$RootProperty) {
$convertedObject = Invoke-Command -ScriptBlock $Converter -ArgumentList (,$codeObject)
$Global:cache[$cacheKey].Add($convertedObject.$CacheKeyProperty, $convertedObject)
}
} else {
foreach ($codeObject in $data.$RootProperty) {
$key = ($objAttributes | Where-Object {$_.attributeName -eq $CacheKeyProperty}).attributeValue
$Global:cache[$cacheKey].Add($key, $codeObject.attributes)
}
}
}
}
write-output $cache[$cacheKey].Values
}
end {
}
}
"""
get_code = """
function Get-CodeServerObject!NAME! {
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]
[string]$conceptCodeId,
[Parameter(Mandatory=$true)]
[string]$Resource,
[Parameter(Mandatory=$true)]
[string]$RootProperty,
[Parameter(Mandatory=$false)]
[string]$CacheKeyProperty = "conceptCodeId"
)
begin {
if ($null -eq $Global:cache) {
$params = @{
Resource = $Resource;
RootProperty = $RootProperty;
}
if ($PSBoundParameters.ContainsKey("CacheKeyProperty")) {
$params.Add("CacheKeyProperty", $CacheKeyProperty)
}
[void](Get-AllCodeServerPagesRoles @params)
}
$cacheKey = $Resource.GetHashCode()
}
process {
Write-Debug $cacheKey
Write-Output $cache[$cacheKey][$conceptCodeId]
}
end {
}
}
"""
convert_from = """
Function ConvertFrom-CodeServerObject!NAME!([PSCustomObject[]]$codeServerObject!NAME!) {
$map = @{
!MAPS!
}
if ($null -eq $codeServerObject!NAME!) {
return
}
$obj = New-Object CodeServer!NAME! -ArgumentList $codeServerObject!NAME!
$Global:meDebug = $codeServerObject!NAME!
write-output $obj
}
"""
class_definition = """
class CodeServer!NAME! {
CodeServer!NAME!() {}
CodeServer!NAME!([psobject]$source) {
$dic = @{}
$source.attributes | foreach-object {$dic.Add($_.attributeName, $_.attributevalue)}
$this.{conceptCodeId} = $source.conceptCodeId
!VARIABLES!
}
!STRINGS!
}
Export-ModuleMember ConvertFrom-CodeServerObject!NAME!
Export-AllCodeServerPages!NAME!
Export-CodeServerObject!NAME!
"""
def define_maps(items: list[str]) -> str:
return "\n".join([f"\t'{sanitize_name(item)}' = '{item}'" for item in items])
def define_variables(items: list[str]) -> str:
return "\n".join([f"\t$this.{{{sanitize_name(item)}}} = $dic['{item}']" for item in items])
def define_strings(items: list[str]) -> str:
return "\n".join(["\t" + "[string]$" + "{" + sanitize_name(item) + "}" for item in items])
def write_psm(name, items: list[str], filename: Path = Path("Connector.psm1")) -> str:
if filename.exists():
backup_filename = str(filename) + f".{datetime.now().strftime('%Y-%m-%d.%H%M%S')}.bak"
shutil.copy2(filename, backup_filename)
output = get_all_code.replace("!NAME!", name)
output += get_code.replace("!NAME!", name)
output += convert_from.replace("!NAME!", name).replace("!MAPS!", define_maps(items))
output += class_definition.replace("!NAME!", name).replace("!VARIABLES!", define_variables(items)).replace("!STRINGS!", define_strings(items))
with open(filename, "a") as f:
f.write(output)
pass
+6 -5
View File
@@ -1,10 +1,11 @@
import lxml.etree as ET
from pathlib import Path
import click
from datetime import datetime
def write_xml_data(root: ET.Element, file_path: Path, pretty: bool = True) -> None:
if file_path.exists():
file_path.rename(file_path.with_suffix(".bak"))
file_path.rename(str(file_path) + f".{datetime.now().strftime('%Y-%m-%d.%H%M%S')}.bak")
xml_str = ET.tostring(root, encoding="utf-8", xml_declaration=True, pretty_print=pretty)
if pretty:
# Parse the XML string to ensure proper indentation
@@ -13,7 +14,7 @@ def write_xml_data(root: ET.Element, file_path: Path, pretty: bool = True) -> No
xml_str = ET.tostring(root, encoding="utf-8", xml_declaration=True, pretty_print=pretty)
file_path.write_bytes(xml_str)
def _sanitize_name(name: str) -> str:
def sanitize_name(name: str) -> str:
"""
Sanitize a name by removing all non-letter characters except hyphens and Scandinavian letters.
"""
@@ -61,10 +62,10 @@ def add_connection(root: ET.Element, name: str, attr_list: list[str], descriptio
ET.SubElement(mapping, "Map", ToCommand=f"Get-CodeServerPages{name}", Parameter="conceptCodeId")
for attr in attr_list:
property = ET.SubElement(properties, "Property", Name=_sanitize_name(attr), DataType="String", IsMultivalue="false", IsAutoFill="false")
property = ET.SubElement(properties, "Property", Name=sanitize_name(attr), DataType="String", IsMultivalue="false", IsAutoFill="false")
return_binding = ET.SubElement(property, "ReturnBinding")
ET.SubElement(return_binding, "Bind", CommandResultOf=f"Get-AllCodeServerPages{name}", Path=_sanitize_name(attr))
ET.SubElement(return_binding, "Bind", CommandResultOf=f"Get-CodeServerPage{name}", Path=_sanitize_name(attr))
ET.SubElement(return_binding, "Bind", CommandResultOf=f"Get-AllCodeServerPages{name}", Path=sanitize_name(attr))
ET.SubElement(return_binding, "Bind", CommandResultOf=f"Get-CodeServerPage{name}", Path=sanitize_name(attr))
read_configuration = ET.SubElement(new_class, "ReadConfiguration")
listing_command = ET.SubElement(read_configuration, "ListingCommand", Command=f"Get-AllCodeServerPages{name}")
Generated
+19 -68
View File
@@ -2,15 +2,6 @@ version = 1
revision = 1
requires-python = ">=3.12"
[[package]]
name = "annotated-types"
version = "0.7.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643 },
]
[[package]]
name = "click"
version = "8.1.8"
@@ -38,8 +29,8 @@ version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "click" },
{ name = "loguru" },
{ name = "lxml" },
{ name = "pydantic" },
]
[package.dev-dependencies]
@@ -50,13 +41,26 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "click", specifier = ">=8.1.8" },
{ name = "loguru", specifier = ">=0.7.3" },
{ name = "lxml", specifier = ">=5.3.1" },
{ name = "pydantic", specifier = ">=2.10.6" },
]
[package.metadata.requires-dev]
dev = [{ name = "rich", specifier = ">=13.9.4" }]
[[package]]
name = "loguru"
version = "0.7.3"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
{ name = "win32-setctime", marker = "sys_platform == 'win32'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/3a/05/a1dae3dffd1116099471c643b8924f5aa6524411dc6c63fdae648c4f1aca/loguru-0.7.3.tar.gz", hash = "sha256:19480589e77d47b8d85b2c827ad95d49bf31b0dcde16593892eb51dd18706eb6", size = 63559 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/0c/29/0348de65b8cc732daa3e33e67806420b2ae89bdce2b04af740289c5c6c8c/loguru-0.7.3-py3-none-any.whl", hash = "sha256:31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c", size = 61595 },
]
[[package]]
name = "lxml"
version = "5.3.1"
@@ -120,59 +124,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979 },
]
[[package]]
name = "pydantic"
version = "2.10.6"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "annotated-types" },
{ name = "pydantic-core" },
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/b7/ae/d5220c5c52b158b1de7ca89fc5edb72f304a70a4c540c84c8844bf4008de/pydantic-2.10.6.tar.gz", hash = "sha256:ca5daa827cce33de7a42be142548b0096bf05a7e7b365aebfa5f8eeec7128236", size = 761681 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/f4/3c/8cc1cc84deffa6e25d2d0c688ebb80635dfdbf1dbea3e30c541c8cf4d860/pydantic-2.10.6-py3-none-any.whl", hash = "sha256:427d664bf0b8a2b34ff5dd0f5a18df00591adcee7198fbd71981054cef37b584", size = 431696 },
]
[[package]]
name = "pydantic-core"
version = "2.27.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/fc/01/f3e5ac5e7c25833db5eb555f7b7ab24cd6f8c322d3a3ad2d67a952dc0abc/pydantic_core-2.27.2.tar.gz", hash = "sha256:eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39", size = 413443 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/d6/74/51c8a5482ca447871c93e142d9d4a92ead74de6c8dc5e66733e22c9bba89/pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:9e0c8cfefa0ef83b4da9588448b6d8d2a2bf1a53c3f1ae5fca39eb3061e2f0b0", size = 1893127 },
{ url = "https://files.pythonhosted.org/packages/d3/f3/c97e80721735868313c58b89d2de85fa80fe8dfeeed84dc51598b92a135e/pydantic_core-2.27.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:83097677b8e3bd7eaa6775720ec8e0405f1575015a463285a92bfdfe254529ef", size = 1811340 },
{ url = "https://files.pythonhosted.org/packages/9e/91/840ec1375e686dbae1bd80a9e46c26a1e0083e1186abc610efa3d9a36180/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:172fce187655fece0c90d90a678424b013f8fbb0ca8b036ac266749c09438cb7", size = 1822900 },
{ url = "https://files.pythonhosted.org/packages/f6/31/4240bc96025035500c18adc149aa6ffdf1a0062a4b525c932065ceb4d868/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:519f29f5213271eeeeb3093f662ba2fd512b91c5f188f3bb7b27bc5973816934", size = 1869177 },
{ url = "https://files.pythonhosted.org/packages/fa/20/02fbaadb7808be578317015c462655c317a77a7c8f0ef274bc016a784c54/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:05e3a55d124407fffba0dd6b0c0cd056d10e983ceb4e5dbd10dda135c31071d6", size = 2038046 },
{ url = "https://files.pythonhosted.org/packages/06/86/7f306b904e6c9eccf0668248b3f272090e49c275bc488a7b88b0823444a4/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c3ed807c7b91de05e63930188f19e921d1fe90de6b4f5cd43ee7fcc3525cb8c", size = 2685386 },
{ url = "https://files.pythonhosted.org/packages/8d/f0/49129b27c43396581a635d8710dae54a791b17dfc50c70164866bbf865e3/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fb4aadc0b9a0c063206846d603b92030eb6f03069151a625667f982887153e2", size = 1997060 },
{ url = "https://files.pythonhosted.org/packages/0d/0f/943b4af7cd416c477fd40b187036c4f89b416a33d3cc0ab7b82708a667aa/pydantic_core-2.27.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:28ccb213807e037460326424ceb8b5245acb88f32f3d2777427476e1b32c48c4", size = 2004870 },
{ url = "https://files.pythonhosted.org/packages/35/40/aea70b5b1a63911c53a4c8117c0a828d6790483f858041f47bab0b779f44/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:de3cd1899e2c279b140adde9357c4495ed9d47131b4a4eaff9052f23398076b3", size = 1999822 },
{ url = "https://files.pythonhosted.org/packages/f2/b3/807b94fd337d58effc5498fd1a7a4d9d59af4133e83e32ae39a96fddec9d/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:220f892729375e2d736b97d0e51466252ad84c51857d4d15f5e9692f9ef12be4", size = 2130364 },
{ url = "https://files.pythonhosted.org/packages/fc/df/791c827cd4ee6efd59248dca9369fb35e80a9484462c33c6649a8d02b565/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a0fcd29cd6b4e74fe8ddd2c90330fd8edf2e30cb52acda47f06dd615ae72da57", size = 2158303 },
{ url = "https://files.pythonhosted.org/packages/9b/67/4e197c300976af185b7cef4c02203e175fb127e414125916bf1128b639a9/pydantic_core-2.27.2-cp312-cp312-win32.whl", hash = "sha256:1e2cb691ed9834cd6a8be61228471d0a503731abfb42f82458ff27be7b2186fc", size = 1834064 },
{ url = "https://files.pythonhosted.org/packages/1f/ea/cd7209a889163b8dcca139fe32b9687dd05249161a3edda62860430457a5/pydantic_core-2.27.2-cp312-cp312-win_amd64.whl", hash = "sha256:cc3f1a99a4f4f9dd1de4fe0312c114e740b5ddead65bb4102884b384c15d8bc9", size = 1989046 },
{ url = "https://files.pythonhosted.org/packages/bc/49/c54baab2f4658c26ac633d798dab66b4c3a9bbf47cff5284e9c182f4137a/pydantic_core-2.27.2-cp312-cp312-win_arm64.whl", hash = "sha256:3911ac9284cd8a1792d3cb26a2da18f3ca26c6908cc434a18f730dc0db7bfa3b", size = 1885092 },
{ url = "https://files.pythonhosted.org/packages/41/b1/9bc383f48f8002f99104e3acff6cba1231b29ef76cfa45d1506a5cad1f84/pydantic_core-2.27.2-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7d14bd329640e63852364c306f4d23eb744e0f8193148d4044dd3dacdaacbd8b", size = 1892709 },
{ url = "https://files.pythonhosted.org/packages/10/6c/e62b8657b834f3eb2961b49ec8e301eb99946245e70bf42c8817350cbefc/pydantic_core-2.27.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:82f91663004eb8ed30ff478d77c4d1179b3563df6cdb15c0817cd1cdaf34d154", size = 1811273 },
{ url = "https://files.pythonhosted.org/packages/ba/15/52cfe49c8c986e081b863b102d6b859d9defc63446b642ccbbb3742bf371/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71b24c7d61131bb83df10cc7e687433609963a944ccf45190cfc21e0887b08c9", size = 1823027 },
{ url = "https://files.pythonhosted.org/packages/b1/1c/b6f402cfc18ec0024120602bdbcebc7bdd5b856528c013bd4d13865ca473/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fa8e459d4954f608fa26116118bb67f56b93b209c39b008277ace29937453dc9", size = 1868888 },
{ url = "https://files.pythonhosted.org/packages/bd/7b/8cb75b66ac37bc2975a3b7de99f3c6f355fcc4d89820b61dffa8f1e81677/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce8918cbebc8da707ba805b7fd0b382816858728ae7fe19a942080c24e5b7cd1", size = 2037738 },
{ url = "https://files.pythonhosted.org/packages/c8/f1/786d8fe78970a06f61df22cba58e365ce304bf9b9f46cc71c8c424e0c334/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eda3f5c2a021bbc5d976107bb302e0131351c2ba54343f8a496dc8783d3d3a6a", size = 2685138 },
{ url = "https://files.pythonhosted.org/packages/a6/74/d12b2cd841d8724dc8ffb13fc5cef86566a53ed358103150209ecd5d1999/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bd8086fa684c4775c27f03f062cbb9eaa6e17f064307e86b21b9e0abc9c0f02e", size = 1997025 },
{ url = "https://files.pythonhosted.org/packages/a0/6e/940bcd631bc4d9a06c9539b51f070b66e8f370ed0933f392db6ff350d873/pydantic_core-2.27.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8d9b3388db186ba0c099a6d20f0604a44eabdeef1777ddd94786cdae158729e4", size = 2004633 },
{ url = "https://files.pythonhosted.org/packages/50/cc/a46b34f1708d82498c227d5d80ce615b2dd502ddcfd8376fc14a36655af1/pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7a66efda2387de898c8f38c0cf7f14fca0b51a8ef0b24bfea5849f1b3c95af27", size = 1999404 },
{ url = "https://files.pythonhosted.org/packages/ca/2d/c365cfa930ed23bc58c41463bae347d1005537dc8db79e998af8ba28d35e/pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:18a101c168e4e092ab40dbc2503bdc0f62010e95d292b27827871dc85450d7ee", size = 2130130 },
{ url = "https://files.pythonhosted.org/packages/f4/d7/eb64d015c350b7cdb371145b54d96c919d4db516817f31cd1c650cae3b21/pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ba5dd002f88b78a4215ed2f8ddbdf85e8513382820ba15ad5ad8955ce0ca19a1", size = 2157946 },
{ url = "https://files.pythonhosted.org/packages/a4/99/bddde3ddde76c03b65dfd5a66ab436c4e58ffc42927d4ff1198ffbf96f5f/pydantic_core-2.27.2-cp313-cp313-win32.whl", hash = "sha256:1ebaf1d0481914d004a573394f4be3a7616334be70261007e47c2a6fe7e50130", size = 1834387 },
{ url = "https://files.pythonhosted.org/packages/71/47/82b5e846e01b26ac6f1893d3c5f9f3a2eb6ba79be26eef0b759b4fe72946/pydantic_core-2.27.2-cp313-cp313-win_amd64.whl", hash = "sha256:953101387ecf2f5652883208769a79e48db18c6df442568a0b5ccd8c2723abee", size = 1990453 },
{ url = "https://files.pythonhosted.org/packages/51/b2/b2b50d5ecf21acf870190ae5d093602d95f66c9c31f9d5de6062eb329ad1/pydantic_core-2.27.2-cp313-cp313-win_arm64.whl", hash = "sha256:ac4dbfd1691affb8f48c2c13241a2e3b60ff23247cbcf981759c768b6633cf8b", size = 1885186 },
]
[[package]]
name = "pygments"
version = "2.19.1"
@@ -196,10 +147,10 @@ wheels = [
]
[[package]]
name = "typing-extensions"
version = "4.12.2"
name = "win32-setctime"
version = "1.2.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8", size = 85321 }
sdist = { url = "https://files.pythonhosted.org/packages/b3/8f/705086c9d734d3b663af0e9bb3d4de6578d08f46b1b101c2442fd9aecaa2/win32_setctime-1.2.0.tar.gz", hash = "sha256:ae1fdf948f5640aae05c511ade119313fb6a30d7eabe25fef9764dca5873c4c0", size = 4867 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", size = 37438 },
{ url = "https://files.pythonhosted.org/packages/e1/07/c6fe3ad3e685340704d314d765b7912993bcb8dc198f0e7a89382d37974b/win32_setctime-1.2.0-py3-none-any.whl", hash = "sha256:95d644c4e708aba81dc3704a116d8cbc974d70b3bdb8be1d150e36be6e9d1390", size = 4083 },
]