Merge pull request #2 from med-logic/orvr99-codex/-uv
Add House model, XML importers, houses API and React client
This commit is contained in:
commit
36c81454e6
43
README.md
43
README.md
|
|
@ -16,7 +16,7 @@ uv run python manage.py runserver
|
||||||
|
|
||||||
Те же операции доступны через Task: `task init`,
|
Те же операции доступны через Task: `task init`,
|
||||||
`task superuser DJANGO_SUPERUSER_PASSWORD=secret` и
|
`task superuser DJANGO_SUPERUSER_PASSWORD=secret` и
|
||||||
`task import-fias FIAS_FILE=addresses.csv`.
|
`task import-fias FIAS_FILE=/path/to/25/AS_ADDR_OBJ.xml`.
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
|
|
@ -48,6 +48,7 @@ docker run --rm -p 8000:8000 -v address-data:/data \
|
||||||
- `GET /api-address/regions?query=прим`
|
- `GET /api-address/regions?query=прим`
|
||||||
- `GET /api-address/cities?query=влад®ion_code=25`
|
- `GET /api-address/cities?query=влад®ion_code=25`
|
||||||
- `GET /api-address/streets?query=свет&parent_id=<database-id>`
|
- `GET /api-address/streets?query=свет&parent_id=<database-id>`
|
||||||
|
- `GET /api-address/houses?query=10&parent_id=<database-id>`
|
||||||
- `GET /api-address/search?kind=city&query=влад`
|
- `GET /api-address/search?kind=city&query=влад`
|
||||||
- `GET /api-address/health`
|
- `GET /api-address/health`
|
||||||
|
|
||||||
|
|
@ -58,15 +59,29 @@ docker run --rm -p 8000:8000 -v address-data:/data \
|
||||||
кода региона `25` — также улицы. Модель сохраняет GUID и числовой идентификатор
|
кода региона `25` — также улицы. Модель сохраняет GUID и числовой идентификатор
|
||||||
ФИАС, иерархию и признак актуальности.
|
ФИАС, иерархию и признак актуальности.
|
||||||
|
|
||||||
### Импорт CSV
|
### Импорт XML
|
||||||
|
|
||||||
Команда принимает UTF-8 CSV с обязательными колонками `fias_id`, `name`,
|
Команда принимает XML-файл `AS_ADDR_OBJ` из выгрузки ГАР/ФИАС и потоково
|
||||||
`level`, `region_code`. Дополнительно поддерживаются `object_id`, `type_name`,
|
обрабатывает элементы `OBJECT`, не загружая весь файл в память. Код региона
|
||||||
`postal_code`, `is_active`, `parent_fias_id`. Повторный импорт обновляет записи
|
определяется по двухзначному каталогу в пути (например, `25/AS_ADDR_OBJ.xml`),
|
||||||
по `fias_id`, а `parent_fias_id` восстанавливает иерархию объектов.
|
либо задаётся явно аргументом `--region-code`. Повторный импорт обновляет записи
|
||||||
|
по `OBJECTGUID`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv run python manage.py import_addresses addresses.csv
|
uv run python manage.py import_addresses /data/25/AS_ADDR_OBJ.xml
|
||||||
|
# или, если в пути нет каталога с кодом региона:
|
||||||
|
uv run python manage.py import_addresses /data/AS_ADDR_OBJ.xml --region-code 25
|
||||||
|
```
|
||||||
|
|
||||||
|
### Импорт домов
|
||||||
|
|
||||||
|
Дома загружаются из регионального XML-файла `AS_HOUSES`. Типы дома из
|
||||||
|
справочника `HOUSETYPES` хранятся компактными числовыми кодами. Связь с улицей
|
||||||
|
заполняется отдельно по файлу иерархии ФИАС, поэтому сразу после импорта
|
||||||
|
`parent` у дома может быть пустым.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
uv run python manage.py import_houses /data/25/AS_HOUSES.xml
|
||||||
```
|
```
|
||||||
|
|
||||||
## PostgreSQL
|
## PostgreSQL
|
||||||
|
|
@ -85,3 +100,17 @@ uv run python manage.py migrate
|
||||||
uv run pytest
|
uv run pytest
|
||||||
uv run python manage.py check
|
uv run python manage.py check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## React-клиент
|
||||||
|
|
||||||
|
Простой клиент без авторизации находится в каталоге `client`. Он предоставляет
|
||||||
|
строку поиска с автодополнением и показывает выбранный адрес в формате JSON.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd client
|
||||||
|
npm install
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
При разработке Vite проксирует `/api-address` на Django по адресу
|
||||||
|
`http://127.0.0.1:8000`. Для другого API задайте `VITE_API_BASE_URL`.
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,15 @@ tasks:
|
||||||
- "{{.PYTHON}} manage.py createsuperuser --noinput"
|
- "{{.PYTHON}} manage.py createsuperuser --noinput"
|
||||||
|
|
||||||
import-fias:
|
import-fias:
|
||||||
desc: Импортировать подготовленный CSV из ФИАС (FIAS_FILE=/path/to/file.csv)
|
desc: Импортировать XML AS_ADDR_OBJ из ФИАС (FIAS_FILE=/path/to/25/file.xml)
|
||||||
requires:
|
requires:
|
||||||
vars: [FIAS_FILE]
|
vars: [FIAS_FILE]
|
||||||
cmds:
|
cmds:
|
||||||
- '{{.PYTHON}} manage.py import_addresses "{{.FIAS_FILE}}"'
|
- '{{.PYTHON}} manage.py import_addresses "{{.FIAS_FILE}}"'
|
||||||
|
|
||||||
|
import-houses:
|
||||||
|
desc: Импортировать XML AS_HOUSES из ФИАС (FIAS_FILE=/path/to/25/file.xml)
|
||||||
|
requires:
|
||||||
|
vars: [FIAS_FILE]
|
||||||
|
cmds:
|
||||||
|
- '{{.PYTHON}} manage.py import_houses "{{.FIAS_FILE}}"'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
from .models import AddressObject
|
from .models import AddressObject, House
|
||||||
|
|
||||||
|
|
||||||
@admin.register(AddressObject)
|
@admin.register(AddressObject)
|
||||||
|
|
@ -9,3 +9,11 @@ class AddressObjectAdmin(admin.ModelAdmin):
|
||||||
list_filter = ("level", "region_code", "is_active")
|
list_filter = ("level", "region_code", "is_active")
|
||||||
search_fields = ("name", "fias_id", "object_id")
|
search_fields = ("name", "fias_id", "object_id")
|
||||||
raw_id_fields = ("parent",)
|
raw_id_fields = ("parent",)
|
||||||
|
|
||||||
|
|
||||||
|
@admin.register(House)
|
||||||
|
class HouseAdmin(admin.ModelAdmin):
|
||||||
|
list_display = ("display_number", "region_code", "parent", "is_actual", "is_active")
|
||||||
|
list_filter = ("region_code", "house_type", "is_actual", "is_active")
|
||||||
|
search_fields = ("house_number", "additional_number_1", "fias_id", "object_id")
|
||||||
|
raw_id_fields = ("parent",)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ from uuid import UUID
|
||||||
from django.db.models import Q
|
from django.db.models import Q
|
||||||
from ninja import NinjaAPI, Query, Schema
|
from ninja import NinjaAPI, Query, Schema
|
||||||
|
|
||||||
from .models import AddressObject
|
from .models import AddressObject, House
|
||||||
|
|
||||||
api = NinjaAPI(title="FIAS Address API", version="1.0.0", docs_url="docs/")
|
api = NinjaAPI(title="FIAS Address API", version="1.0.0", docs_url="docs/")
|
||||||
|
|
||||||
|
|
@ -36,6 +36,25 @@ class SearchResponse(Schema):
|
||||||
items: list[AddressOut]
|
items: list[AddressOut]
|
||||||
|
|
||||||
|
|
||||||
|
class HouseOut(Schema):
|
||||||
|
fias_id: UUID
|
||||||
|
object_id: int
|
||||||
|
parent_id: int | None
|
||||||
|
region_code: str
|
||||||
|
house_number: str
|
||||||
|
house_type: int | None
|
||||||
|
additional_number_1: str
|
||||||
|
additional_type_1: int | None
|
||||||
|
additional_number_2: str
|
||||||
|
additional_type_2: int | None
|
||||||
|
display_number: str
|
||||||
|
|
||||||
|
|
||||||
|
class HouseSearchResponse(Schema):
|
||||||
|
count: int
|
||||||
|
items: list[HouseOut]
|
||||||
|
|
||||||
|
|
||||||
def normalize(value: str) -> str:
|
def normalize(value: str) -> str:
|
||||||
return " ".join(value.casefold().replace("ё", "е").split())
|
return " ".join(value.casefold().replace("ё", "е").split())
|
||||||
|
|
||||||
|
|
@ -110,6 +129,26 @@ def streets(request, params: Query[SearchParams]):
|
||||||
return search((AddressObject.Level.STREET,), params)
|
return search((AddressObject.Level.STREET,), params)
|
||||||
|
|
||||||
|
|
||||||
|
@api.get("houses", response=HouseSearchResponse, tags=["addresses"])
|
||||||
|
def houses(request, params: Query[SearchParams]):
|
||||||
|
limit = min(max(params.limit, 1), 100)
|
||||||
|
offset = max(params.offset, 0)
|
||||||
|
queryset = House.objects.filter(is_actual=True, is_active=True)
|
||||||
|
if params.region_code:
|
||||||
|
queryset = queryset.filter(region_code=params.region_code.zfill(2))
|
||||||
|
if params.parent_id:
|
||||||
|
queryset = queryset.filter(parent_id=params.parent_id)
|
||||||
|
for term in params.query.split():
|
||||||
|
queryset = queryset.filter(
|
||||||
|
Q(house_number__icontains=term)
|
||||||
|
| Q(additional_number_1__icontains=term)
|
||||||
|
| Q(additional_number_2__icontains=term)
|
||||||
|
)
|
||||||
|
return HouseSearchResponse(
|
||||||
|
count=queryset.count(), items=list(queryset[offset : offset + limit])
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@api.get("search", response=SearchResponse, tags=["addresses"])
|
@api.get("search", response=SearchResponse, tags=["addresses"])
|
||||||
def universal_search(
|
def universal_search(
|
||||||
request,
|
request,
|
||||||
|
|
|
||||||
|
|
@ -1,53 +1,103 @@
|
||||||
import csv
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from uuid import UUID
|
from uuid import UUID
|
||||||
|
from xml.etree import ElementTree
|
||||||
|
|
||||||
from django.core.management.base import BaseCommand, CommandError
|
from django.core.management.base import BaseCommand, CommandError
|
||||||
|
|
||||||
from address.models import AddressObject
|
from address.models import AddressObject
|
||||||
|
|
||||||
|
REQUIRED_ATTRIBUTES = (
|
||||||
|
"OBJECTID",
|
||||||
|
"OBJECTGUID",
|
||||||
|
"NAME",
|
||||||
|
"TYPENAME",
|
||||||
|
"LEVEL",
|
||||||
|
"ISACTUAL",
|
||||||
|
"ISACTIVE",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def infer_region_code(path: Path) -> str | None:
|
||||||
|
"""Infer the FIAS region code from a directory in the XML path."""
|
||||||
|
return next(
|
||||||
|
(part for part in reversed(path.parts[:-1]) if len(part) == 2 and part.isdigit()),
|
||||||
|
None,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
help = "Импорт адресных объектов из UTF-8 CSV"
|
help = "Импорт адресных объектов из XML выгрузки ГАР/ФИАС"
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
parser.add_argument("file", type=Path)
|
parser.add_argument("file", type=Path)
|
||||||
parser.add_argument("--batch-size", type=int, default=2000)
|
parser.add_argument("--batch-size", type=int, default=2000)
|
||||||
|
parser.add_argument(
|
||||||
|
"--region-code",
|
||||||
|
help="Код региона ФИАС (по умолчанию определяется по каталогу файла, например 25)",
|
||||||
|
)
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
path = options["file"]
|
path = options["file"]
|
||||||
required = {"fias_id", "name", "level", "region_code"}
|
batch_size = options["batch_size"]
|
||||||
if not path.is_file():
|
if not path.is_file():
|
||||||
raise CommandError(f"Файл не найден: {path}")
|
raise CommandError(f"Файл не найден: {path}")
|
||||||
|
if batch_size < 1:
|
||||||
|
raise CommandError("Размер пакета должен быть больше нуля")
|
||||||
|
|
||||||
with path.open(encoding="utf-8-sig", newline="") as source:
|
region_code = options["region_code"] or infer_region_code(path)
|
||||||
reader = csv.DictReader(source)
|
if not region_code or len(region_code) > 2 or not region_code.isdigit():
|
||||||
missing = required - set(reader.fieldnames or ())
|
raise CommandError(
|
||||||
if missing:
|
"Не удалось определить код региона. Передайте его через --region-code"
|
||||||
raise CommandError(f"Нет обязательных колонок: {', '.join(sorted(missing))}")
|
)
|
||||||
|
region_code = region_code.zfill(2)
|
||||||
|
|
||||||
rows = list(reader)
|
|
||||||
|
|
||||||
existing = {
|
|
||||||
str(item.fias_id): item
|
|
||||||
for item in AddressObject.objects.filter(fias_id__in=[row["fias_id"] for row in rows])
|
|
||||||
}
|
|
||||||
objects = []
|
objects = []
|
||||||
for row in rows:
|
imported = 0
|
||||||
fias_id = UUID(row["fias_id"])
|
try:
|
||||||
item = existing.get(str(fias_id), AddressObject(fias_id=fias_id))
|
for _, element in ElementTree.iterparse(path, events=("end",)):
|
||||||
item.object_id = int(row["object_id"]) if row.get("object_id") else None
|
if element.tag.rsplit("}", 1)[-1] != "OBJECT":
|
||||||
item.name = row["name"].strip()
|
continue
|
||||||
item.type_name = row.get("type_name", "").strip()
|
objects.append(self._make_object(element.attrib, region_code))
|
||||||
item.level = int(row["level"])
|
element.clear()
|
||||||
item.region_code = row["region_code"].strip().zfill(2)
|
if len(objects) >= batch_size:
|
||||||
item.postal_code = row.get("postal_code", "").strip()
|
self._save(objects, batch_size)
|
||||||
item.is_active = row.get("is_active", "true").lower() in {"1", "true", "yes"}
|
imported += len(objects)
|
||||||
objects.append(item)
|
objects.clear()
|
||||||
|
except (ElementTree.ParseError, OSError) as error:
|
||||||
|
raise CommandError(f"Не удалось прочитать XML {path}: {error}") from error
|
||||||
|
|
||||||
|
if objects:
|
||||||
|
self._save(objects, batch_size)
|
||||||
|
imported += len(objects)
|
||||||
|
self.stdout.write(self.style.SUCCESS(f"Импортировано: {imported}"))
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _make_object(attributes: dict[str, str], region_code: str) -> AddressObject:
|
||||||
|
missing = [name for name in REQUIRED_ATTRIBUTES if not attributes.get(name)]
|
||||||
|
if missing:
|
||||||
|
record_id = attributes.get("ID", "неизвестен")
|
||||||
|
raise CommandError(
|
||||||
|
f"У записи {record_id} отсутствуют атрибуты: {', '.join(missing)}"
|
||||||
|
)
|
||||||
|
try:
|
||||||
|
return AddressObject(
|
||||||
|
fias_id=UUID(attributes["OBJECTGUID"]),
|
||||||
|
object_id=int(attributes["OBJECTID"]),
|
||||||
|
name=attributes["NAME"].strip(),
|
||||||
|
type_name=attributes["TYPENAME"].strip(),
|
||||||
|
level=int(attributes["LEVEL"]),
|
||||||
|
region_code=region_code,
|
||||||
|
is_active=attributes["ISACTUAL"] == "1" and attributes["ISACTIVE"] == "1",
|
||||||
|
)
|
||||||
|
except (TypeError, ValueError) as error:
|
||||||
|
record_id = attributes.get("ID", "неизвестен")
|
||||||
|
raise CommandError(f"Некорректные данные в записи {record_id}: {error}") from error
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _save(objects: list[AddressObject], batch_size: int) -> None:
|
||||||
AddressObject.objects.bulk_create(
|
AddressObject.objects.bulk_create(
|
||||||
objects,
|
objects,
|
||||||
batch_size=options["batch_size"],
|
batch_size=batch_size,
|
||||||
update_conflicts=True,
|
update_conflicts=True,
|
||||||
unique_fields=("fias_id",),
|
unique_fields=("fias_id",),
|
||||||
update_fields=(
|
update_fields=(
|
||||||
|
|
@ -56,30 +106,6 @@ class Command(BaseCommand):
|
||||||
"type_name",
|
"type_name",
|
||||||
"level",
|
"level",
|
||||||
"region_code",
|
"region_code",
|
||||||
"postal_code",
|
|
||||||
"is_active",
|
"is_active",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
parent_links = {
|
|
||||||
row["fias_id"]: row.get("parent_fias_id", "").strip()
|
|
||||||
for row in rows
|
|
||||||
if row.get("parent_fias_id", "").strip()
|
|
||||||
}
|
|
||||||
if parent_links:
|
|
||||||
imported = {
|
|
||||||
str(item.fias_id): item
|
|
||||||
for item in AddressObject.objects.filter(
|
|
||||||
fias_id__in=set(parent_links) | set(parent_links.values())
|
|
||||||
)
|
|
||||||
}
|
|
||||||
children = []
|
|
||||||
for child_fias_id, parent_fias_id in parent_links.items():
|
|
||||||
child = imported.get(child_fias_id)
|
|
||||||
parent = imported.get(parent_fias_id)
|
|
||||||
if child and parent:
|
|
||||||
child.parent = parent
|
|
||||||
children.append(child)
|
|
||||||
AddressObject.objects.bulk_update(
|
|
||||||
children, ("parent",), batch_size=options["batch_size"]
|
|
||||||
)
|
|
||||||
self.stdout.write(self.style.SUCCESS(f"Импортировано: {len(objects)}"))
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,123 @@
|
||||||
|
from datetime import date
|
||||||
|
from pathlib import Path
|
||||||
|
from uuid import UUID
|
||||||
|
from xml.etree import ElementTree
|
||||||
|
|
||||||
|
from django.core.management.base import BaseCommand, CommandError
|
||||||
|
|
||||||
|
from address.management.commands.import_addresses import infer_region_code
|
||||||
|
from address.models import House
|
||||||
|
|
||||||
|
REQUIRED_ATTRIBUTES = (
|
||||||
|
"OBJECTID",
|
||||||
|
"OBJECTGUID",
|
||||||
|
"UPDATEDATE",
|
||||||
|
"ISACTUAL",
|
||||||
|
"ISACTIVE",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class Command(BaseCommand):
|
||||||
|
help = "Импорт домов из XML HOUSES выгрузки ГАР/ФИАС"
|
||||||
|
|
||||||
|
def add_arguments(self, parser):
|
||||||
|
parser.add_argument("file", type=Path)
|
||||||
|
parser.add_argument("--batch-size", type=int, default=2000)
|
||||||
|
parser.add_argument(
|
||||||
|
"--region-code",
|
||||||
|
help="Код региона ФИАС (по умолчанию определяется по каталогу файла)",
|
||||||
|
)
|
||||||
|
|
||||||
|
def handle(self, *args, **options):
|
||||||
|
path = options["file"]
|
||||||
|
batch_size = options["batch_size"]
|
||||||
|
if not path.is_file():
|
||||||
|
raise CommandError(f"Файл не найден: {path}")
|
||||||
|
if batch_size < 1:
|
||||||
|
raise CommandError("Размер пакета должен быть больше нуля")
|
||||||
|
|
||||||
|
region_code = options["region_code"] or infer_region_code(path)
|
||||||
|
if not region_code or len(region_code) > 2 or not region_code.isdigit():
|
||||||
|
raise CommandError(
|
||||||
|
"Не удалось определить код региона. Передайте его через --region-code"
|
||||||
|
)
|
||||||
|
region_code = region_code.zfill(2)
|
||||||
|
|
||||||
|
objects = []
|
||||||
|
imported = 0
|
||||||
|
try:
|
||||||
|
for _, element in ElementTree.iterparse(path, events=("end",)):
|
||||||
|
if element.tag.rsplit("}", 1)[-1] != "HOUSE":
|
||||||
|
continue
|
||||||
|
objects.append(self._make_house(element.attrib, region_code))
|
||||||
|
element.clear()
|
||||||
|
if len(objects) >= batch_size:
|
||||||
|
self._save(objects, batch_size)
|
||||||
|
imported += len(objects)
|
||||||
|
objects.clear()
|
||||||
|
except (ElementTree.ParseError, OSError) as error:
|
||||||
|
raise CommandError(f"Не удалось прочитать XML {path}: {error}") from error
|
||||||
|
|
||||||
|
if objects:
|
||||||
|
self._save(objects, batch_size)
|
||||||
|
imported += len(objects)
|
||||||
|
self.stdout.write(self.style.SUCCESS(f"Импортировано домов: {imported}"))
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _make_house(attributes: dict[str, str], region_code: str) -> House:
|
||||||
|
missing = [name for name in REQUIRED_ATTRIBUTES if not attributes.get(name)]
|
||||||
|
if missing:
|
||||||
|
record_id = attributes.get("ID", "неизвестен")
|
||||||
|
raise CommandError(
|
||||||
|
f"У записи дома {record_id} отсутствуют атрибуты: {', '.join(missing)}"
|
||||||
|
)
|
||||||
|
try:
|
||||||
|
return House(
|
||||||
|
object_id=int(attributes["OBJECTID"]),
|
||||||
|
fias_id=UUID(attributes["OBJECTGUID"]),
|
||||||
|
region_code=region_code,
|
||||||
|
house_number=attributes.get("HOUSENUM", "").strip(),
|
||||||
|
house_type=Command._optional_type(attributes, "HOUSETYPE"),
|
||||||
|
additional_number_1=attributes.get("ADDNUM1", "").strip(),
|
||||||
|
additional_type_1=Command._optional_type(attributes, "ADDTYPE1"),
|
||||||
|
additional_number_2=attributes.get("ADDNUM2", "").strip(),
|
||||||
|
additional_type_2=Command._optional_type(attributes, "ADDTYPE2"),
|
||||||
|
source_updated_at=date.fromisoformat(attributes["UPDATEDATE"]),
|
||||||
|
is_actual=attributes["ISACTUAL"] == "1",
|
||||||
|
is_active=attributes["ISACTIVE"] == "1",
|
||||||
|
)
|
||||||
|
except (TypeError, ValueError) as error:
|
||||||
|
record_id = attributes.get("ID", "неизвестен")
|
||||||
|
raise CommandError(f"Некорректные данные дома {record_id}: {error}") from error
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _optional_type(attributes: dict[str, str], name: str) -> int | None:
|
||||||
|
value = attributes.get(name)
|
||||||
|
if not value:
|
||||||
|
return None
|
||||||
|
type_id = int(value)
|
||||||
|
if type_id not in House.Type.values:
|
||||||
|
raise ValueError(f"неизвестный тип дома {name}={type_id}")
|
||||||
|
return type_id
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _save(objects: list[House], batch_size: int) -> None:
|
||||||
|
House.objects.bulk_create(
|
||||||
|
objects,
|
||||||
|
batch_size=batch_size,
|
||||||
|
update_conflicts=True,
|
||||||
|
unique_fields=("fias_id",),
|
||||||
|
update_fields=(
|
||||||
|
"object_id",
|
||||||
|
"region_code",
|
||||||
|
"house_number",
|
||||||
|
"house_type",
|
||||||
|
"additional_number_1",
|
||||||
|
"additional_type_1",
|
||||||
|
"additional_number_2",
|
||||||
|
"additional_type_2",
|
||||||
|
"source_updated_at",
|
||||||
|
"is_actual",
|
||||||
|
"is_active",
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
@ -0,0 +1,149 @@
|
||||||
|
# Generated by Django 5.2.17 on 2026-08-28 05:39
|
||||||
|
|
||||||
|
import uuid
|
||||||
|
|
||||||
|
import django.db.models.deletion
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("address", "0001_initial"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name="House",
|
||||||
|
fields=[
|
||||||
|
(
|
||||||
|
"id",
|
||||||
|
models.BigAutoField(
|
||||||
|
auto_created=True,
|
||||||
|
primary_key=True,
|
||||||
|
serialize=False,
|
||||||
|
verbose_name="ID",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"object_id",
|
||||||
|
models.BigIntegerField(unique=True, verbose_name="ID ФИАС"),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"fias_id",
|
||||||
|
models.UUIDField(default=uuid.uuid4, unique=True, verbose_name="GUID ФИАС"),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"region_code",
|
||||||
|
models.CharField(db_index=True, max_length=2, verbose_name="Код региона"),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"house_number",
|
||||||
|
models.CharField(blank=True, max_length=50, verbose_name="Номер"),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"house_type",
|
||||||
|
models.PositiveSmallIntegerField(
|
||||||
|
blank=True,
|
||||||
|
choices=[
|
||||||
|
(1, "Владение"),
|
||||||
|
(2, "Дом"),
|
||||||
|
(3, "Домовладение"),
|
||||||
|
(4, "Гараж"),
|
||||||
|
(5, "Здание"),
|
||||||
|
(6, "Шахта"),
|
||||||
|
(7, "Строение"),
|
||||||
|
(8, "Сооружение"),
|
||||||
|
(9, "Литера"),
|
||||||
|
(10, "Корпус"),
|
||||||
|
(11, "Подвал"),
|
||||||
|
(12, "Котельная"),
|
||||||
|
(13, "Погреб"),
|
||||||
|
(14, "Объект незавершенного строительства"),
|
||||||
|
],
|
||||||
|
null=True,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
("additional_number_1", models.CharField(blank=True, max_length=50)),
|
||||||
|
(
|
||||||
|
"additional_type_1",
|
||||||
|
models.PositiveSmallIntegerField(
|
||||||
|
blank=True,
|
||||||
|
choices=[
|
||||||
|
(1, "Владение"),
|
||||||
|
(2, "Дом"),
|
||||||
|
(3, "Домовладение"),
|
||||||
|
(4, "Гараж"),
|
||||||
|
(5, "Здание"),
|
||||||
|
(6, "Шахта"),
|
||||||
|
(7, "Строение"),
|
||||||
|
(8, "Сооружение"),
|
||||||
|
(9, "Литера"),
|
||||||
|
(10, "Корпус"),
|
||||||
|
(11, "Подвал"),
|
||||||
|
(12, "Котельная"),
|
||||||
|
(13, "Погреб"),
|
||||||
|
(14, "Объект незавершенного строительства"),
|
||||||
|
],
|
||||||
|
null=True,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
("additional_number_2", models.CharField(blank=True, max_length=50)),
|
||||||
|
(
|
||||||
|
"additional_type_2",
|
||||||
|
models.PositiveSmallIntegerField(
|
||||||
|
blank=True,
|
||||||
|
choices=[
|
||||||
|
(1, "Владение"),
|
||||||
|
(2, "Дом"),
|
||||||
|
(3, "Домовладение"),
|
||||||
|
(4, "Гараж"),
|
||||||
|
(5, "Здание"),
|
||||||
|
(6, "Шахта"),
|
||||||
|
(7, "Строение"),
|
||||||
|
(8, "Сооружение"),
|
||||||
|
(9, "Литера"),
|
||||||
|
(10, "Корпус"),
|
||||||
|
(11, "Подвал"),
|
||||||
|
(12, "Котельная"),
|
||||||
|
(13, "Погреб"),
|
||||||
|
(14, "Объект незавершенного строительства"),
|
||||||
|
],
|
||||||
|
null=True,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"source_updated_at",
|
||||||
|
models.DateField(verbose_name="Дата обновления ФИАС"),
|
||||||
|
),
|
||||||
|
("is_actual", models.BooleanField(db_index=True, default=True)),
|
||||||
|
("is_active", models.BooleanField(db_index=True, default=True)),
|
||||||
|
(
|
||||||
|
"parent",
|
||||||
|
models.ForeignKey(
|
||||||
|
blank=True,
|
||||||
|
null=True,
|
||||||
|
on_delete=django.db.models.deletion.SET_NULL,
|
||||||
|
related_name="houses",
|
||||||
|
to="address.addressobject",
|
||||||
|
verbose_name="Родительский адресный объект",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
"verbose_name": "Дом",
|
||||||
|
"verbose_name_plural": "Дома",
|
||||||
|
"ordering": (
|
||||||
|
"house_number",
|
||||||
|
"additional_number_1",
|
||||||
|
"additional_number_2",
|
||||||
|
),
|
||||||
|
"indexes": [
|
||||||
|
models.Index(fields=["parent", "house_number"], name="house_parent_number"),
|
||||||
|
models.Index(
|
||||||
|
fields=["region_code", "house_number"],
|
||||||
|
name="house_region_number",
|
||||||
|
),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -38,3 +38,88 @@ class AddressObject(models.Model):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f"{self.type_name} {self.name}".strip()
|
return f"{self.type_name} {self.name}".strip()
|
||||||
|
|
||||||
|
|
||||||
|
class House(models.Model):
|
||||||
|
class Type(models.IntegerChoices):
|
||||||
|
POSSESSION = 1, "Владение"
|
||||||
|
HOUSE = 2, "Дом"
|
||||||
|
HOUSEHOLD = 3, "Домовладение"
|
||||||
|
GARAGE = 4, "Гараж"
|
||||||
|
BUILDING = 5, "Здание"
|
||||||
|
MINE = 6, "Шахта"
|
||||||
|
STRUCTURE = 7, "Строение"
|
||||||
|
FACILITY = 8, "Сооружение"
|
||||||
|
LITERA = 9, "Литера"
|
||||||
|
BLOCK = 10, "Корпус"
|
||||||
|
BASEMENT = 11, "Подвал"
|
||||||
|
BOILER_HOUSE = 12, "Котельная"
|
||||||
|
CELLAR = 13, "Погреб"
|
||||||
|
UNFINISHED = 14, "Объект незавершенного строительства"
|
||||||
|
|
||||||
|
TYPE_SHORT_NAMES = {
|
||||||
|
1: "влд.",
|
||||||
|
2: "д.",
|
||||||
|
3: "двлд.",
|
||||||
|
4: "г-ж",
|
||||||
|
5: "зд.",
|
||||||
|
6: "шахта",
|
||||||
|
7: "стр.",
|
||||||
|
8: "соор.",
|
||||||
|
9: "литера",
|
||||||
|
10: "к.",
|
||||||
|
11: "подв.",
|
||||||
|
12: "кот.",
|
||||||
|
13: "п-б",
|
||||||
|
14: "ОНС",
|
||||||
|
}
|
||||||
|
|
||||||
|
object_id = models.BigIntegerField(unique=True, verbose_name="ID ФИАС")
|
||||||
|
fias_id = models.UUIDField(default=uuid.uuid4, unique=True, verbose_name="GUID ФИАС")
|
||||||
|
parent = models.ForeignKey(
|
||||||
|
AddressObject,
|
||||||
|
null=True,
|
||||||
|
blank=True,
|
||||||
|
on_delete=models.SET_NULL,
|
||||||
|
related_name="houses",
|
||||||
|
verbose_name="Родительский адресный объект",
|
||||||
|
)
|
||||||
|
region_code = models.CharField(max_length=2, db_index=True, verbose_name="Код региона")
|
||||||
|
house_number = models.CharField(max_length=50, blank=True, verbose_name="Номер")
|
||||||
|
house_type = models.PositiveSmallIntegerField(choices=Type.choices, null=True, blank=True)
|
||||||
|
additional_number_1 = models.CharField(max_length=50, blank=True)
|
||||||
|
additional_type_1 = models.PositiveSmallIntegerField(
|
||||||
|
choices=Type.choices, null=True, blank=True
|
||||||
|
)
|
||||||
|
additional_number_2 = models.CharField(max_length=50, blank=True)
|
||||||
|
additional_type_2 = models.PositiveSmallIntegerField(
|
||||||
|
choices=Type.choices, null=True, blank=True
|
||||||
|
)
|
||||||
|
source_updated_at = models.DateField(verbose_name="Дата обновления ФИАС")
|
||||||
|
is_actual = models.BooleanField(default=True, db_index=True)
|
||||||
|
is_active = models.BooleanField(default=True, db_index=True)
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ("house_number", "additional_number_1", "additional_number_2")
|
||||||
|
indexes = [
|
||||||
|
models.Index(fields=("parent", "house_number"), name="house_parent_number"),
|
||||||
|
models.Index(fields=("region_code", "house_number"), name="house_region_number"),
|
||||||
|
]
|
||||||
|
verbose_name = "Дом"
|
||||||
|
verbose_name_plural = "Дома"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def display_number(self):
|
||||||
|
parts = []
|
||||||
|
for number, type_id in (
|
||||||
|
(self.house_number, self.house_type),
|
||||||
|
(self.additional_number_1, self.additional_type_1),
|
||||||
|
(self.additional_number_2, self.additional_type_2),
|
||||||
|
):
|
||||||
|
if number:
|
||||||
|
prefix = self.TYPE_SHORT_NAMES.get(type_id, "")
|
||||||
|
parts.append(f"{prefix} {number}".strip())
|
||||||
|
return " ".join(parts)
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.display_number
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
import uuid
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
from django.test import Client
|
||||||
|
|
||||||
|
from address.models import AddressObject, House
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.django_db
|
||||||
|
def test_houses_are_searched_by_parent_and_number():
|
||||||
|
street = AddressObject.objects.create(
|
||||||
|
fias_id=uuid.uuid4(),
|
||||||
|
object_id=100,
|
||||||
|
name="Светланская",
|
||||||
|
type_name="ул",
|
||||||
|
level=AddressObject.Level.STREET,
|
||||||
|
region_code="25",
|
||||||
|
)
|
||||||
|
house = House.objects.create(
|
||||||
|
fias_id=uuid.uuid4(),
|
||||||
|
object_id=500,
|
||||||
|
parent=street,
|
||||||
|
region_code="25",
|
||||||
|
house_number="10",
|
||||||
|
house_type=House.Type.HOUSE,
|
||||||
|
additional_number_1="3",
|
||||||
|
additional_type_1=House.Type.BLOCK,
|
||||||
|
source_updated_at="2026-01-02",
|
||||||
|
)
|
||||||
|
House.objects.create(
|
||||||
|
fias_id=uuid.uuid4(),
|
||||||
|
object_id=501,
|
||||||
|
parent=street,
|
||||||
|
region_code="25",
|
||||||
|
house_number="11",
|
||||||
|
source_updated_at="2026-01-02",
|
||||||
|
is_active=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
response = Client().get("/api-address/houses", {"parent_id": street.pk, "query": "10"})
|
||||||
|
|
||||||
|
assert response.status_code == 200
|
||||||
|
assert response.json() == {
|
||||||
|
"count": 1,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"fias_id": str(house.fias_id),
|
||||||
|
"object_id": 500,
|
||||||
|
"parent_id": street.pk,
|
||||||
|
"region_code": "25",
|
||||||
|
"house_number": "10",
|
||||||
|
"house_type": 2,
|
||||||
|
"additional_number_1": "3",
|
||||||
|
"additional_type_1": 10,
|
||||||
|
"additional_number_2": "",
|
||||||
|
"additional_type_2": None,
|
||||||
|
"display_number": "д. 10 к. 3",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
from uuid import UUID
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
from django.core.management import call_command
|
||||||
|
from django.core.management.base import CommandError
|
||||||
|
|
||||||
|
from address.models import AddressObject
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.django_db
|
||||||
|
def test_imports_and_updates_fias_xml(tmp_path):
|
||||||
|
region_dir = tmp_path / "25"
|
||||||
|
region_dir.mkdir()
|
||||||
|
xml = region_dir / "AS_ADDR_OBJ.xml"
|
||||||
|
xml.write_text(
|
||||||
|
"""<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ADDRESSOBJECTS>
|
||||||
|
<OBJECT ID="1" OBJECTID="100" OBJECTGUID="11111111-1111-1111-1111-111111111111"
|
||||||
|
NAME="Владивосток" TYPENAME="г" LEVEL="5" ISACTUAL="1" ISACTIVE="1" />
|
||||||
|
<OBJECT ID="2" OBJECTID="101" OBJECTGUID="22222222-2222-2222-2222-222222222222"
|
||||||
|
NAME="Старая" TYPENAME="ул" LEVEL="8" ISACTUAL="0" ISACTIVE="1" />
|
||||||
|
</ADDRESSOBJECTS>""",
|
||||||
|
encoding="utf-8",
|
||||||
|
)
|
||||||
|
|
||||||
|
call_command("import_addresses", xml, batch_size=1)
|
||||||
|
|
||||||
|
city = AddressObject.objects.get(fias_id=UUID("11111111-1111-1111-1111-111111111111"))
|
||||||
|
assert city.object_id == 100
|
||||||
|
assert city.name == "Владивосток"
|
||||||
|
assert city.region_code == "25"
|
||||||
|
assert city.is_active is True
|
||||||
|
assert AddressObject.objects.get(object_id=101).is_active is False
|
||||||
|
|
||||||
|
xml.write_text(
|
||||||
|
"""<ADDRESSOBJECTS>
|
||||||
|
<OBJECT ID="3" OBJECTID="100" OBJECTGUID="11111111-1111-1111-1111-111111111111"
|
||||||
|
NAME="Владивосток обновлённый" TYPENAME="г" LEVEL="5"
|
||||||
|
ISACTUAL="1" ISACTIVE="1" />
|
||||||
|
</ADDRESSOBJECTS>""",
|
||||||
|
encoding="utf-8",
|
||||||
|
)
|
||||||
|
call_command("import_addresses", xml)
|
||||||
|
|
||||||
|
city.refresh_from_db()
|
||||||
|
assert city.name == "Владивосток обновлённый"
|
||||||
|
assert AddressObject.objects.count() == 2
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.django_db
|
||||||
|
def test_region_code_is_required_when_it_cannot_be_inferred(tmp_path):
|
||||||
|
xml = tmp_path / "addresses.xml"
|
||||||
|
xml.write_text("<ADDRESSOBJECTS />", encoding="utf-8")
|
||||||
|
|
||||||
|
with pytest.raises(CommandError, match="--region-code"):
|
||||||
|
call_command("import_addresses", xml)
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
from uuid import UUID
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
from django.core.management import call_command
|
||||||
|
from django.core.management.base import CommandError
|
||||||
|
|
||||||
|
from address.models import House
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.django_db
|
||||||
|
def test_imports_and_updates_houses_xml(tmp_path):
|
||||||
|
region_dir = tmp_path / "25"
|
||||||
|
region_dir.mkdir()
|
||||||
|
xml = region_dir / "AS_HOUSES.xml"
|
||||||
|
xml.write_text(
|
||||||
|
"""<HOUSES>
|
||||||
|
<HOUSE ID="1" OBJECTID="500" OBJECTGUID="33333333-3333-3333-3333-333333333333"
|
||||||
|
HOUSENUM="10" HOUSETYPE="2" ADDNUM1="3" ADDTYPE1="10"
|
||||||
|
UPDATEDATE="2026-01-02" ISACTUAL="1" ISACTIVE="1" />
|
||||||
|
<HOUSE ID="2" OBJECTID="501" OBJECTGUID="44444444-4444-4444-4444-444444444444"
|
||||||
|
HOUSENUM="12" UPDATEDATE="2026-01-02" ISACTUAL="0" ISACTIVE="1" />
|
||||||
|
</HOUSES>""",
|
||||||
|
encoding="utf-8",
|
||||||
|
)
|
||||||
|
|
||||||
|
call_command("import_houses", xml, batch_size=1)
|
||||||
|
|
||||||
|
house = House.objects.get(fias_id=UUID("33333333-3333-3333-3333-333333333333"))
|
||||||
|
assert house.object_id == 500
|
||||||
|
assert house.region_code == "25"
|
||||||
|
assert house.display_number == "д. 10 к. 3"
|
||||||
|
assert house.is_actual is True
|
||||||
|
assert House.objects.get(object_id=501).is_actual is False
|
||||||
|
|
||||||
|
xml.write_text(
|
||||||
|
"""<HOUSES>
|
||||||
|
<HOUSE ID="3" OBJECTID="500" OBJECTGUID="33333333-3333-3333-3333-333333333333"
|
||||||
|
HOUSENUM="10А" HOUSETYPE="2" UPDATEDATE="2026-02-03"
|
||||||
|
ISACTUAL="1" ISACTIVE="1" />
|
||||||
|
</HOUSES>""",
|
||||||
|
encoding="utf-8",
|
||||||
|
)
|
||||||
|
call_command("import_houses", xml)
|
||||||
|
|
||||||
|
house.refresh_from_db()
|
||||||
|
assert house.house_number == "10А"
|
||||||
|
assert house.additional_number_1 == ""
|
||||||
|
assert House.objects.count() == 2
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.django_db
|
||||||
|
def test_rejects_unknown_house_type(tmp_path):
|
||||||
|
xml = tmp_path / "houses.xml"
|
||||||
|
xml.write_text(
|
||||||
|
"""<HOUSES>
|
||||||
|
<HOUSE ID="7" OBJECTID="500" OBJECTGUID="33333333-3333-3333-3333-333333333333"
|
||||||
|
HOUSENUM="10" HOUSETYPE="99" UPDATEDATE="2026-01-02"
|
||||||
|
ISACTUAL="1" ISACTIVE="1" />
|
||||||
|
</HOUSES>""",
|
||||||
|
encoding="utf-8",
|
||||||
|
)
|
||||||
|
|
||||||
|
with pytest.raises(CommandError, match="HOUSETYPE=99"):
|
||||||
|
call_command("import_houses", xml, region_code="25")
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
dist/
|
||||||
|
node_modules/
|
||||||
|
.env.local
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="description" content="Поиск адресов в базе ФИАС" />
|
||||||
|
<title>Поиск адреса</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="root"></div>
|
||||||
|
<script type="module" src="/src/main.jsx"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"name": "address-service-client",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.1.0",
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite --host 0.0.0.0",
|
||||||
|
"build": "vite build",
|
||||||
|
"preview": "vite preview --host 0.0.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"react": "19.2.8",
|
||||||
|
"react-dom": "19.2.8",
|
||||||
|
"react-select": "5.10.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@vitejs/plugin-react": "6.1.1",
|
||||||
|
"vite": "8.2.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,134 @@
|
||||||
|
import { useState } from "react";
|
||||||
|
import AsyncSelect from "react-select/async";
|
||||||
|
|
||||||
|
const API_BASE_URL = (import.meta.env.VITE_API_BASE_URL || "/api-address").replace(/\/$/, "");
|
||||||
|
|
||||||
|
const levelNames = {
|
||||||
|
1: "Регион",
|
||||||
|
5: "Город",
|
||||||
|
6: "Населённый пункт",
|
||||||
|
8: "Улица",
|
||||||
|
};
|
||||||
|
|
||||||
|
async function loadAddresses(query) {
|
||||||
|
const normalizedQuery = query.trim();
|
||||||
|
if (normalizedQuery.length < 2) return [];
|
||||||
|
|
||||||
|
const parameters = new URLSearchParams({ query: normalizedQuery, limit: "20" });
|
||||||
|
const response = await fetch(`${API_BASE_URL}/search?${parameters}`);
|
||||||
|
if (!response.ok) throw new Error(`Ошибка API: ${response.status}`);
|
||||||
|
|
||||||
|
const data = await response.json();
|
||||||
|
return data.items.map((address) => ({
|
||||||
|
value: address.fias_id,
|
||||||
|
label: `${address.type_name} ${address.name}`.trim(),
|
||||||
|
meta: `${levelNames[address.level] || "Адрес"} · регион ${address.region_code}`,
|
||||||
|
address,
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
const selectStyles = {
|
||||||
|
control: (base, state) => ({
|
||||||
|
...base,
|
||||||
|
minHeight: 58,
|
||||||
|
border: `1px solid ${state.isFocused ? "#695cff" : "#d9d7e7"}`,
|
||||||
|
borderRadius: 14,
|
||||||
|
padding: "0 8px",
|
||||||
|
background: "#fff",
|
||||||
|
boxShadow: state.isFocused ? "0 0 0 4px rgba(105, 92, 255, 0.12)" : "none",
|
||||||
|
transition: "all 160ms ease",
|
||||||
|
":hover": { borderColor: "#695cff" },
|
||||||
|
}),
|
||||||
|
menu: (base) => ({
|
||||||
|
...base,
|
||||||
|
borderRadius: 14,
|
||||||
|
padding: 6,
|
||||||
|
boxShadow: "0 18px 45px rgba(36, 31, 76, 0.15)",
|
||||||
|
overflow: "hidden",
|
||||||
|
}),
|
||||||
|
option: (base, state) => ({
|
||||||
|
...base,
|
||||||
|
borderRadius: 9,
|
||||||
|
color: "#27243a",
|
||||||
|
background: state.isFocused ? "#f0efff" : "transparent",
|
||||||
|
cursor: "pointer",
|
||||||
|
padding: "11px 12px",
|
||||||
|
":active": { background: "#e4e1ff" },
|
||||||
|
}),
|
||||||
|
placeholder: (base) => ({ ...base, color: "#8b879c" }),
|
||||||
|
indicatorSeparator: () => ({ display: "none" }),
|
||||||
|
};
|
||||||
|
|
||||||
|
function OptionLabel({ label, meta }) {
|
||||||
|
return (
|
||||||
|
<div className="option-label">
|
||||||
|
<span>{label}</span>
|
||||||
|
<small>{meta}</small>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function App() {
|
||||||
|
const [selected, setSelected] = useState(null);
|
||||||
|
const [error, setError] = useState("");
|
||||||
|
|
||||||
|
const findAddresses = async (query) => {
|
||||||
|
try {
|
||||||
|
setError("");
|
||||||
|
return await loadAddresses(query);
|
||||||
|
} catch (requestError) {
|
||||||
|
setError(requestError.message || "Не удалось выполнить поиск");
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<main className="page-shell">
|
||||||
|
<section className="search-card">
|
||||||
|
<div className="brand-mark" aria-hidden="true">А</div>
|
||||||
|
<p className="eyebrow">ФИАС · адресный сервис</p>
|
||||||
|
<h1>Найдите адрес</h1>
|
||||||
|
<p className="subtitle">
|
||||||
|
Начните вводить регион, город, населённый пункт или улицу.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div className="search-field">
|
||||||
|
<label htmlFor="address-search">Адрес</label>
|
||||||
|
<AsyncSelect
|
||||||
|
inputId="address-search"
|
||||||
|
aria-label="Поиск адреса"
|
||||||
|
cacheOptions
|
||||||
|
defaultOptions={false}
|
||||||
|
loadOptions={findAddresses}
|
||||||
|
onChange={setSelected}
|
||||||
|
value={selected}
|
||||||
|
placeholder="Например, Владивосток или Светланская"
|
||||||
|
noOptionsMessage={({ inputValue }) =>
|
||||||
|
inputValue.trim().length < 2 ? "Введите хотя бы 2 символа" : "Ничего не найдено"
|
||||||
|
}
|
||||||
|
loadingMessage={() => "Ищем адрес…"}
|
||||||
|
formatOptionLabel={(option) => <OptionLabel {...option} />}
|
||||||
|
styles={selectStyles}
|
||||||
|
/>
|
||||||
|
{error && <p className="error-message">{error}</p>}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className={`result-panel ${selected ? "has-result" : ""}`}>
|
||||||
|
<div className="result-heading">
|
||||||
|
<span>Результат</span>
|
||||||
|
<span className="format-badge">JSON</span>
|
||||||
|
</div>
|
||||||
|
{selected ? (
|
||||||
|
<pre>{JSON.stringify(selected.address, null, 2)}</pre>
|
||||||
|
) : (
|
||||||
|
<div className="empty-state">
|
||||||
|
<span className="empty-icon">{`{ }`}</span>
|
||||||
|
<p>Выберите адрес, и его данные появятся здесь.</p>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<p className="footer-note">Данные предоставляются сервисом ГАР/ФИАС</p>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
import { StrictMode } from "react";
|
||||||
|
import { createRoot } from "react-dom/client";
|
||||||
|
|
||||||
|
import App from "./App";
|
||||||
|
import "./styles.css";
|
||||||
|
|
||||||
|
createRoot(document.getElementById("root")).render(
|
||||||
|
<StrictMode>
|
||||||
|
<App />
|
||||||
|
</StrictMode>,
|
||||||
|
);
|
||||||
|
|
@ -0,0 +1,188 @@
|
||||||
|
:root {
|
||||||
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||||
|
color: #27243a;
|
||||||
|
background: #f5f4fb;
|
||||||
|
font-synthesis: none;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
}
|
||||||
|
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
min-width: 320px;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
body::before,
|
||||||
|
body::after {
|
||||||
|
position: fixed;
|
||||||
|
z-index: -1;
|
||||||
|
border-radius: 999px;
|
||||||
|
content: "";
|
||||||
|
filter: blur(2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
body::before {
|
||||||
|
width: 420px;
|
||||||
|
height: 420px;
|
||||||
|
top: -190px;
|
||||||
|
right: -120px;
|
||||||
|
background: rgba(190, 182, 255, 0.45);
|
||||||
|
}
|
||||||
|
|
||||||
|
body::after {
|
||||||
|
width: 340px;
|
||||||
|
height: 340px;
|
||||||
|
bottom: -180px;
|
||||||
|
left: -100px;
|
||||||
|
background: rgba(176, 226, 217, 0.42);
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-shell {
|
||||||
|
display: grid;
|
||||||
|
min-height: 100vh;
|
||||||
|
place-content: center;
|
||||||
|
padding: 48px 20px 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-card {
|
||||||
|
width: min(720px, calc(100vw - 40px));
|
||||||
|
padding: 48px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.9);
|
||||||
|
border-radius: 28px;
|
||||||
|
background: rgba(255, 255, 255, 0.78);
|
||||||
|
box-shadow: 0 28px 80px rgba(45, 39, 87, 0.12);
|
||||||
|
backdrop-filter: blur(18px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand-mark {
|
||||||
|
display: grid;
|
||||||
|
width: 46px;
|
||||||
|
height: 46px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
place-items: center;
|
||||||
|
border-radius: 14px;
|
||||||
|
color: #fff;
|
||||||
|
background: linear-gradient(145deg, #776aff, #5546e8);
|
||||||
|
box-shadow: 0 10px 25px rgba(83, 69, 223, 0.3);
|
||||||
|
font-size: 21px;
|
||||||
|
font-weight: 800;
|
||||||
|
}
|
||||||
|
|
||||||
|
.eyebrow {
|
||||||
|
margin: 0 0 8px;
|
||||||
|
color: #695cff;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 800;
|
||||||
|
letter-spacing: 0.13em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: clamp(34px, 6vw, 48px);
|
||||||
|
line-height: 1.08;
|
||||||
|
letter-spacing: -0.045em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
margin: 14px 0 34px;
|
||||||
|
color: #706c80;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-field label {
|
||||||
|
display: block;
|
||||||
|
margin: 0 0 9px 3px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 750;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-label { display: grid; gap: 3px; }
|
||||||
|
.option-label span { font-weight: 650; }
|
||||||
|
.option-label small { color: #858194; }
|
||||||
|
|
||||||
|
.error-message {
|
||||||
|
margin: 9px 3px 0;
|
||||||
|
color: #c13d54;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.result-panel {
|
||||||
|
min-height: 210px;
|
||||||
|
margin-top: 28px;
|
||||||
|
overflow: hidden;
|
||||||
|
border: 1px dashed #d6d3e5;
|
||||||
|
border-radius: 16px;
|
||||||
|
background: rgba(248, 248, 252, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.result-panel.has-result {
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #dedbea;
|
||||||
|
background: #282536;
|
||||||
|
}
|
||||||
|
|
||||||
|
.result-heading {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 14px 18px;
|
||||||
|
border-bottom: 1px solid #e5e3ed;
|
||||||
|
color: #706c80;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 800;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-result .result-heading {
|
||||||
|
border-color: #3d394d;
|
||||||
|
color: #b9b4c9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.format-badge {
|
||||||
|
padding: 4px 7px;
|
||||||
|
border-radius: 6px;
|
||||||
|
color: #6659e8;
|
||||||
|
background: #eceaff;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin: 0;
|
||||||
|
padding: 20px;
|
||||||
|
overflow: auto;
|
||||||
|
color: #d8f6dd;
|
||||||
|
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 1.65;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state {
|
||||||
|
display: grid;
|
||||||
|
min-height: 155px;
|
||||||
|
place-content: center;
|
||||||
|
justify-items: center;
|
||||||
|
color: #8b879c;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state p { margin: 10px 0 0; }
|
||||||
|
.empty-icon { color: #b3afc2; font-family: monospace; font-size: 25px; }
|
||||||
|
|
||||||
|
.footer-note {
|
||||||
|
margin: 24px 0 0;
|
||||||
|
color: #8b879c;
|
||||||
|
font-size: 12px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.page-shell { align-content: start; padding: 20px 12px; }
|
||||||
|
.search-card { width: 100%; padding: 28px 20px; border-radius: 22px; }
|
||||||
|
.subtitle { margin-bottom: 26px; }
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
import react from "@vitejs/plugin-react";
|
||||||
|
import { defineConfig } from "vite";
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [react()],
|
||||||
|
server: {
|
||||||
|
proxy: {
|
||||||
|
"/api-address": "http://127.0.0.1:8000",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
@ -0,0 +1,362 @@
|
||||||
|
version = 1
|
||||||
|
revision = 2
|
||||||
|
requires-python = ">=3.12"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "address-service"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = { virtual = "." }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "django" },
|
||||||
|
{ name = "django-environ" },
|
||||||
|
{ name = "django-ninja" },
|
||||||
|
{ name = "gunicorn" },
|
||||||
|
{ name = "psycopg", extra = ["binary"] },
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.dev-dependencies]
|
||||||
|
dev = [
|
||||||
|
{ name = "pytest" },
|
||||||
|
{ name = "pytest-django" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.metadata]
|
||||||
|
requires-dist = [
|
||||||
|
{ name = "django", specifier = ">=5.2,<6.0" },
|
||||||
|
{ name = "django-environ", specifier = ">=0.12,<1.0" },
|
||||||
|
{ name = "django-ninja", specifier = ">=1.4,<2.0" },
|
||||||
|
{ name = "gunicorn", specifier = ">=23.0,<24.0" },
|
||||||
|
{ name = "psycopg", extras = ["binary"], specifier = ">=3.2,<4.0" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.metadata.requires-dev]
|
||||||
|
dev = [
|
||||||
|
{ name = "pytest", specifier = ">=8.3" },
|
||||||
|
{ name = "pytest-django", specifier = ">=4.10" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "annotated-types"
|
||||||
|
version = "0.8.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "asgiref"
|
||||||
|
version = "3.12.1"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/e6/26/3b59f2bdae5f640389becb1f673cded775287f5fc4f816309d9ca9a3f93d/asgiref-3.12.1.tar.gz", hash = "sha256:59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340", size = 42378, upload-time = "2026-07-14T09:56:18.087Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c0/1b/54f4ad77cd8a584fa70746c47df988e002cf1ee1eba43364d46f87803647/asgiref-3.12.1-py3-none-any.whl", hash = "sha256:fe386d1c2bff7259ea95929266d12a8cf9a8b5a1c2598402967d8792e7a7c094", size = 25478, upload-time = "2026-07-14T09:56:16.926Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "colorama"
|
||||||
|
version = "0.4.6"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "django"
|
||||||
|
version = "5.2.17"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "asgiref" },
|
||||||
|
{ name = "sqlparse" },
|
||||||
|
{ name = "tzdata", marker = "sys_platform == 'win32'" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/d5/d8/43e9d000519adceb189620b6869ff88031e046df91c2e9da72f8f6918399/django-5.2.17.tar.gz", hash = "sha256:9d4d93be539a18ab80d058eb515900e10951e04c537c5a6b394fc49528d3251f", size = 10889740, upload-time = "2026-08-04T15:04:03.173Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/df/f8/ce120525ca78f12b07daf65786679c5d0b54a75285a8958d3ae55e39da35/django-5.2.17-py3-none-any.whl", hash = "sha256:f04fb3b36ee119e1af4fa1d397d5fd6cf12700f49321e84d4f4c642c5b1973db", size = 8315563, upload-time = "2026-08-04T15:03:59.1Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "django-environ"
|
||||||
|
version = "0.14.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/57/e1/4c4ddcf6e90f023e89edb1d92f9a7fffce61ad4b691df497f2f5c0be6e26/django_environ-0.14.0.tar.gz", hash = "sha256:b6c48d93b9d2ff8a3ea14099e90c35aa4f101c1b4d5f262dfee0d27b06742ed7", size = 60417, upload-time = "2026-06-18T22:49:55.847Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/1a/fe/67b423fc30f16d10259e901320fbc121746bf168aaaad9043e6ebb0110c1/django_environ-0.14.0-py3-none-any.whl", hash = "sha256:8dbe8a57f0a540ab8abd6f54f230de5e99e3a2c9d797cb9caecb037bca3d47d8", size = 20934, upload-time = "2026-06-18T22:49:54.355Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "django-ninja"
|
||||||
|
version = "1.6.3"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "django" },
|
||||||
|
{ name = "pydantic" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/a2/57/71cc769a7410ade9bd1cddee16132e3da7718fcce1386c67ade7ea939677/django_ninja-1.6.3.tar.gz", hash = "sha256:a65a5016bbf044702fb1f1ff702f96dc3c806fbd7c918290512659531873039f", size = 2340438, upload-time = "2026-08-17T08:45:42.703Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e3/de/061d08265951765835166a2c69f0b99a8f49dfbea85d7d204ac87a236679/django_ninja-1.6.3-py3-none-any.whl", hash = "sha256:e83ba573e0f17b1d2fddca078613e2aaad512acb3d3c6bc9a5f1a0d9257dd70c", size = 2375010, upload-time = "2026-08-17T08:45:40.473Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "gunicorn"
|
||||||
|
version = "23.0.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "packaging" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/34/72/9614c465dc206155d93eff0ca20d42e1e35afc533971379482de953521a4/gunicorn-23.0.0.tar.gz", hash = "sha256:f014447a0101dc57e294f6c18ca6b40227a4c90e9bdb586042628030cba004ec", size = 375031, upload-time = "2024-08-10T20:25:27.378Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/cb/7d/6dac2a6e1eba33ee43f318edbed4ff29151a49b5d37f080aad1e6469bca4/gunicorn-23.0.0-py3-none-any.whl", hash = "sha256:ec400d38950de4dfd418cff8328b2c8faed0edb0d517d3394e457c317908ca4d", size = 85029, upload-time = "2024-08-10T20:25:24.996Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "iniconfig"
|
||||||
|
version = "2.3.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "packaging"
|
||||||
|
version = "26.3"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pluggy"
|
||||||
|
version = "1.6.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "psycopg"
|
||||||
|
version = "3.3.4"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
|
||||||
|
{ name = "tzdata", marker = "sys_platform == 'win32'" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/db/2f/cb91e5502ec9de1de6f1b76cfbf69531932725361168bb06963620c77e2e/psycopg-3.3.4.tar.gz", hash = "sha256:e21207764952cff81b6b8bdacad9a3939f2793367fdac2987b3aac36a651b5bc", size = 165799, upload-time = "2026-05-01T23:31:55.179Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5c/e0/7b3dee031daae7743609ce3c746565d4a3ed7c2c186479eb48e34e838c64/psycopg-3.3.4-py3-none-any.whl", hash = "sha256:b6bbc25ccf05c8fad3b061d9db2ef0909a555171b84b07f29458a447253d679a", size = 213001, upload-time = "2026-05-01T23:20:50.816Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.optional-dependencies]
|
||||||
|
binary = [
|
||||||
|
{ name = "psycopg-binary", marker = "implementation_name != 'pypy'" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "psycopg-binary"
|
||||||
|
version = "3.3.4"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/95/7d/03818e13ba7f36de93573c93ee3482006d3dfa8b0f8d28df511bad0a1a92/psycopg_binary-3.3.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5ab28a2a7649df3b72e6b674b4c190e448e8e77cf496a65bd846472048de2089", size = 4591122, upload-time = "2026-05-01T23:27:56.162Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/a5/b9/11b341edf8d54e2694726b273fe9652b254d989f4f63e3ac6816ad6b55f4/psycopg_binary-3.3.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6402a9d8146cf4b3974ded3fd28a971e83dc6a0333eb7822524a3aa20b546578", size = 4669943, upload-time = "2026-05-01T23:28:04.522Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/8b/18/4665bacd65e7865b4372fcd8abb8b9186ada4b0025f8c2ca691b364a556c/psycopg_binary-3.3.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:580ae30a5f95ccd90008ec697d3ed6a4a2047a516407ad904283fa42086936e9", size = 5469697, upload-time = "2026-05-01T23:28:11.337Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7c/b1/b83136c6e510593d9b0c759ba5384337bc4ad82d19fda675adc4b2703c84/psycopg_binary-3.3.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e7510c37550f91a187e3660a8cc50d4b760f8c3b8b2f89ebc5698cd2c7f2c85d", size = 5152995, upload-time = "2026-05-01T23:28:20.529Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/67/8d/a9821e2a648afe6091989929982a3b0f00b2631a859cb81379728f08fb75/psycopg_binary-3.3.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:77df19583501ea288eaf15ac0fe7ad01e6d8091a91d5c41df5c718f307d8e31b", size = 6738180, upload-time = "2026-05-01T23:28:30.654Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7e/58/2e349e8d23905dc2317b80ac65f48fb6f821a4777a4e994a60da91c4850f/psycopg_binary-3.3.4-cp312-cp312-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:018fbed325936da502feb546642c982dcc4b9ffdea32dfef78dbf3b7f7ad4070", size = 4978828, upload-time = "2026-05-01T23:28:37.277Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/45/48/57b00d03b4721878326122a1f1e6b0a90b85bcaec56b5b2f8ea6cfa45235/psycopg_binary-3.3.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:17a21953a9e5ff3a16dab692625a3676e2f101db5e40072f39dbee2250194d68", size = 4509757, upload-time = "2026-05-01T23:28:43.078Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/25/37/33b47d8c007df69aec500df5889767c4d313748e8e9e27a2fef8a6dabcee/psycopg_binary-3.3.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:eb05ee1c2b817d27c537333224c9e83c7afb86fe7296ba970990068baf819b16", size = 4190546, upload-time = "2026-05-01T23:28:50.016Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/ca/c6/32b0835dbc2122617902b649d76a91c1e75406e76bf3d595b0c3bb5ffad6/psycopg_binary-3.3.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:773d573e11f437ce0bdb95b7c18dc58390494f96d43f8b45b9760436114f7652", size = 3926197, upload-time = "2026-05-01T23:28:55.55Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/cd/68/d190ef0c0c5b16ded07831dabc8ddd412f4cdab07ec6e30ed38d9bda0e1f/psycopg_binary-3.3.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:71e55ccbdfae79a2ed9c6369c3008a3025817ff9d7e27b32a2d84e2a4267e66e", size = 4236627, upload-time = "2026-05-01T23:29:05.336Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/25/8f/81dcbc2e8454b74d14881275ea45f00791052dac531a9fa8be1730d1685b/psycopg_binary-3.3.4-cp312-cp312-win_amd64.whl", hash = "sha256:494ca54901be8cf9eb7e02c25b731f2317c378efa44f43e8f9bd0e1184ae7be4", size = 3560782, upload-time = "2026-05-01T23:29:11.967Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/09/43/13e9c406fbbf354580476e248a16b64802a376873ebe6339e30bb655572d/psycopg_binary-3.3.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:fbd1d4ed566895ad2d3bf4ddfd8bae90026930ddf29df3b9d91d32c8c47866a7", size = 4590377, upload-time = "2026-05-01T23:29:18.782Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/22/be/2923cd7c3683e7afdecf4f10796a18de02f5c5ddc0969aa2ad0a8cdd3bbd/psycopg_binary-3.3.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:75a9067e236f9b9ae3535b66fe99bddb33d39c0de10112e49b9ab11eee53dc31", size = 4669023, upload-time = "2026-05-01T23:29:25.884Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/96/a0/2c913d6fe13d6a8bd13597d36739bf47af063ad9399e402cfecab16f3c1e/psycopg_binary-3.3.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:b56b603ebcea8aa10b46228b8410ba7f13e7c2ee54389d4d9be0927fd8ce2a70", size = 5467423, upload-time = "2026-05-01T23:29:33.416Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e7/38/205d10bc1ad0df4a21c5c51659126bd3ea0ef98fcad1e852f78c249bb9c3/psycopg_binary-3.3.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c677c4ad433cb7150c8cd304a0769ae3bcfbe5ea0676eb53faa7b1443b16d0d3", size = 5151137, upload-time = "2026-05-01T23:29:42.013Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/36/fc/f0381ddcd45eff3bb70dbca6823a996048d7f507b2ec3fc92c6fabc0fe87/psycopg_binary-3.3.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:26df2717e59c0473e4465a97dfb1b7afebaa479277870fd5784d1436470db47c", size = 6736671, upload-time = "2026-05-01T23:29:51.626Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/95/40/fa545ae152c24327651e5624e4902121e808270be36c10b12e9939be09bc/psycopg_binary-3.3.4-cp313-cp313-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1dc1f79fd16bb1f3f4421417a514607539f17804d95c7ed617265369d1981cae", size = 4979601, upload-time = "2026-05-01T23:29:56.961Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/86/e4/2f8a47ee97f90cd2b933d0463081d35631ff419de2b8c984a5f369857de0/psycopg_binary-3.3.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:136f199a407b5348b9b857c504aff60c77622a28482e7195839ce1b51238c4cc", size = 4510513, upload-time = "2026-05-01T23:30:07.243Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/0e/0e/94e842ff4a7f98ed162580ca2e8b8864b28c1e0350f2443f8ee47f821167/psycopg_binary-3.3.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:b6f5a29e9c775b9f12a1a717aa7a2c80f9e1db6f27ba44a5b59c80ac61d2ffcf", size = 4187243, upload-time = "2026-05-01T23:30:15.352Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d0/83/fc6c174b672e29b7de996ea77b6cbddf46c891751c3355f6974292baa6b4/psycopg_binary-3.3.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:ee17a2cf4943cde261adfad1bbc5bf38d6b3776d7afff74c7cabcbeaeb08c260", size = 3927347, upload-time = "2026-05-01T23:30:21.186Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e9/65/768364d4a97a15b1a7f47ba52688c1686f22941d8332a8398cefc468e25f/psycopg_binary-3.3.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5c4ab71be17bdca30cb34c34c4e1496e2f5d6f20c199c12bad226070b22ef9bf", size = 4236393, upload-time = "2026-05-01T23:30:26.211Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/bd/3b/218efbc9e645becd80cdf651acda05f85cfe546b7a9c0458c7cbc8fe1f74/psycopg_binary-3.3.4-cp313-cp313-win_amd64.whl", hash = "sha256:dbfdb9b6cc79f31104a7b162a2b921b765fcc62af6c00540a167a8de47e4ed38", size = 3564592, upload-time = "2026-05-01T23:30:31.764Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/48/a6/828c9185701dab71b234c2a76c38a08b098ebfec5020716b4e93807492b5/psycopg_binary-3.3.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:28b7398fdd19db3232c884fb24550bdfe951221f510e195e233299e4c9b78f97", size = 4607292, upload-time = "2026-05-01T23:30:38.962Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/92/58/5b40dbc9d839045c9dae956960e4fb6d20bcabe6c59a2aa34fc3a371913f/psycopg_binary-3.3.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1fbaa292a3c8bb61b45df1ad3da1908ccee7cb889db9425e3557d9e34e2a4829", size = 4687023, upload-time = "2026-05-01T23:30:47.227Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/85/a9/793f0ac107a9003b48441d0d1f9f616d96e0f37458dd8dc12528ceff55fb/psycopg_binary-3.3.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:94596f9e7633ee3f6440711d43bb70aa31cc0a46a900ab8b4201a366ace5c9e7", size = 5486985, upload-time = "2026-05-01T23:30:55.517Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/8f/26/42e8533497e2592334f68ec529cf5f840f7fa4e99575a4bb61aa184dbfbf/psycopg_binary-3.3.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8c0056529e68dbe9184cd4019a1f3d8f3a4ead2f6fc7a5afcf27d3314edd1277", size = 5168745, upload-time = "2026-05-01T23:31:01.904Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/15/af/b7151776cc08d5935d45c833ec818a9beb417cf7c08239af1aafbdae78ee/psycopg_binary-3.3.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c09aad7051326e7603c14e50636db9c01f78272dc54b3accff03d46370461e6", size = 6761486, upload-time = "2026-05-01T23:31:14.511Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d0/ed/c92533b9124712d592cbf1cd6c76da933a2e0acea81dfe1fbe7e735f0cff/psycopg_binary-3.3.4-cp314-cp314-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:514404ed543efd620c85602b747df2a23cf1241b4067199e1a66f2d2757aaa41", size = 4997427, upload-time = "2026-05-01T23:31:20.901Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/a2/23/ccadfd0de416aa188356daa199453af24087b042e296088706d190ae0295/psycopg_binary-3.3.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:46893c26858be12cc49ca4226ed6a60b4bfccadd946b3bebb783a60b38788228", size = 4533549, upload-time = "2026-05-01T23:31:26.204Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/fd/a0/c8f43cee36386f7bc891ab41a9d31ea07cf9826038e732da79f26b1e5f34/psycopg_binary-3.3.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:df1d567fc430f6df15c9fcf67d87685fc49bdb325adc0db5af1adfb2f44eb5c9", size = 4210256, upload-time = "2026-05-01T23:31:33.884Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/4e/2c/c1547871be3790676e8868b38655496422f94f0978dfb66b74bdba2f1676/psycopg_binary-3.3.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:6b9016b1714da4dd5ecaaa75b82098aa5a0b87854ce9b092e21c27c4ae23e014", size = 3946204, upload-time = "2026-05-01T23:31:39.626Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c4/b1/f6670f00fa7ea601584623f6c11602ab92117d83eaff885e0210f6de7418/psycopg_binary-3.3.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:47c656a8a7ba6eb0cff1801a4caaa9c8bdc12d03080e273aff1c8ac39971a77e", size = 4255811, upload-time = "2026-05-01T23:31:44.986Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/eb/e6/5fff07a70d1f945ed90ae131c3bd76cab32beff7c58c6db15ad5820b6d1f/psycopg_binary-3.3.4-cp314-cp314-win_amd64.whl", hash = "sha256:c37e024c07308cd06cf3ec51bfd0e7f6157585a4d84d1bce4a7f5f7913719bf8", size = 3666849, upload-time = "2026-05-01T23:31:51.165Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pydantic"
|
||||||
|
version = "2.13.4"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "annotated-types" },
|
||||||
|
{ name = "pydantic-core" },
|
||||||
|
{ name = "typing-extensions" },
|
||||||
|
{ name = "typing-inspection" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pydantic-core"
|
||||||
|
version = "2.46.4"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "typing-extensions" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pygments"
|
||||||
|
version = "2.21.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pytest"
|
||||||
|
version = "9.1.1"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
||||||
|
{ name = "iniconfig" },
|
||||||
|
{ name = "packaging" },
|
||||||
|
{ name = "pluggy" },
|
||||||
|
{ name = "pygments" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pytest-django"
|
||||||
|
version = "4.14.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "pytest" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/44/f6/3851312120c2bf2f19cafff931e75059aad1ba670703cd751e2fde9bc942/pytest_django-4.14.0.tar.gz", hash = "sha256:26787dd3f422cfbab8f55b80a776e2edea7a11092cb74e960bef1312515708ef", size = 94700, upload-time = "2026-08-10T14:13:08.319Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9c/03/850bffad2b581c440ca51c039d74504d5a422c94bda0bdb8a8ba5068d48b/pytest_django-4.14.0-py3-none-any.whl", hash = "sha256:c533b08d89cc675efcd5398eea270b34547e35f9a3608e2c9748dd88428ea187", size = 27067, upload-time = "2026-08-10T14:13:06.998Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "sqlparse"
|
||||||
|
version = "0.6.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/5f/d3/3f06a1006f2261d1342aefb3c71eed02f5d4ca5bdbecd86ebc12ad38306e/sqlparse-0.6.0.tar.gz", hash = "sha256:113c35c75365ab9cc9c7231d68c6428fb11c085fc8e9eb1ad659b7ddbf6cd2b9", size = 178477, upload-time = "2026-08-13T19:16:06.396Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d9/50/f00935da0ec7cbf325f8dc4f772ae46fbc7b672dd62876e73f0a94adda57/sqlparse-0.6.0-py3-none-any.whl", hash = "sha256:b861c0288ce2fa56209a9a6412d2e066ac664b3873b89c26c9d8415e8e32996f", size = 50070, upload-time = "2026-08-13T19:16:04.062Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "typing-extensions"
|
||||||
|
version = "4.16.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "typing-inspection"
|
||||||
|
version = "0.4.4"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "typing-extensions" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/a3/26/b09b8010994eccc3c09092e6b34058f36a460eea2d4c3e8b910c695975a0/typing_inspection-0.4.4.tar.gz", hash = "sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47", size = 76928, upload-time = "2026-08-12T12:37:25.997Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl", hash = "sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147", size = 14750, upload-time = "2026-08-12T12:37:24.648Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tzdata"
|
||||||
|
version = "2026.3"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/92/ff/5a28bdfd8c3ebec42564ac7d0e54ca3db65044a9314a97f9564fa7a1e926/tzdata-2026.3.tar.gz", hash = "sha256:4a1518b8993086a7982523e071643f3c0e5f213e75b21318e78bcabfff9d1415", size = 198674, upload-time = "2026-07-10T08:50:37.887Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e5/6d/b53b99a9f2766d095985947a5782f1702cabb129a34f7a802d7197af832f/tzdata-2026.3-py2.py3-none-any.whl", hash = "sha256:dc096730c87af6cab1b171c9d532be840741ff5d459015e7f6947bd7d7e54931", size = 348168, upload-time = "2026-07-10T08:50:36.46Z" },
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue