diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..dd0a4ee --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# Default owner +* @BKDDFS + +# Critical paths +perfectframe/ @BKDDFS +tests/ @BKDDFS +.github/ @BKDDFS +Dockerfile @BKDDFS diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8b03b32..ede0cce 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -9,12 +9,12 @@ in addressing your issue, assessing changes, and helping you finalize your pull > I am still learning how to be an effective maintainer for our project. I am committed to improving, so please feel free to share any feedback or suggestions you might have. Thank you! PerfectFrameAI is an open source project and we love to receive contributions from our community — you! -There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, +There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into PerfectFrameAI itself. ## Code of Conduct This project and everyone participating in it is governed by this [Code of Conduct](https://github.com/BKDDFS/PerfectFrameAI/blob/main/.github/CODE_OF_CONDUCT.md). -By participating, you are expected to uphold this code. +By participating, you are expected to uphold this code. ## I don't want to read this whole thing I just have a question Please use discussion tab for this. @@ -26,7 +26,7 @@ Before **creating** an Issue for `features`/`bugs`/`improvements` please follow Be sure to include a **title and clear description**, as much relevant information as possible. Please select the correct Issue type, for example `bug` or `feature`. 1. all Issues are automatically given the label `status: waiting for triage` -1. if you wish to work on the Issue once it has been triaged and label changed to `status: ready for dev`, +1. if you wish to work on the Issue once it has been triaged and label changed to `status: ready for dev`, please include this in your Issue description ## Working on an Issue diff --git a/.github/README.pl.md b/.github/README.pl.md deleted file mode 100644 index bdb402c..0000000 --- a/.github/README.pl.md +++ /dev/null @@ -1,561 +0,0 @@ - -
-

- Github Created At - GitHub last commit - - - - GitHub License - GitHub Tag - GitHub Repo stars -

-
- -
-

- English  •  - Polski -

-
-
- W świecie przesyconym treściami wideo, każda sekunda ma potencjał, by stać się niezapomnianym ujęciem. - PerfectFrameAI to narzędzie wykorzystujące sztuczną inteligencję do analizowania materiałów wideo - i automatycznego zapisywania najładniejszych klatek. -
-
-

🔎 Demo

- -

Full demo: https://youtu.be/FX1modlxeWA

- -
-
-

🔑 Kluczowe funkcje:

-
- - Best Frames Extraction 🎞️➜🖼️ -
Wybieranie najlepszych klatek z plików video.
-
- -
    -

    Input: Folder z plikami video.

    -
  1. Bierze pierwsze video ze wskazanej lokalizacji.
  2. -
  3. - Dzieli wideo na klatki. - Klatki są brane co 1 sekundę wideo. - Klatki są przetwarzane w batchach(seriach). -
  4. -
  5. Ocenia wszystkie klatki w batchu za pomocą modelu AI i nadaje im ocenę liczbową.
  6. -
  7. Dzieli batch klatek na mniejsze grupy.
  8. -
  9. Wybiera klatkę z najwyższą oceną liczbową z każdej grupy.
  10. -
  11. Zapisuje klatki z najlepszymi ocenami w wybranej lokalizacji.
  12. -

    Output: Klatki zapisane jako .jpg.

    -
-
-
-
- - Top Images Extraction 🖼️➜🖼️ -
Wybieranie najlepszych obrazów z folderu z obrazami.
-
- -
    -

    Input: Folder z obrazami.

    -
  1. Wczytuje obrazy. Obrazy są przetwarzane batchach(seriach).
  2. -
  3. Ocenia wszystkie obrazy w batchu za pomocą modelu AI i nadaje im ocenę liczbową.
  4. -
  5. - Oblicza, jaki wynik musi mieć obraz, żeby znaleźć się w top 90% obrazów. - W schemas.py można zmienić tę wartość - top_images_percent. -
  6. -
  7. Zapisuje obrazy o w wybranej lokalizacji.
  8. -

    Output: Obrazy zapisane jako .jpg.

    -
-
-
-
- - 🆕 Frames Extraction 🖼️🖼️🖼️ -
Zamienia pliki video na klatki.
-
-

Modyfikuje best_frames_extractor poprzez pominięcie części z AI/ocenianiem klatek.

- python start.py best_frames_extractor --all_frames -
    -

    Input: Folder z plikami video.

    -
  1. Bierze pierwsze video ze wskazanej lokalizacji.
  2. -
  3. - Dzieli wideo na klatki. Klatki są brane co 1 sekundę wideo. - Klatki są przetwarzane w batchach(seriach). -
  4. -
  5. Zapisuje wszystkie klatki w wybranej lokalizacji.
  6. -

    Output: Klatki zapisane jako .jpg.

    -
-
-
-
-

💿 Instalacja

-
-

Wymagania systemowe:

- -
-
- Zainstaluj Dokcer: - Docker Desktop: https://www.docker.com/products/docker-desktop/ -
-
- Zainstaluj Python v3.10+: - MS Store: https://apps.microsoft.com/detail/9ncvdn91xzqp?hl=en-US&gl=US
- Python.org: https://www.python.org/downloads/ -
-
- Pobierz PerfectFrameAI -
- Aby pobrać kod z repozytorium na GitHubie, kliknij przycisk Code, - a następnie wybierz Download ZIP - lub skopiuj adres URL i użyj polecenia git clone w terminalu. -
- -
-
-
-

⚡ Jak używać:

-
- - 🚀 Sposób 1 - CLI -

Wymaga Pythona. Jest prosty i wygodny.

-
-

Uruchom start.py z terminala.

-

Przykład dla Best Frames Extraction:

- python start.py best_frames_extractor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dostępne flagi
FlagaKrótkaOpisTypDomyślna wartość
--input_dir-iZmiana inputustr./input_directory
--output_dir-oZmiana outputustr./output_directory
--port-pZmiana portu na którym będzie działał extractor_serviceint8100
--build-b - Buduje nowy Docker image z nowymi podanymi ustawieniami. - Używaj zawsze z flagą --build, jeśli nie rozumiesz. - boolFalse
--all_frames - Do pomijania oceniania klatek. - boolFalse
--cpu - Wyłącza korzystanie z GPU. Musisz tego użyć jeśli nie masz GPU. - boolFalse
-

Przykład dla Best Frames Extraction:

- -

Inne domyślne parametry możesz edytować w config.py.

-
-

Ułatwienie dla użytkowników Windows:
- Jeśli korzystasz z Windows, możesz skorzystać z dołączonego pliku quick_demo.bat, - który włączy best_frames_extractor na [wartościach domyślnych] zapisanych w config.py. - Możesz zmienić config.py, żeby dopasować aplikację do swoich potrzeb.

-
-
-
- - 🐳 Sposób 2 - docker-compose.yaml: -

Nie wymaga Pythona. Uruchom używając Docker Compose.

-
-

Docker Compose Docs: https://docs.docker.com/compose/

-
    -
  1. Uruchom serwis:
    docker-compose up --build -d
  2. -
  3. Wyślij zapytanie pod wybrany endpoint. -

    Przykładowe zapytania:

    -
      -
    • Best Frames Extraction:
      POST http://localhost:8100/extractors/best_frames_extractor
    • -
    • Top Frames Extraction:
      POST http://localhost:8100/extractors/top_images_extractor
    • -
    • Obecnie pracujący extractor:
      GET http://localhost:8100/
    • -
    -
  4. - Możesz ewentualnie edytować docker-compose.yaml, jeśli nie chcesz korzystać z ustawień domyślnych. -
-
-
-
-

💡O projekcie:

-
-

Spis treści:

- -
-
-

📐 Jak to działa

-

- Narzędzie używa modelu zbudowanego zgodnie z zasadami dla modeli - Neural Image Assessment (NIMA) do określania estetyki obrazów. -

- -
- Input modelu -

Model przyjmuje odpowiednio znormalizowane obrazy w batchu Tensor.

-
-

Wyniki oceniania obrazów

-

- Model NIMA, po przetworzeniu obrazów, zwraca wektory prawdopodobieństw, - gdzie każda z wartość w wektorze odpowiada prawdopodobieństwu, - że obraz przynależy do jednej z klas estetycznych. -

-
- Klasy estetyczne -

- Jest 10 klas estetycznych. W modelu NIMA każda z 10 klas odpowiada - określonemu poziomowi estetyki, gdzie: -

-
    -
  • Klasa 1: Bardzo niska jakość estetyczna.
  • -
  • Klasa 2: Niska jakość estetyczna.
  • -
  • Klasa 3: Poniżej średniej jakości estetycznej.
  • - ... -
  • Klasa 10: Wyjątkowo wysoka jakość estetyczna.
  • -
-
-

Obliczanie ostatecznej oceny obrazu

-

- Ostateczna ocena obrazu jest obliczana za pomocą średniej - ważonej z wyników dla każdej z klas, gdzie wagi są - wartościami klas od 1 do 10. -

-

Przykład:

-

- Załóżmy, że model zwraca następujący wektor - prawdopodobieństw dla jednego obrazu: -

-
[0.1, 0.05, 0.05, 0.1, 0.2, 0.15, 0.1, 0.1, 0.1, 0.05]
- Oznacza to, że obraz ma: - -

- Obliczając średnią ważoną z tych prawdopodobieństw, - gdzie wagi to wartości klas (1 do 10): -

- -
-
-

📖 Implementacja w skrócie

- -
- Architektura modelu -

- Model NIMA używa architektury InceptionResNetV2 jako swojej podstawy. - Ta architektura jest znana ze swojej wysokiej wydajności w zadaniach - klasyfikacji obrazów. -

-
-
- Wagi modelu -

- Model korzysta z wcześniej wytrenowanych wag, - wytrenowanych na dużym zbiorze danych (AVA dataset) obrazów - ocenionych pod kątem ich jakości estetycznej. - Narzędzie automatycznie pobiera wagi i przechowuje je - w voluminie Docker do dalszego użytkowania. -

-
-
- Normalizacja obrazów -

- Przed wprowadzeniem obrazów do modelu, są one normalizowane, - aby upewnić się, że mają właściwy format i zakres wartości. -

-
-
- Przewidywanie przynależności do klas -

- Model przetwarza obrazy i zwraca wektor 10 prawdopodobieństw, - z których każde reprezentuje prawdopodobieństwo przynależności - obrazu do jednej z 10 klas jakości estetycznej - (od 1 dla najniższej jakości do 10 dla najwyższej jakości). -

-
-
- Obliczanie średniej ważonej -

- Ostateczny wynik estetyczny dla obrazu jest obliczany - jako średnia ważona tych prawdopodobieństw, - przy czym wyższe klasy mają większe wagi. -

-
-
-
-

✅ v1.0 vs v2.0

-

- PerfectFrameAI to narzędzie stworzone na podstawie jednego z mikro serwisów mojego głównego projektu. - Określam tamtą wersję jako v1.0. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Featurev1.0v2.0
CLI
Zautomatyzowana instalacja
Szybki i Prosty Setup
Optymalizacja zużycia RAMu
Wydajność+0%+70%
Rozmiar*12.6 GB8.4 GB
Open Source
-

*v1.0 wszystkie zależności i model vs v2.0 docker image + model

-

Porównanie wydajności:

- - -
-
-

Architektura

- -
-
-

🛠️ Użyte technologie

- -
-
-

🧪 Testy

- -

- Testy możesz uruchomić instalując zależności z pyproject.toml - i wpisując w terminal w lokalizacj projektu - pytest. -

-
- jednostkowe -

- Każdy moduł ma swoje testy jednostkowe. - Testują one każdą z metod i funkcji dostępnych w modułach. - Test coverage wynosi 100% (testy w całości pokrywają logikę biznesową). -

-
-
- integracyjne -
    -
  • Testowanie integracji docker_manager z Dockerem.
  • -
  • Testowanie integracji z parserem.
  • -
  • Testowanie integracji logiki biznesowej z modelem NIMA.
  • -
  • Testowanie integracji z FastAPI.
  • -
  • Testowanie integracji z OpenCV.
  • -
  • Testowanie integracji z FFMPEG.
  • -
  • Testowanie integracji modułów między sobą na różne sposoby...
  • -
-
-
- e2e -
    -
  • Testowanie działania extractor_service jako całość.
  • -
  • Testowanie działania extractor_service+service_initializer jako całość.
  • -
-
-
-
-
-

🎯 Roadmapa

-

- Poniżej znajduje się lista funkcji, które planujemy zaimplementować w nadchodzących wersjach. - Zapraszamy do współpracy i sugestii społeczność. -

- -
-
-

👋 Jak zostać Contributorem

-

- Jeśli jesteś zainteresowany wkładem w ten projekt, - proszę poświęć chwilę na przeczytanie naszego - Przewodnika dla contributorów. - Zawiera on wszystkie informacje potrzebne do rozpoczęcia, takie jak: -

- -

- Twój wkład pomaga uczynić ten projekt lepszym, doceniamy twoje wysiłki. Dziękujemy za wsparcie! -

-
-
-

❤️ Feedback

-

- Będę bardzo wdzięczny za feedback na temat jakości mojego kodu i tego projektu. - Jeśli masz jakieś sugestie, proszę: -

- -
W celu bezpośredniej komunikacji, możesz skontaktować się ze mną pod adresem Bartekdawidflis@gmail.com.
-
-
-

⭐️ Wsparcie

-

Nie zapomnij zostawić gwiazdki ⭐️.

-
-
-

🗃️ Biografia

- Oryginalna publikacja Google Brains przedstawiająca NIMA:
- https://research.google/blog/introducing-nima-neural-image-assessment/
- Wagi do modelu:
- https://github.com/titu1994/neural-image-assessment -
-
-

📜 Licencja

-

- PerfectFrameAI jest licencjonowany na podstawie licencji GNU General Public License v3.0. - Więcej informacji znajdziesz w pliku LICENSE. -

-
diff --git a/.github/SECURITY.md b/.github/SECURITY.md index b7af498..bb08164 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -8,7 +8,7 @@ Email: Send an email to Bartekdawidflis@gmail.com with the subject line "Securit * Detailed steps to reproduce the issue. * Any relevant logs or screenshots. * Your recommendations for mitigating the issue, if applicable. - + ### Credit: If you wish, we will credit you for the discovery of the vulnerability in our release notes or security advisories. diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..55c6fab --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "uv" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..f5a704a --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,12 @@ +changelog: + categories: + - title: "⚠️ Breaking Changes" + labels: [breaking-change] + - title: "🚀 Features" + labels: [enhancement] + - title: "🐛 Bug Fixes" + labels: [bug] + - title: "📖 Documentation" + labels: [documentation] + - title: "🔧 Maintenance" + labels: [chore, dependencies] diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..96aff16 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,23 @@ +name: CodeQL + +on: + push: + branches: [main, dev] + pull_request: + branches: [main, dev] + schedule: + - cron: '0 6 * * 1' + +permissions: + contents: read + security-events: write + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: github/codeql-action/init@v3 + with: + languages: python + - uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 0000000..57ec256 --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,13 @@ +name: PR Title + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..28d5ede --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,49 @@ +name: Release + +on: + push: + branches: [main] + +jobs: + release-please: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + outputs: + release_created: ${{ steps.release.outputs.release_created }} + tag_name: ${{ steps.release.outputs.tag_name }} + steps: + - uses: googleapis/release-please-action@v4 + id: release + with: + release-type: python + + sbom: + needs: release-please + if: ${{ needs.release-please.outputs.release_created }} + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + attestations: write + steps: + - uses: actions/checkout@v6 + + - name: Generate SBOM + uses: anchore/sbom-action@v0 + with: + format: spdx-json + output-file: perfectframeai-${{ needs.release-please.outputs.tag_name }}.spdx.json + + - name: Attest SBOM + uses: actions/attest-sbom@v3 + with: + subject-path: perfectframeai-${{ needs.release-please.outputs.tag_name }}.spdx.json + sbom-path: perfectframeai-${{ needs.release-please.outputs.tag_name }}.spdx.json + + - name: Upload SBOM to release + uses: softprops/action-gh-release@v2 + with: + tag_name: ${{ needs.release-please.outputs.tag_name }} + files: perfectframeai-${{ needs.release-please.outputs.tag_name }}.spdx.json diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 1e6b798..c2ed9dc 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -2,56 +2,58 @@ name: CI on: push: - branches: [ "main" ] + branches: [main, dev] pull_request: - branches: [ "main" ] - -permissions: - contents: read + branches: [main, dev] jobs: - build: + pre-commit: runs-on: ubuntu-latest - - services: - docker: - image: docker:26.1.3 - options: --privileged - ports: - - 2375:2375 - env: - DOCKER_TLS_CERTDIR: "" - steps: - - name: Checkout repository - uses: actions/checkout@v4.1.6 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.3.0 - - - name: Set up Python - uses: actions/setup-python@v5.1.0 + - uses: actions/checkout@v6 + - uses: actions/setup-python@v6 with: - python-version: 3.11 - - - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org | python3 - - echo "export PATH=\"$HOME/.local/bin:$PATH\"" >> $GITHUB_ENV - - - name: Install dependencies - run: | - poetry install - - - name: Run tests with coverage + python-version: '3.13' + - uses: pre-commit/action@v3.0.1 env: - DOCKER_HOST: tcp://localhost:2375 - run: | - poetry run pytest --cov --cov-report=xml + SKIP: pytest + test: + needs: pre-commit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: astral-sh/setup-uv@v7 + - name: Run tests with coverage + run: uv run --group test pytest --cov=perfectframe --cov-report=xml --cov-fail-under=100 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml fail_ci_if_error: true + + test-docker: + needs: pre-commit + runs-on: ubuntu-latest + permissions: + contents: read + security-events: write + steps: + - uses: actions/checkout@v6 + - uses: astral-sh/setup-uv@v7 + - name: Build Docker image + run: docker compose build + - name: Run Docker E2E tests + run: uv run --group test pytest tests/e2e/docker_*.py -v --timeout=600 + - name: Run Trivy vulnerability scanner + uses: aquasecurity/trivy-action@0.33.1 + with: + image-ref: 'perfectframeai-perfectframe:latest' + format: 'sarif' + output: 'trivy-results.sarif' + severity: 'CRITICAL,HIGH' + - name: Upload Trivy scan results + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: 'trivy-results.sarif' diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000..7598736 --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,36 @@ +name: OpenSSF Scorecard + +on: + push: + branches: [main] + schedule: + - cron: '0 6 * * 1' # Weekly on Monday at 6 AM (aligned with CodeQL) + workflow_dispatch: # Allow manual triggers + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + security-events: write # Upload SARIF results + id-token: write # Publish results and enable OIDC + contents: read + actions: read + + steps: + - name: Checkout code + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Run Scorecard analysis + uses: ossf/scorecard-action@v2.4.3 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + + - name: Upload SARIF results + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: results.sarif diff --git a/.gitignore b/.gitignore index 3c73a13..8725a17 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ __pycache__/ # IDE specific files .idea/ +# macOS +.DS_Store + # Coverage reports .coverage htmlcov/ @@ -24,8 +27,9 @@ output_directory/* !input_directory/.gitkeep !output_directory/.gitkeep -# Model file -nima.h5 +# Model files +*.onnx +*.h5 # Test files tests/test_files/best_frames/* diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..fcb9c2a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,55 @@ +# .pre-commit-config.yaml +default_install_hook_types: [pre-commit] +default_stages: [pre-commit] + +repos: + # FORMATTERS + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-toml + - id: check-added-large-files + args: ['--maxkb=1000'] # Block files > 1MB + - id: debug-statements + - id: check-merge-conflict + + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.14.14 + hooks: + - id: ruff-format + - id: ruff + args: ["--fix"] + + - repo: https://github.com/allganize/ty-pre-commit + rev: v0.0.13 + hooks: + - id: ty-check + exclude: ^(tests|perfectframe)/ + + - repo: https://github.com/PyCQA/docformatter + rev: 06907d0 + hooks: + - id: docformatter + args: ["--in-place", "--wrap-summaries", "100", "--wrap-descriptions", "100"] + files: perfectframe/ + + - repo: https://github.com/Yelp/detect-secrets + rev: v1.5.0 + hooks: + - id: detect-secrets + args: ['--baseline', '.secrets.baseline'] + exclude: 'tests/' + + # LOCAL HOOKS + - repo: local + hooks: + - id: pytest + name: pytest-units + entry: uv run pytest tests/unit -v --cov=perfectframe --cov-fail-under=100 + language: system + pass_filenames: false + files: (perfectframe|tests)/ + stages: [pre-commit] diff --git a/.secrets.baseline b/.secrets.baseline new file mode 100644 index 0000000..2611228 --- /dev/null +++ b/.secrets.baseline @@ -0,0 +1,127 @@ +{ + "version": "1.5.0", + "plugins_used": [ + { + "name": "ArtifactoryDetector" + }, + { + "name": "AWSKeyDetector" + }, + { + "name": "AzureStorageKeyDetector" + }, + { + "name": "Base64HighEntropyString", + "limit": 4.5 + }, + { + "name": "BasicAuthDetector" + }, + { + "name": "CloudantDetector" + }, + { + "name": "DiscordBotTokenDetector" + }, + { + "name": "GitHubTokenDetector" + }, + { + "name": "GitLabTokenDetector" + }, + { + "name": "HexHighEntropyString", + "limit": 3.0 + }, + { + "name": "IbmCloudIamDetector" + }, + { + "name": "IbmCosHmacDetector" + }, + { + "name": "IPPublicDetector" + }, + { + "name": "JwtTokenDetector" + }, + { + "name": "KeywordDetector", + "keyword_exclude": "" + }, + { + "name": "MailchimpDetector" + }, + { + "name": "NpmDetector" + }, + { + "name": "OpenAIDetector" + }, + { + "name": "PrivateKeyDetector" + }, + { + "name": "PypiTokenDetector" + }, + { + "name": "SendGridDetector" + }, + { + "name": "SlackDetector" + }, + { + "name": "SoftlayerDetector" + }, + { + "name": "SquareOAuthDetector" + }, + { + "name": "StripeDetector" + }, + { + "name": "TelegramBotTokenDetector" + }, + { + "name": "TwilioKeyDetector" + } + ], + "filters_used": [ + { + "path": "detect_secrets.filters.allowlist.is_line_allowlisted" + }, + { + "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies", + "min_level": 2 + }, + { + "path": "detect_secrets.filters.heuristic.is_indirect_reference" + }, + { + "path": "detect_secrets.filters.heuristic.is_likely_id_string" + }, + { + "path": "detect_secrets.filters.heuristic.is_lock_file" + }, + { + "path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string" + }, + { + "path": "detect_secrets.filters.heuristic.is_potential_uuid" + }, + { + "path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign" + }, + { + "path": "detect_secrets.filters.heuristic.is_sequential_string" + }, + { + "path": "detect_secrets.filters.heuristic.is_swagger_file" + }, + { + "path": "detect_secrets.filters.heuristic.is_templated_secret" + } + ], + "results": {}, + "generated_at": "2026-01-27T14:14:05Z" +} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..737b794 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,57 @@ +FROM python:3.13.11-slim-bookworm + +LABEL authors="BKDDFS" + +# Install uv (fixed version) +COPY --from=ghcr.io/astral-sh/uv:0.9.27 /uv /bin/uv + +# Install system dependencies and create non-root user +RUN apt-get update && apt-get install -y \ + ffmpeg \ + build-essential \ + yasm \ + libx264-dev \ + libx265-dev \ + libavcodec-dev \ + libavformat-dev \ + libavdevice-dev \ + libavutil-dev \ + libswscale-dev \ + libavfilter-dev \ + pkg-config \ + libgl1 \ + libglib2.0-0 && \ + rm -rf /var/lib/apt/lists/* && \ + useradd --create-home --shell /bin/bash appuser + +# Set working directory +WORKDIR /app + +# Copy dependency files +COPY pyproject.toml uv.lock ./ + +# Install dependencies with uv (production only, no dev deps) +RUN uv sync --frozen --no-dev --no-editable + +# Set environment variables +ENV PATH="/app/.venv/bin:$PATH" + +# Copy the source code into the container +COPY perfectframe/ ./perfectframe/ + +# Create cache directory and set ownership +RUN mkdir -p /home/appuser/.cache/huggingface && \ + chown -R appuser:appuser /app /home/appuser/.cache + +# Set cache for ai model (in user home) +ENV HF_HOME=/home/appuser/.cache/huggingface +VOLUME /home/appuser/.cache/huggingface + +# Switch to non-root user +USER appuser + +# Expose the port +EXPOSE 8100 + +# Run the application +ENTRYPOINT [ "uvicorn", "perfectframe.app:app", "--host", "0.0.0.0", "--port", "8100" ] diff --git a/LICENSE.md b/LICENSE.md index 9c98f28..1dad072 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,183 +1,187 @@ -GNU GENERAL PUBLIC LICENSE -Version 3, 29 June 2007 - -Copyright © 2007 Free Software Foundation, Inc. - -Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - -Preamble -The GNU General Public License is a free, copyleft license for software and other kinds of works. - -The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. - -When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. - -To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. - -For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. - -Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. - -For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. - -Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. - -Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. - -The precise terms and conditions for copying, distribution and modification follow. - -TERMS AND CONDITIONS -0. Definitions. -“This License” refers to version 3 of the GNU General Public License. - -“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. - -“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. - -To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. - -A “covered work” means either the unmodified Program or a work based on the Program. - -To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. - -To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. - -An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. - -1. Source Code. -The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. - -A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. - -The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. - -The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. - -The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. - -The Corresponding Source for a work in source code form is that same work. - -2. Basic Permissions. -All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. - -You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. - -Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. - -3. Protecting Users' Legal Rights From Anti-Circumvention Law. -No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. - -When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. - -4. Conveying Verbatim Copies. -You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. - -You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. - -5. Conveying Modified Source Versions. -You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: - -a) The work must carry prominent notices stating that you modified it, and giving a relevant date. -b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. -c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. -d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. -A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. - -6. Conveying Non-Source Forms. -You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: - -a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. -b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. -c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. -d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. -e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. -A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. - -A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. - -“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. - -If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). - -The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. - -Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. - -7. Additional Terms. -“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. - -When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. - -Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: - -a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or -b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or -c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or -d) Limiting the use for publicity purposes of names of licensors or authors of the material; or -e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or -f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. -All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. - -If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. - -Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. - -8. Termination. -You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). - -However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. - -Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. - -Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. - -9. Acceptance Not Required for Having Copies. -You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. - -10. Automatic Licensing of Downstream Recipients. -Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. - -An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. - -You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. - -11. Patents. -A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. - -A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. - -Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. - -In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. - -If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. - -If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. - -A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. - -Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. - -12. No Surrender of Others' Freedom. -If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. - -13. Use with the GNU Affero General Public License. -Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. - -14. Revised Versions of this License. -The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. - -If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. - -Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. - -15. Disclaimer of Warranty. -THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -16. Limitation of Liability. -IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -17. Interpretation of Sections 15 and 16. -If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to the Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no theory of + liability, whether in contract, strict liability, or tort + (including negligence or otherwise) arising in any way out of + the use or inability to use the Work (including but not limited + to damages for loss of goodwill, work stoppage, computer failure or + malfunction, or any and all other commercial damages or losses), + even if such Contributor has been advised of the possibility of + such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + Copyright 2024 Bartlomiej Flis + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md index e1110e8..40a60d6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ - GitHub License GitHub Tag GitHub Repo stars

@@ -24,12 +23,6 @@ License

-
-

- English  •  - Polski -

-
In a world saturated with video content, every second has the potential to become an unforgettable shot. PerfectFrameAI is a tool that uses artificial intelligence to analyze video materials @@ -90,7 +83,9 @@
Extract and return frames from a video.

Modifying best_frames_extractor by skipping AI evaluation part.

- python start.py best_frames_extractor --all_frames +
curl -X POST http://localhost:8100/v2/extractors/best_frames_extractor \
+  -H "Content-Type: application/json" \
+  -d '{"all_frames": true}'

    Input: Folder with video files.

  1. Takes the first video from the specified location.
  2. @@ -109,8 +104,7 @@

    System Requirements:

      -
    • Docker
    • -
    • Python 3.7+ (method 1 only)
    • +
    • Docker & Docker Compose
    • 8GB+ RAM
    • 10GB+ free disk space
    @@ -121,11 +115,6 @@ Install Docker: Docker Desktop: https://www.docker.com/products/docker-desktop/ -
    - Install Python v3.7+: - MS Store: https://apps.microsoft.com/detail/9ncvdn91xzqp?hl=en-US&gl=US
    - Python.org: https://www.python.org/downloads/ -
    Download PerfectFrameAI

    @@ -137,117 +126,116 @@

-

⚡ Usage:

-
+

⚡ Usage

+

Docker Compose Docs: https://docs.docker.com/compose/

+
+ + 🚀 Quick Start +
Get started in 4 steps.
+
+
    +
  1. + Place video files in input directory:
    + cp ~/your_video.mp4 ./input_directory/ +
  2. +
  3. + Start the service:
    + docker-compose up --build +
  4. +
  5. + Call the extractor (in a new terminal):
    + curl -X POST http://localhost:8100/v2/extractors/best_frames_extractor +
  6. +
  7. + Find results in:
    + ./output_directory/ +
  8. +
+
+
+
- 🚀 Method 1 - CLI -

Requires Python. Simple and convenient.

+ 💻 CPU Mode +
Default mode - works on any system with Docker.
-
-

- Hint for Windows users:
- As a Windows user, you can use:
- quick_demo_gpu.bat or quick_demo_cpu.bat - if you don't have an Nvidia GPU.
- It will run best_frames_extractor with the default values. - Just double-click on it. - You can modify the default values in config.py to adjust the application to your needs.
- Warning!
- Please note that when running the .bat file, - Windows Defender may flag it as dangerous. - This happens because obtaining a code-signing certificate - to prevent this warning requires a paid certificate... -

-
-

Run start.py from the terminal.

-

Example (Best Frames Extraction, default values):

-
- - +

Start the service:

+ docker-compose up --build +

Stop the service:

+ docker-compose down + +
+
+ + 🎮 GPU Mode +
NVIDIA GPU acceleration for faster processing.
+
+

Requirements:

+ +

Running:

+

Start with GPU support:

+ docker-compose --profile gpu up --build +

Verify GPU is being used (check logs for CUDA provider):

+ docker-compose --profile gpu logs +

Stop the service:

+ docker-compose --profile gpu down +

If CUDA is not available, the application will automatically fall back to CPU.

+
+
+
+ + 📁 Custom Directories +
Specify custom input/output paths.
+
+

Use environment variables:

+ INPUT_DIR=/path/to/input OUTPUT_DIR=/path/to/output docker-compose up --build +
+
+
+ + 🔌 API Endpoints +
Available HTTP endpoints.
+
+
Available Flags
- - + + - - - - - - - - - - - - - - - - - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + +
FlagShortEndpointMethod DescriptionTypeDefault Value
--input_dir-iChange input directorystr./input_directory
--output_dir-oChange output directorystr./output_directory
--port-pChange the port the extractor_service will run onint8100/healthGETHealth check endpoint
--build-b - Builds a new Docker image with the new specified settings. - Always use with the --build flag if you don't understand. - boolFalse/v2/statusGETCheck current extractor status
--all_frames - For skipping frames evaluation part. - boolFalse/v2/extractors/best_frames_extractorPOSTExtract best frames from videos
--cpu - Uses only CPU for processing. If you, don't have GPU you must use it. - boolFalse/v2/extractors/top_images_extractorPOSTSelect top images from a folder
-

Example (Best Frames Extraction):

- -

You can edit other default parameters in config.py.

-
-
- - 🐳 Method 2 - docker-compose.yaml: -

Does not require Python. Run using Docker Compose.

-
-

Docker Compose Docs: https://docs.docker.com/compose/

-

Remember to delete GPU part in docker-compose.yaml if you don't have GPU!

-
    -
  1. Run the service:
    docker-compose up --build -d
  2. -
  3. Send a request to the chosen endpoint. -

    Example requests:

    -
      -
    • Best Frames Extraction:
      POST http://localhost:8100/extractors/best_frames_extractor
    • -
    • Top Frames Extraction:
      POST http://localhost:8100/extractors/top_images_extractor
    • -
    • Current working extractor:
      GET http://localhost:8100/
    • -
    -
  4. - Optionally, you can edit docker-compose.yaml if you don't want to use the default settings. -
+

Example requests:

+
    +
  • Best Frames Extraction:
    curl -X POST http://localhost:8100/v2/extractors/best_frames_extractor
  • +
  • Top Images Extraction:
    curl -X POST http://localhost:8100/v2/extractors/top_images_extractor
  • +
  • Skip AI evaluation (extract all frames):
    curl -X POST http://localhost:8100/v2/extractors/best_frames_extractor -H "Content-Type: application/json" -d '{"all_frames": true}'
  • +
@@ -270,9 +258,8 @@
  • Class Predictions
  • Weighted Mean Calculation
  • -
  • v1.0 vs v2.0
  • +
  • v1.0 vs v2.0 vs v3.0
  • Architecture
  • -
  • Build with
  • Tests
  • -
    -

    ✅ v1.0 vs v2.0

    +
    +

    ✅ v1.0 vs v2.0 vs v3.0

    PerfectFrameAI is a tool created based on one of the microservices of my main project. I refer to that version as v1.0. @@ -372,44 +359,57 @@ Feature v1.0 v2.0 + v3.0 CLI ❌ ✅ + ✅ Automatic Installation ❌ ✅ + ✅ Fast and Easy Setup ❌ ✅ + ✅ RAM usage optimization ❌ ✅ + ✅ Performance +0% +70% + ~+100% - Size* - 12.6 GB - 8.4 GB + Open Source + ❌ + ✅ + ✅ - Open Source + Multiplatform + ❌ ❌ ✅ + + License + Proprietary + GPL v3 + Apache 2.0 + -

    *v1.0 all dependencies and model vs v2.0 docker image size + model size

    Performance tests comparision

      Platform:

      @@ -423,81 +423,6 @@

      Architecture

    -
    -

    🛠️ Built with

    -
      -
    • Python - the main language in which the project is written. - The external part of PerfectFrameAI uses only standard Python libraries for ease of installation and configuration.
    • -
    • FastAPI - the framework on which the main part of PerfectFrameAI is built (in v1.0 Flask).
    • -
    • OpenCV - for image manipulation.
    • -
    • numpy - for operations on multidimensional arrays.
    • -
    • FFMPEG - as an extension to OpenCV, for decoding video frames.
    • -
    • CUDA - to enable operations on graphics cards.
    • -
    • Tensorflow - the machine learning library used (in v1.0 PyTorch).
    • -
    • Docker - for easier building of a complex working environment for PerfectFrameAI.
    • -
    • pytest - the framework in which the tests are written.
    • -
    • docker-py - used only for testing Docker integration with the included PerfectFrameAI manager.
    • -
    • Poetry - for managing project dependencies.
    • -
      All dependencies are available in the pyproject.toml.
      -
    -
    -
    -

    🧪 Tests

    - -

    - You can run the tests by installing the dependencies from pyproject.toml - and typing in the terminal in the project location - pytest. -

    -
    - unit -

    - Each module has its own unit tests. - They test each of the methods and functions available in the modules. - Test coverage is 100% (the tests fully cover the business logic). -

    -
    -
    - integration -
      -
    • Testing Docker integration with docker_manager.
    • -
    • Testing integration with the parser.
    • -
    • Testing integration of business logic with the NIMA model.
    • -
    • Testing integration with FastAPI.
    • -
    • Testing integration with OpenCV.
    • -
    • Testing integration with FFMPEG.
    • -
    • Testing various module integrations...
    • -
    -
    -
    - e2e -
      -
    • Testing extractor_service as a whole.
    • -
    • Testing extractor_service + service_initializer as a whole.
    • -
    -
    -
    -
    -
    -

    🎯 Roadmap

    -

    - Below is a list of features that we are planning to implement in the upcoming releases. - We welcome contributions and suggestions from the community. -

    -

    👋 How to Contribute

    @@ -540,7 +465,7 @@

    📜 License

    - PerfectFrameAI is licensed under the GNU General Public License v3.0. + PerfectFrameAI is licensed under the Apache License 2.0. See the LICENSE file for more information.

    diff --git a/config.py b/config.py deleted file mode 100644 index c5960e1..0000000 --- a/config.py +++ /dev/null @@ -1,50 +0,0 @@ -""" -Main configuration dataclass for extractor service manager tool. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -from dataclasses import dataclass -from pathlib import Path - -BASE_DIRECTORY = Path(__file__).resolve().parent - - -@dataclass -class Config: - """ - Configuration settings for the extractor service management tool. - - Attributes: - service_name (str): Name of the managing service. - dockerfile (str): Path to the managing service dockerfile. - port (int): Default port for the service in docker and host. - volume_input_directory (str): Default input directory in the container. - Note: It must be the same as default in schemas.py in service. - volume_output_directory (str): Default output directory in the container. - Note: It must be the same as default in schemas.py in service. - input_directory (str): Directory with input for the extraction process. - output_directory (str): Directory where extraction process output will be saved. - """ - - service_name: str = "extractor_service" - dockerfile: str = str(BASE_DIRECTORY / "extractor_service") - port: int = 8100 - volume_input_directory: str = "/app/input_directory" - volume_output_directory: str = "/app/output_directory" - input_directory: str = str(BASE_DIRECTORY / "input_directory") - output_directory: str = str(BASE_DIRECTORY / "output_directory") diff --git a/docker-compose.yaml b/docker-compose.yaml index 54dd2f9..52b1aae 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,12 +1,26 @@ services: - extractor_service: + perfectframe: build: - context: ./extractor_service + context: . dockerfile: Dockerfile ports: - "8100:8100" volumes: - - "./input_directory:/app/input_directory" - - "./output_directory:/app/output_directory" + - "${INPUT_DIR:-./input_directory}:/app/input_directory" + - "${OUTPUT_DIR:-./output_directory}:/app/output_directory" working_dir: /app - entrypoint: [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8100" ] + entrypoint: [ "uvicorn", "perfectframe.app:app", "--host", "0.0.0.0", "--port", "8100" ] + + # GPU-enabled version (use with --profile gpu) + perfectframe_gpu: + extends: + service: perfectframe + profiles: + - gpu + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] diff --git a/extractor_service/.dockerignore b/extractor_service/.dockerignore deleted file mode 100644 index e6af855..0000000 --- a/extractor_service/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -.pytest_cache/ -__pycache__/ diff --git a/extractor_service/Dockerfile b/extractor_service/Dockerfile deleted file mode 100644 index 7dc542f..0000000 --- a/extractor_service/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -FROM python:3.12-slim - -LABEL authors="BKDDFS" - -# Install system dependencies -RUN apt-get update && apt-get install -y \ - ffmpeg \ - build-essential \ - yasm \ - libx264-dev \ - libx265-dev \ - libavcodec-dev \ - libavformat-dev \ - libavdevice-dev \ - libavutil-dev \ - libswscale-dev \ - libavfilter-dev \ - pkg-config \ - libgl1 \ - libglib2.0-0 && \ - rm -rf /var/lib/apt/lists/* - -# Set cashe for ai model -VOLUME /root/.cache/huggingface - -# Set working directory -WORKDIR /app - -# Copy the requirements file -COPY requirements.txt . - -# Install the dependencies -RUN pip install --no-cache-dir -r requirements.txt - -# Set environment variables -ENV NVIDIA_VISIBLE_DEVICES=all -ENV NVIDIA_DRIVER_CAPABILITIES=compute,video,utility -ENV TF_CPP_MIN_LOG_LEVEL=3 -ENV DOCKER_ENV=1 - -# Copy the source code into the container -COPY . . - -# Expose the port -EXPOSE 8100 - -# Run the application -ENTRYPOINT [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8100" ] \ No newline at end of file diff --git a/extractor_service/app/dependencies.py b/extractor_service/app/dependencies.py deleted file mode 100644 index f62d931..0000000 --- a/extractor_service/app/dependencies.py +++ /dev/null @@ -1,97 +0,0 @@ -""" -This module provides dependency management for extractors using FastAPI's dependency injection. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -from dataclasses import dataclass -from typing import Type - -from fastapi import Depends - -from .image_evaluators import InceptionResNetNIMA -from .image_processors import OpenCVImage -from .video_processors import OpenCVVideo - - -@dataclass -class ExtractorDependencies: - """ - Data class to hold dependencies for the extractor. - - Attributes: - image_processor (Type[OpenCVImage]): Processor for image processing. - video_processor (Type[OpenCVVideo]): Processor for video processing. - evaluator (Type[InceptionResNetNIMA]): Evaluator for image quality. - """ - - image_processor: Type[OpenCVImage] - video_processor: Type[OpenCVVideo] - evaluator: Type[InceptionResNetNIMA] - - -def get_image_processor() -> Type[OpenCVImage]: - """ - Provides the image processor dependency. - - Returns: - Type[OpenCVImage]: The image processor class. - """ - return OpenCVImage - - -def get_video_processor() -> Type[OpenCVVideo]: - """ - Provides the video processor dependency. - - Returns: - Type[OpenCVVideo]: The video processor class. - """ - return OpenCVVideo - - -def get_evaluator() -> Type[InceptionResNetNIMA]: - """ - Provides the image evaluator dependency. - - Returns: - Type[InceptionResNetNIMA]: The image evaluator class. - """ - return InceptionResNetNIMA - - -def get_extractor_dependencies( - image_processor=Depends(get_image_processor), - video_processor=Depends(get_video_processor), - evaluator=Depends(get_evaluator), -) -> ExtractorDependencies: - """ - Provides the dependencies required for the extractor. - - Args: - image_processor (Type[OpenCVImage], optional): Dependency injection for image processor. - video_processor (Type[OpenCVVideo], optional): Dependency injection for video processor. - evaluator (Type[InceptionResNetNIMA], optional): Dependency injection for image evaluator. - - Returns: - ExtractorDependencies: All necessary dependencies for the extractor. - """ - return ExtractorDependencies( - image_processor=image_processor, - video_processor=video_processor, - evaluator=evaluator, - ) diff --git a/extractor_service/app/extractor_manager.py b/extractor_service/app/extractor_manager.py deleted file mode 100644 index f11dc40..0000000 --- a/extractor_service/app/extractor_manager.py +++ /dev/null @@ -1,107 +0,0 @@ -""" -This module provides manager class for running extractors and -managing extraction process lifecycle. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging - -from fastapi import BackgroundTasks, HTTPException - -from .dependencies import ExtractorDependencies -from .extractors import Extractor, ExtractorFactory -from .schemas import ExtractorConfig - -logger = logging.getLogger(__name__) - - -class ExtractorManager: - """ - This class orchestrates extractors, ensuring that only one extractor is active at once, - maintaining system stability. - """ - - _active_extractor = None - - @classmethod - def get_active_extractor(cls) -> str: - """ - Getter for class active extractor. - - Returns: - str: Active extractor name. - """ - return cls._active_extractor - - @classmethod - def start_extractor( - cls, - extractor_name: str, - background_tasks: BackgroundTasks, - config: ExtractorConfig, - dependencies: ExtractorDependencies, - ) -> str: - """ - Initializes the extractor class and runs the extraction process in the background. - - Args: - extractor_name (str): The name of the extractor that will be used. - background_tasks (BackgroundTasks): A FastAPI tool for running tasks in background. - config (ExtractorConfig): A Pydantic model with extractor configuration. - dependencies(ExtractorDependencies): Dependencies that will be used in extractor. - - Returns: - str: Endpoint feedback message with started extractor name. - """ - cls._check_is_already_extracting() - extractor = ExtractorFactory.create_extractor(extractor_name, config, dependencies) - background_tasks.add_task(cls.__run_extractor, extractor, extractor_name) - message = f"'{extractor_name}' started." - return message - - @classmethod - def __run_extractor(cls, extractor: Extractor, extractor_name: str) -> None: - """ - Run extraction process and clean after it's done. - - Args: - extractor (Extractor): Extractor that will be used for extraction. - extractor_name (str): The name of the extractor that will be used. - """ - try: - cls._active_extractor = extractor_name - extractor.process() - finally: - cls._active_extractor = None - - @classmethod - def _check_is_already_extracting(cls) -> None: - """ - Checks if some extractor is already active and raises an HTTPException if so. - - Raises: - HTTPException: If extractor is already active to prevent concurrent extractions. - """ - if cls._active_extractor: - error_message = ( - f"Extractor '{cls._active_extractor}' is already running. " - f"You can run only one extractor at the same time. " - f"Wait until the extractor is done before run next process." - ) - logger.error(error_message) - raise HTTPException(status_code=409, detail=error_message) diff --git a/extractor_service/app/extractors.py b/extractor_service/app/extractors.py deleted file mode 100644 index 65b7a19..0000000 --- a/extractor_service/app/extractors.py +++ /dev/null @@ -1,366 +0,0 @@ -""" -This module provides: - - Extractor: Abstract class for creating extractors. - - ExtractorFactory: Factory for getting extractors by their names. - - Extractors: - - BestFramesExtractor: For extracting best frames from all videos from any directory. - - TopImagesExtractor: For extracting images with top percent evaluating from any directory. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import gc -import logging -from abc import ABC, abstractmethod -from concurrent.futures import ThreadPoolExecutor -from pathlib import Path -from typing import Type - -import numpy as np - -from .dependencies import ExtractorDependencies -from .image_evaluators import ImageEvaluator -from .image_processors import ImageProcessor -from .schemas import ExtractorConfig -from .video_processors import VideoProcessor - -logger = logging.getLogger(__name__) - - -class Extractor(ABC): - """Abstract class for creating extractors.""" - - class EmptyInputDirectoryError(Exception): - """Error appear when extractor can't get any input to extraction.""" - - def __init__( - self, - config: ExtractorConfig, - image_processor: Type[ImageProcessor], - video_processor: Type[VideoProcessor], - image_evaluator_class: Type[ImageEvaluator], - ) -> None: - """ - Initializes the manager with the given extractor configuration. - - Args: - config (ExtractorConfig): A Pydantic model with configuration - parameters for the extractor. - image_processor (Type[ImageProcessor]): The class for processing images. - video_processor (Type[VideoProcessor]): The class for processing videos. - image_evaluator_class (Type[ImageEvaluator]): The class for evaluating images. - """ - self._config = config - self._image_processor = image_processor - self._video_processor = video_processor - self._image_evaluator_class = image_evaluator_class - self._image_evaluator = None - - @abstractmethod - def process(self) -> None: - """Abstract main method for extraction process implementation.""" - - def _get_image_evaluator(self) -> ImageEvaluator: - """ - Initializes one of image evaluators (currently NIMA) and - adds it to extractor instance parameters. - - Returns: - PyIQA: Image evaluator class instance for evaluating images. - """ - self._image_evaluator = self._image_evaluator_class(self._config) - return self._image_evaluator - - def _list_input_directory_files(self, extensions: tuple[str, ...], prefix: str | None = None) -> list[Path]: - """ - List all files with given extensions except files with given filename prefix form - config input directory. - - Args: - extensions (tuple): Searched files extensions. - prefix (str | None): Excluded files filename prefix. Default is None. - - Returns: - list[Path]: All matching files list. - """ - directory = self._config.input_directory - entries = directory.iterdir() - files = [ - entry - for entry in entries - if entry.is_file() and entry.suffix in extensions and (prefix is None or not entry.name.startswith(prefix)) - ] - if not files: - prefix = prefix if prefix else "Prefix not provided" - error_massage = ( - f"Files with extensions '{extensions}' and without prefix '{prefix}' " - f"not found in folder: {directory}." - f"\n-->HINT: You probably don't have input or you haven't changed prefixes. " - f"\nCheck input directory." - ) - logger.error(error_massage) - raise self.EmptyInputDirectoryError(error_massage) - logger.info("Directory '%s' files listed.", str(directory)) - logger.debug("Listed file paths: %s", files) - return files - - def _evaluate_images(self, normalized_images: np.ndarray) -> np.array: - """ - Rating all images in provided images batch using already initialized image evaluator. - - Args: - normalized_images (list[np.ndarray]): Already normalized images for evaluating. - - Returns: - np.array: Array with images scores in given images order. - """ - scores = np.array(self._image_evaluator.evaluate_images(normalized_images)) - return scores - - def _read_images(self, paths: list[Path]) -> list[np.ndarray]: - """ - Read all images from given paths synonymously. - - Args: - paths (list[Path]): List of images paths. - - Returns: - list[np.ndarray]: List of images in numpy ndarrays. - """ - with ThreadPoolExecutor() as executor: - images = [] - futures = [ - executor.submit( - self._image_processor.read_image, - path, - ) - for path in paths - ] - for future in futures: - image = future.result() - if image is not None: - images.append(image) - return images - - def _save_images(self, images: list[np.ndarray]) -> None: - """ - Save all images in config output directory synonymously. - - Args: - images (list[np.ndarray]): List of images in numpy ndarrays. - """ - with ThreadPoolExecutor() as executor: - futures = [ - executor.submit( - self._image_processor.save_image, - image, - self._config.output_directory, - self._config.images_output_format, - ) - for image in images - ] - for future in futures: - future.result() - - def _normalize_images(self, images: list[np.ndarray], target_size: tuple[int, int]) -> np.ndarray: - """ - Normalize all images in given list to target size for further operations. - - Args: - images (list[np.ndarray]): List of np.ndarray images to normalize. - target_size (tuple[int, int]): Images will be normalized to this size. - - Returns: - np.ndarray: All images as a one numpy array. - """ - normalized_images = self._image_processor.normalize_images(images, target_size) - return normalized_images - - @staticmethod - def _add_prefix(prefix: str, path: Path) -> Path: - """ - Adds prefix to file filename. - - Args: - prefix (str): Prefix that will be added. - path (Path): Path to file that filename will be changed. - - Returns: - Path: Path of the file with new filename. - """ - new_path = path.parent / f"{prefix}{path.name}" - path.rename(new_path) - logger.debug("Prefix '%s' added to file '%s'. New path: %s", prefix, path, new_path) - return new_path - - @staticmethod - def _signal_readiness_for_shutdown() -> None: - """ - Contains the logic for sending a signal externally that the service has completed - the process and can be safely shut down. - """ - logger.info("Service ready for shutdown") - - -class ExtractorFactory: - """Extractor factory for getting extractors class by their names.""" - - @staticmethod - def create_extractor( - extractor_name: str, - config: ExtractorConfig, - dependencies: ExtractorDependencies, - ) -> Extractor: - """ - Match extractor class by its name and return its class. - - Args: - extractor_name (str): Name of the extractor. - config (ExtractorConfig): A Pydantic model with extractor configuration. - dependencies(ExtractorDependencies): Dependencies that will be used in extractor. - - Returns: - Extractor: Chosen extractor class. - """ - match extractor_name: - case "best_frames_extractor": - return BestFramesExtractor( - config, - dependencies.image_processor, - dependencies.video_processor, - dependencies.evaluator, - ) - case "top_images_extractor": - return TopImagesExtractor( - config, - dependencies.image_processor, - dependencies.video_processor, - dependencies.evaluator, - ) - case _: - error_massage = f"Provided unknown extractor name: {extractor_name}" - logger.error(error_massage) - raise ValueError(error_massage) - - -class BestFramesExtractor(Extractor): - """Extractor for extracting best frames from videos in any input directory.""" - - def process(self) -> None: - """ - Rate all videos in given config input directory and - extract best visually frames from every video. - """ - logger.info( - "Starting frames extraction process from '%s'.", - self._config.input_directory, - ) - videos_paths = self._list_input_directory_files( - self._config.video_extensions, self._config.processed_video_prefix - ) - if self._config.all_frames is False: # evaluator won't be used if all frames - self._get_image_evaluator() - for video_path in videos_paths: - self._extract_best_frames(video_path) - self._add_prefix(self._config.processed_video_prefix, video_path) - logger.info("Frames extraction has finished for video: %s", video_path) - logger.info("Extraction process finished. All frames extracted.") - self._signal_readiness_for_shutdown() - - def _extract_best_frames(self, video_path: Path) -> None: - """ - Extract best visually frames from given video. - - Args: - video_path (Path): Path of the video that will be extracted. - """ - frames_batch_generator = self._video_processor.get_next_frames(video_path, self._config.batch_size) - for frames in frames_batch_generator: - if not frames: - continue - logger.debug("Frames batch generated.") - if not self._config.all_frames: - frames = self._get_best_frames(frames) - self._save_images(frames) - del frames - gc.collect() - - def _get_best_frames(self, frames: list[np.ndarray]) -> list[np.ndarray]: - """ - Splits images batch for comparing groups and select best image for each group. - - Args: - frames (list[np.ndarray]): Batch of images in numpy ndarray. - - Returns: - list[np.ndarray]: Best images list. - """ - normalized_images = self._normalize_images(frames, self._config.target_image_size) - scores = self._evaluate_images(normalized_images) - del normalized_images - - best_frames = [] - group_size = self._config.compering_group_size - groups = np.array_split(scores, np.arange(group_size, len(scores), group_size)) - for index, group in enumerate(groups): - best_index = np.argmax(group) - global_index = index * group_size + best_index - best_frames.append(frames[global_index]) - logger.info("Best frames selected(%s).", len(best_frames)) - return best_frames - - -class TopImagesExtractor(Extractor): - """Images extractor for extracting top percent of images in config input directory.""" - - def process(self) -> None: - """ - Rate all images in given config input directory and - extract images that are in top percent of images visually. - """ - images_paths = self._list_input_directory_files(self._config.images_extensions) - self._get_image_evaluator() - for batch_index in range(0, len(images_paths), self._config.batch_size): - batch = images_paths[batch_index : batch_index + self._config.batch_size] - images = self._read_images(batch) - normalized_images = self._normalize_images(images, self._config.target_image_size) - scores = self._evaluate_images(normalized_images) - top_images = self._get_top_percent_images(images, scores, self._config.top_images_percent) - self._save_images(top_images) - logger.info( - "Extraction process finished. All top images extracted from directory: %s.", - self._config.input_directory, - ) - self._signal_readiness_for_shutdown() - - @staticmethod - def _get_top_percent_images(images: list[np.ndarray], scores: np.array, top_percent: float) -> list[np.ndarray]: - """ - Returns images that have scores in the top percent of all scores. - - Args: - images (list[np.ndarray]): Batch of images in numpy ndarray. - scores (np.array): Array with images scores with images batch order. - top_percent (float): The top percentage of scores to include (e.g. 80 for top 80%). - - Returns: - list[np.ndarray]: Top images from given images batch. - """ - threshold = np.percentile(scores, top_percent) - top_images = [img for img, score in zip(images, scores) if score >= threshold] - logger.info("Top images selected(%s).", len(top_images)) - return top_images diff --git a/extractor_service/app/image_evaluators.py b/extractor_service/app/image_evaluators.py deleted file mode 100644 index fe4d20a..0000000 --- a/extractor_service/app/image_evaluators.py +++ /dev/null @@ -1,274 +0,0 @@ -""" -This module provides abstract class for creating image evaluators and image evaluators. -Image evaluators: - - InceptionResNetNIMA: NIMA model with helper classes. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging -from abc import ABC, abstractmethod -from pathlib import Path - -import numpy as np -import requests -import tensorflow as tf -from tensorflow import convert_to_tensor -from tensorflow.keras import Model -from tensorflow.keras.layers import Dense, Dropout - -from .schemas import ExtractorConfig - -logger = logging.getLogger(__name__) - - -class ImageEvaluator(ABC): - """Abstract class for creating image evaluators.""" - - @abstractmethod - def __init__(self, config: ExtractorConfig) -> None: - """ - Initialize the image evaluator with the provided configuration. - - Args: - config (ExtractorConfig): Configuration from user. - """ - - @abstractmethod - def evaluate_images(self, images: np.ndarray) -> list[float]: - """ - Evaluates images batch and returns it. - - Args: - images (list[np.ndarray]): Batch of images that will be evaluated. - - Returns: - list[float]: List of images' scores. - """ - - @staticmethod - def _check_scores(images: list[np.ndarray], scores: list[float]) -> None: - """ - Check if the lengths of the images and scores lists match. - - Args: - images (list[np.ndarray]): List of images. - scores (list[float]): List of scores. - """ - images_list_length = len(images) - scores_list_length = len(scores) - logger.debug("Scores: %s", scores) - if images_list_length == scores_list_length: - logger.debug("Scores and images lists length: %s", images_list_length) - else: - logger.warning("Scores and images lists lengths don't match!") - logger.debug("Images list length: %s", images_list_length) - logger.debug("Scores list length: %s", scores_list_length) - - -class InceptionResNetNIMA(ImageEvaluator): - """ - NeuralImageAssessment model based image evaluator. - It uses NIMA for evaluating aesthetics of images. - """ - - def __init__(self, config: ExtractorConfig) -> None: - """ - Initialize the Neural Image Assessment with the provided configuration. - - Args: - config (ExtractorConfig): Configuration object for the image evaluator. - """ - self._model = _ResNetModel.get_model(config) - - def evaluate_images(self, images: np.ndarray) -> list[float]: - """ - Evaluate a batch of images using the NIMA model, and return the results. - - Args: - images (np.ndarray): Batch of numpy ndarray images to be evaluated. - - Returns: - list[float]: List of scores corresponding to the input images. - """ - logger.info("Evaluating images...") - tensor = convert_to_tensor(images) - batch_size = images.shape[0] - predictions = self._model.predict(tensor, batch_size=batch_size, verbose=0) - weights = _ResNetModel.get_prediction_weights() - scores = [self._calculate_weighted_mean(prediction, weights) for prediction in predictions] - self._check_scores(images, scores) - logger.info("Images batch evaluated.") - return scores - - @staticmethod - def _calculate_weighted_mean(prediction: np.array, weights: np.array = None) -> float: - """ - Calculate the weighted mean of the prediction to get final image score. - For example model InceptionResNetV2 returns 10 prediction scores for each image. - We want to calculate weighted mean from that classification scores to calculate - image final score. First classification score is less important and last is most. - - Args: - prediction (np.array): Array of classification scores. - - Returns: - float: Weighted mean of the prediction. - """ - if weights is None: - weights = np.ones_like(prediction) # Default weights, equally distribute importance - weighted_mean = np.sum(prediction * weights) / np.sum(weights) - return weighted_mean - - -class _NIMAModel(ABC): - """ - Abstract base class for the NIMA models. Uses a singleton pattern - to manage a unique instance of the models. - This is helper class for NeuralImageAssessment class. - """ - - class DownloadingModelWeightsError(Exception): - """Error raised when there's an issue with downloading model weights.""" - - _config = None - _model = None - - @classmethod - def reset(cls) -> None: - """Resets class for using new model and config.""" - cls._model = None - cls._config = None - - @classmethod - def get_model(cls, config: ExtractorConfig) -> Model: - """ - Get the NIMA model instance, downloading the weights if necessary. - - Args: - config (ExtractorConfig): Configuration object for the model. - - Returns: - Model: NIMA model instance. - """ - if cls._model is None: - cls._config = config - model_weights_path = cls._get_model_weights() - cls._model = cls._create_model(model_weights_path) - return cls._model - - @classmethod - @abstractmethod - def _create_model(cls, model_weights_path: Path) -> Model: - """ - Create the NIMA model with the provided weights. - - Args: - model_weights_path (Path): Path to the model weights. - - Returns: - Model: NIMA model instance. - """ - - @classmethod - def _get_model_weights(cls) -> Path: - """ - Get the path to the model weights, downloading them if necessary. - - Returns: - Path: Path to the model weights. - """ - model_weights_directory = cls._config.weights_directory - logger.info( - "Searching for model weights in weights directory: %s", - model_weights_directory, - ) - model_weights_path = Path(model_weights_directory) / cls._config.weights_filename - if not model_weights_path.is_file(): - logger.debug( - "Can't find model weights in weights directory: %s", - model_weights_directory, - ) - cls._download_model_weights(model_weights_path) - else: - logger.debug("Model weights loaded from: %s", model_weights_path) - return model_weights_path - - @classmethod - def _download_model_weights(cls, weights_path: Path, timeout: int = 10) -> None: - """ - Download the model weights from the specified URL. - - Args: - weights_path (Path): Path to save the downloaded weights. - timeout (int): Timeout for the request in seconds. - - Raises: - cls.DownloadingModelWeightsError: If there's an issue downloading the weights. - """ - url = f"{cls._config.weights_repo_url}{cls._config.weights_filename}" - logger.debug("Downloading model weights from ulr: %s", url) - response = requests.get(url, allow_redirects=True, timeout=timeout) - if response.status_code == 200: - weights_path.parent.mkdir(parents=True, exist_ok=True) - weights_path.write_bytes(response.content) - logger.debug("Model weights downloaded and saved to %s", weights_path) - else: - error_message = f"Failed to download the weights: HTTP status code {response.status_code}" - logger.error(error_message) - raise cls.DownloadingModelWeightsError(error_message) - - -class _ResNetModel(_NIMAModel): - """ - Implements the specific InceptionResNetV2-based NIMA model. - This is helper class for NeuralImageAssessment class. - """ - - _prediction_weights = np.arange(1, 11) - _input_shape = (224, 224, 3) - _dropout_rate = 0.75 - _num_classes = 10 - - @classmethod - def get_prediction_weights(cls): - """ - Getter for prediction weights. - Weights are for calculating weighted mean from model predictions. - """ - return cls._prediction_weights - - @classmethod - def _create_model(cls, model_weights_path: Path) -> Model: - """ - Create the InceptionResNetV2-based NIMA model with the provided weights. - - Args: - model_weights_path (Path): Path to the model weights. - - Returns: - Model: NIMA model instance. - """ - base_model = tf.keras.applications.InceptionResNetV2( - input_shape=cls._input_shape, include_top=False, pooling="avg", weights=None - ) - processed_output = Dropout(cls._dropout_rate)(base_model.output) - final_output = Dense(cls._num_classes, activation="softmax")(processed_output) - model = Model(inputs=base_model.input, outputs=final_output) - model.load_weights(model_weights_path) - logger.debug("Model loaded successfully.") - return model diff --git a/extractor_service/app/image_processors.py b/extractor_service/app/image_processors.py deleted file mode 100644 index d031880..0000000 --- a/extractor_service/app/image_processors.py +++ /dev/null @@ -1,154 +0,0 @@ -""" -This module provides abstract class for creating image processors and image processors. -Image processors: - - OpenCVImage: using OpenCV library to manage operations on images. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging -import uuid -from abc import ABC, abstractmethod -from pathlib import Path - -import cv2 -import numpy as np - -logger = logging.getLogger(__name__) - - -class ImageProcessor(ABC): - """Abstract class for creating image processors used for managing image operations.""" - - @staticmethod - @abstractmethod - def read_image(image_path: Path) -> np.ndarray: - """ - Read image from given path and convert it to np.ndarray. - - Args: - image_path (Path): Path to image that will be read. - - Returns: - np.ndarray: Image in numpy ndarray. - """ - - @classmethod - @abstractmethod - def save_image(cls, image: np.ndarray, output_directory: Path, output_extension: str) -> Path: - """ - Save given image in given path in given extension. - - Args: - image (np.ndarray): Numpy ndarray image that will be saved. - output_directory (Path): Path where images will be saved. - output_extension (str): Extension with image will be saved. - - Returns: - Path: Path where image was saved. - """ - - @staticmethod - @abstractmethod - def normalize_images(images: list[np.ndarray], target_size: tuple[int, int]) -> np.array: - """ - Resize a batch of images and convert them to a normalized numpy array. - - Args: - images (list[np.ndarray]): List of numpy ndarray images to be normalized. - target_size (tuple | None): Target size to which the images will be resized. - Default is (224, 224). - - Returns: - np.ndarray: Normalized numpy array containing the resized images. - """ - - -class OpenCVImage(ImageProcessor): - """Image processor implementation using OpenCV library.""" - - @staticmethod - def read_image(image_path: Path) -> np.ndarray | None: - """ - Read image from given path and convert it to np.ndarray. - - Args: - image_path (Path): Path to image that will be read. - - Returns: - np.ndarray: Image in numpy ndarray. - """ - image = cv2.imread(str(image_path)) - if not isinstance(image, np.ndarray): - logger.warning( - "Can't read image. OpenCV reading not returns np.ndarray for image path: %s", - str(image_path), - ) - return None - logger.debug("Image '%s' has successfully read.", image_path) - return image - - @classmethod - def save_image(cls, image: np.ndarray, output_directory: Path, output_extension: str) -> Path: - """ - Save given image in given path with given extension. - - Args: - image (np.ndarray): Numpy ndarray image that will be saved. - output_directory (Path): Path where images will be saved. - output_extension (str): Extension with image will be saved. - - Returns: - Path: Path where image was saved. - """ - filename = cls._generate_filename() - image_path = output_directory / f"{filename}{output_extension}" - cv2.imwrite(str(image_path), image) - logger.debug("Image saved at '%s'.", image_path) - return image_path - - @staticmethod - def _generate_filename() -> str: - """ - Generate filename for images using uuid library. - - Returns: - str: Generated filename. - """ - filename = f"image_{uuid.uuid4()}" - return filename - - @staticmethod - def normalize_images(images: list[np.ndarray], target_size: tuple[int, int]) -> np.array: - """ - Resize a batch of images and convert them to a normalized numpy array. - - Args: - images (list[np.ndarray]): List of numpy ndarray images to be normalized. - target_size (tuple | None): Target size to which the images will be resized. - - Returns: - np.ndarray: Normalized numpy array containing the resized images. - """ - batch_images = [] - logger.debug("Normalizing images...") - for img in images: - img_resized = cv2.resize(img, target_size, interpolation=cv2.INTER_LANCZOS4) - img_rgb = cv2.cvtColor(img_resized, cv2.COLOR_BGR2RGB) - batch_images.append(img_rgb) - img_array = np.array(batch_images, dtype=np.float32) / 255.0 - return img_array diff --git a/extractor_service/app/schemas.py b/extractor_service/app/schemas.py deleted file mode 100644 index fc84ef5..0000000 --- a/extractor_service/app/schemas.py +++ /dev/null @@ -1,103 +0,0 @@ -""" -This module defines Pydantic models and validators. -Models: - - ExtractorConfig: Model containing the extractors configuration parameters. - - Message: Model for encapsulating messages returned by the application. - - ExtractorStatus: Model representing the status of the working extractor in the system. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging -from pathlib import Path - -from pydantic import BaseModel, DirectoryPath - -logger = logging.getLogger(__name__) - - -class ExtractorConfig(BaseModel): - """ - A Pydantic model containing the extractors configuration parameters. - - Attributes: - input_directory (DirectoryPath): Input directory path containing entries for extraction. - By default, it sets value for docker container volume. - output_directory (DirectoryPath): Output directory path for extraction results. - By default, it sets value for docker container volume. - video_extensions (tuple[str]): Supported videos' extensions in service for reading videos. - images_extensions (tuple[str]): Supported images' extensions in service for reading images. - processed_video_prefix (str): Prefix will be added to processed video after extraction. - batch_size (int): Maximum number of images processed in a single batch. - compering_group_size (int): Images group number to compare for finding the best one. - top_images_percent (float): Percentage threshold to determine the top images. - images_output_format (str): Format for saving output images, e.g., '.jpg', '.png'. - target_image_size (tuple[int, int]): Images will be normalized to this size. - weights_directory (Path | str): Directory path where model weights are stored. - weights_filename (str): The filename of the model weights file to be loaded. - weights_repo_url (str): URL to the repository where model weights can be downloaded. - all_frames (bool): It changes best_frames_extractor -> frames_extractor. - If Ture best_frames_extractor returns all frames without filtering/evaluation. - """ - - input_directory: DirectoryPath = Path("/app/input_directory") - output_directory: DirectoryPath = Path("/app/output_directory") - video_extensions: tuple[str] = ( - ".mp4", - ".mov", - ".webm", - ".mkv", - ".avi", - ) # add more containers here - images_extensions: tuple[str] = ( - ".jpg", - ".jpeg", - ".png", - ".webp", - ) # add more containers here - processed_video_prefix: str = "frames_extracted_" - batch_size: int = 100 - compering_group_size: int = 5 - top_images_percent: float = 90.0 - images_output_format: str = ".jpg" - target_image_size: tuple[int, int] = (224, 224) - weights_directory: Path | str = Path.home() / ".cache" / "huggingface" - weights_filename: str = "weights.h5" - weights_repo_url: str = "https://huggingface.co/BKDDFS/nima_weights/resolve/main/" - all_frames: bool = False - - -class Message(BaseModel): - """ - A Pydantic model for encapsulating messages returned by the application. - - Attributes: - message (str): The message content. - """ - - message: str - - -class ExtractorStatus(BaseModel): - """ - A Pydantic model representing the status of the currently working extractor in the system. - - Attributes: - active_extractor (str): The name of the currently active extractor. - """ - - active_extractor: str | None diff --git a/extractor_service/app/video_processors.py b/extractor_service/app/video_processors.py deleted file mode 100644 index 6759896..0000000 --- a/extractor_service/app/video_processors.py +++ /dev/null @@ -1,184 +0,0 @@ -""" -This module provides abstract class for creating video processors and video processors. -Video processors: - - OpenCVVideo: using OpenCV library to manage operations on videos. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging -from abc import ABC, abstractmethod -from contextlib import contextmanager -from pathlib import Path -from typing import Generator - -import cv2 -import numpy as np - -logger = logging.getLogger(__name__) - - -class VideoProcessor(ABC): - """Abstract class for creating video processors used for managing video operations.""" - - @classmethod - @abstractmethod - def get_next_frames(cls, video_path: Path, batch_size: int) -> Generator[list[np.ndarray], None, None]: - """ - Abstract generator method to generate batches of frames from a video file. - - Args: - video_path (Path): Path for video from which frames will be read. - batch_size (int): Number of frames to include in each batch. - - Returns: - Generator: Generator yielding batches of frames as lists of numpy ndarrays. - - Yields: - list[np.ndarray]: A batch of video frames. - """ - - -class OpenCVVideo(VideoProcessor): - """Video processor based on OpenCV with FFMPEG extension.""" - - class CantOpenVideoCapture(Exception): - """Exception raised when the video file cannot be opened.""" - - class VideoCaptureClosed(Exception): - """Exception raised when the video capture is prematurely closed.""" - - @staticmethod - @contextmanager - def _video_capture(video_path: Path) -> cv2.VideoCapture: - """ - Get and release a video capture object. - - Args: - video_path (str): Path to the video file to be opened. - - Yields: - cv2.VideoCapture: OpenCV video capture object. - - Raises: - CantOpenVideoCapture: If the video file cannot be opened. - """ - video_cap = cv2.VideoCapture(str(video_path)) - try: - if not video_cap.isOpened(): - error_massage = f"Can't open video file: {video_path}" - logger.error(error_massage) - raise OpenCVVideo.CantOpenVideoCapture(error_massage) - logger.debug("Creating video capture.") - yield video_cap - finally: - video_cap.release() - - @classmethod - def get_next_frames(cls, video_path: Path, batch_size: int) -> Generator[list[np.ndarray], None, None]: - """ - Generates batches of frames from the specified video using OpenCV. - - Args: - video_path (Path): Path for video from which frames will be read. - batch_size (int): Maximum number of frames per batch. - - Returns: - Generator: Generator yielding batches of frames as lists of numpy ndarrays. - - Yields: - list[np.ndarray]: A batch of video frames. - """ - with cls._video_capture(video_path) as video: - frame_rate = cls._get_video_attribute(video, cv2.CAP_PROP_FPS, "frame rate") - total_frames = cls._get_video_attribute(video, cv2.CAP_PROP_FRAME_COUNT, "total frames") - frames_batch = [] - logger.info("Getting frames batch...") - for frame_index in range(0, total_frames, frame_rate): - frame = cls._read_next_frame(video, frame_index) - frames_batch.append(frame) - logger.debug("Frame appended to frames batch.") - if len(frames_batch) == batch_size: - logger.info("Got full frames batch.") - yield frames_batch - frames_batch = [] - if frames_batch: - logger.info("Returning last frames batch.") - yield frames_batch - - @classmethod - def _read_next_frame(cls, video: cv2.VideoCapture, frame_index: int) -> np.ndarray | None: - """ - Reads frame with specified index from provided video. - - Args: - video: Video capture object from which frame will be taken. - frame_index (int): Place of the frame in video among other frames measured in indexes. - - Returns: - np.ndarray: Decoded frame. - """ - cls._check_video_capture(video) - video.set(cv2.CAP_PROP_POS_FRAMES, frame_index) - success, frame = video.read() - if not success: - logger.warning("Couldn't read frame with index: %s", frame_index) - return None - return frame - - @classmethod - def _get_video_attribute(cls, video: cv2.VideoCapture, attribute_id: int, display_name: str) -> int: - """ - Retrieves a specified attribute value from the video capture object and validates it. - - Args: - attribute_id (int): OpenCV video capture ID of the attribute to retrieve. - display_name (str): Descriptive name of the attribute for logging purposes. - - Returns: - int: The value of the requested attribute, validated to be a positive integer. - - Raises: - ValueError: If the retrieved value is invalid. - """ - cls._check_video_capture(video) - attribute_value = video.get(attribute_id) - logger.debug("Got input video %s: %s", display_name, attribute_value) - if attribute_value <= 0: - error_message = f"Invalid {display_name} retrieved: {attribute_value}." - logger.error(error_message) - raise ValueError(error_message) - attribute = int(round(attribute_value)) - return attribute - - @staticmethod - def _check_video_capture(video: cv2.VideoCapture) -> None: - """ - Checks is video capture object still available for future operations. - - Args: - video (cv2.VideoCapture): Video capture object that will be checked. - - Raises: - ValueError: If the video capture object is not opened. - """ - if not video.isOpened(): - error_message = ( - "Invalid video capture object or object not opened. Probably video capture closed at some point." - ) - logger.error(error_message) - raise ValueError(error_message) diff --git a/extractor_service/main.py b/extractor_service/main.py deleted file mode 100644 index 4311d5c..0000000 --- a/extractor_service/main.py +++ /dev/null @@ -1,89 +0,0 @@ -""" -This module defines a FastAPI web application for managing image extractors. - -Endpoints: - GET /status: - For checking is some extractor already running. - POST /extractors/{extractor_name}: - For running chosen extractor. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging -import os -import sys - -import uvicorn -from fastapi import BackgroundTasks, Depends, FastAPI - -if os.getenv("DOCKER_ENV"): - from app.dependencies import ExtractorDependencies, get_extractor_dependencies - from app.extractor_manager import ExtractorManager - from app.schemas import ExtractorConfig, ExtractorStatus, Message -else: - from .app.dependencies import ExtractorDependencies, get_extractor_dependencies - from .app.extractor_manager import ExtractorManager - from .app.schemas import ExtractorConfig, ExtractorStatus, Message - -logging.basicConfig( - level=logging.INFO, - format="%(asctime)s - %(levelname)s - %(message)s", - datefmt="%Y-%m-%d %H:%M:%S", - handlers=[logging.StreamHandler(sys.stdout)], -) -logger = logging.getLogger(__name__) - -app = FastAPI() - - -@app.get("/v2/status") -def get_extractors_status() -> ExtractorStatus: - """ - Checks is some extractor already running on service. - - Returns: - ExtractorStatus: Contains the name of the currently active extractor. - """ - return ExtractorStatus(active_extractor=ExtractorManager.get_active_extractor()) - - -@app.post("/v2/extractors/{extractor_name}") -def run_extractor( - extractor_name: str, - background_tasks: BackgroundTasks, - config: ExtractorConfig = ExtractorConfig(), - dependencies: ExtractorDependencies = Depends(get_extractor_dependencies), -) -> Message: - """ - Runs provided extractor. - - Args: - extractor_name (str): The name of the extractor that will be used. - background_tasks (BackgroundTasks): A FastAPI tool for running tasks in background. - dependencies(ExtractorDependencies): Dependencies that will be used in extractor. - config (ExtractorConfig): A Pydantic model with extractor configuration. - - Returns: - Message: Contains the operation status. - """ - message = ExtractorManager.start_extractor(extractor_name, background_tasks, config, dependencies) - return Message(message=message) - - -if __name__ == "__main__": - uvicorn.run("main:app", host="localhost", port=8100, reload=True) diff --git a/extractor_service/requirements.txt b/extractor_service/requirements.txt deleted file mode 100644 index 9480db5..0000000 --- a/extractor_service/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -fastapi==0.115.6 -uvicorn==0.34.0 -opencv-python==4.11.0.86 -tensorflow==2.18.0 diff --git a/perfectframe/__init__.py b/perfectframe/__init__.py new file mode 100644 index 0000000..1b8e80e --- /dev/null +++ b/perfectframe/__init__.py @@ -0,0 +1 @@ +"""PerfectFrameAI - AI tool for finding the most aesthetic frames in a video.""" diff --git a/perfectframe/app.py b/perfectframe/app.py new file mode 100644 index 0000000..1cf27e0 --- /dev/null +++ b/perfectframe/app.py @@ -0,0 +1,43 @@ +"""Define a FastAPI web application for managing image extractors.""" + +import logging +import sys +from typing import Annotated + +from fastapi import BackgroundTasks, Depends, FastAPI + +from perfectframe.dependencies import Dependencies, get_dependencies +from perfectframe.extractor_manager import ExtractorManager +from perfectframe.schemas import ExtractorName, ExtractorStatus, Message + +logging.basicConfig( + level=logging.INFO, + format="%(asctime)s - %(levelname)s - %(message)s", + datefmt="%Y-%m-%d %H:%M:%S", + handlers=[logging.StreamHandler(sys.stdout)], +) +logger = logging.getLogger(__name__) + +app = FastAPI() + + +@app.get("/health") +def health_check() -> dict[str, str]: + """Health check endpoint for container health monitoring.""" + return {"status": "healthy"} + + +@app.get("/v2/status") +def get_extractors_status() -> ExtractorStatus: + """Check if some extractor is already running on service.""" + return ExtractorStatus(active_extractor=ExtractorManager.get_active_extractor()) + + +@app.post("/v2/extractors/{extractor_name}") +def run_extractor( + extractor_name: ExtractorName, + background_tasks: BackgroundTasks, + dependencies: Annotated[Dependencies, Depends(get_dependencies)], +) -> Message: + """Run the provided extractor.""" + return ExtractorManager.start_extractor(extractor_name, background_tasks, dependencies) diff --git a/perfectframe/dependencies.py b/perfectframe/dependencies.py new file mode 100644 index 0000000..d72686f --- /dev/null +++ b/perfectframe/dependencies.py @@ -0,0 +1,28 @@ +"""Provide dependency management for extractors using FastAPI's dependency injection.""" + +from dataclasses import dataclass + +from perfectframe.image_evaluators import NIMAEvaluator +from perfectframe.image_processors import OpenCVImage +from perfectframe.schemas import ExtractorConfig +from perfectframe.video_processors import OpenCVVideo + + +@dataclass +class Dependencies: + """Data class to hold dependencies for the extractor.""" + + image_processor: type[OpenCVImage] + video_processor: type[OpenCVVideo] + evaluator: type[NIMAEvaluator] + config: ExtractorConfig + + +def get_dependencies(config: ExtractorConfig = ExtractorConfig()) -> Dependencies: + """Return all dependencies required for the extractor.""" + return Dependencies( + image_processor=OpenCVImage, + video_processor=OpenCVVideo, + evaluator=NIMAEvaluator, + config=config, + ) diff --git a/perfectframe/extractor_manager.py b/perfectframe/extractor_manager.py new file mode 100644 index 0000000..41245ff --- /dev/null +++ b/perfectframe/extractor_manager.py @@ -0,0 +1,63 @@ +"""Provide manager class for running extractors and managing extraction process lifecycle.""" + +import logging +import threading + +from fastapi import BackgroundTasks, HTTPException + +from perfectframe.dependencies import Dependencies +from perfectframe.extractors import Extractor, ExtractorFactory +from perfectframe.schemas import ExtractorName, Message + +logger = logging.getLogger(__name__) + + +class ExtractorManager: + """Orchestrate extractors, ensuring that only one extractor is active at once.""" + + _active_extractor: ExtractorName | None = None + _lock = threading.Lock() + + @classmethod + def get_active_extractor(cls) -> ExtractorName | None: + """Return the active extractor name.""" + with cls._lock: + return cls._active_extractor + + @classmethod + def start_extractor( + cls, + extractor_name: ExtractorName, + background_tasks: BackgroundTasks, + dependencies: Dependencies, + ) -> Message: + """Initialize the extractor class and run the extraction process in the background.""" + with cls._lock: + cls._check_is_already_extracting() + cls._active_extractor = extractor_name + extractor = ExtractorFactory.create_extractor(extractor_name, dependencies) + background_tasks.add_task(cls.__run_extractor, extractor) + return Message(message=f"'{extractor_name.value}' started.") + + @classmethod + def __run_extractor(cls, extractor: Extractor) -> None: + """Run extraction process and clean after it's done.""" + try: + extractor.process() + except Exception: + logger.exception("Extraction failed with error") + finally: + with cls._lock: + cls._active_extractor = None + + @classmethod + def _check_is_already_extracting(cls) -> None: + """Check if some extractor is already active and raise an HTTPException if so.""" + if cls._active_extractor: + error_message = ( + f"Extractor '{cls._active_extractor.value}' is already running. " + f"You can run only one extractor at the same time. " + f"Wait until the extractor is done before run next process." + ) + logger.error(error_message) + raise HTTPException(status_code=409, detail=error_message) diff --git a/perfectframe/extractors.py b/perfectframe/extractors.py new file mode 100644 index 0000000..5640d19 --- /dev/null +++ b/perfectframe/extractors.py @@ -0,0 +1,268 @@ +"""Provide extractor classes for video and image processing. + +- Extractor: Abstract class for creating extractors. +- ExtractorFactory: Factory for getting extractors by their names. +- Extractors: + - BestFramesExtractor: For extracting best frames from all videos from any directory. + - TopImagesExtractor: For extracting images with top percent evaluating from any directory. +""" + +import gc +import logging +from abc import ABC, abstractmethod +from concurrent.futures import ThreadPoolExecutor +from pathlib import Path + +import numpy as np + +from perfectframe.dependencies import Dependencies +from perfectframe.image_evaluators import ImageEvaluator +from perfectframe.image_processors import ImageProcessor +from perfectframe.schemas import ( + ExtractorConfig, + ExtractorName, + ImageExtension, + ImageResolution, + Images, + ImagesBatch, + ScoresArray, + VideoExtension, +) +from perfectframe.video_processors import VideoProcessor + +logger = logging.getLogger(__name__) + + +class Extractor(ABC): + """Abstract class for creating extractors.""" + + class EmptyInputDirectoryError(Exception): + """Error appear when extractor can't get any input to extraction.""" + + def __init__( + self, + config: ExtractorConfig, + image_processor: type[ImageProcessor], + video_processor: type[VideoProcessor], + image_evaluator_class: type[ImageEvaluator], + ) -> None: + """Initialize the manager with the given extractor configuration.""" + self._config = config + self._image_processor = image_processor + self._video_processor = video_processor + self._image_evaluator_class = image_evaluator_class + self._image_evaluator = None + + @abstractmethod + def process(self) -> None: + """Abstract main method for extraction process implementation.""" + + def _get_image_evaluator(self) -> ImageEvaluator: + """Initialize an image evaluator and add it to extractor instance parameters.""" + self._image_evaluator = self._image_evaluator_class(self._config) + return self._image_evaluator + + def _list_input_directory_files( + self, + extensions: type[VideoExtension] | type[ImageExtension], + prefix: str | None = None, + ) -> list[Path]: + """List all files with given extensions except files with given filename prefix. + + Args: + extensions: Enum class defining valid file extensions. + prefix: Excluded files filename prefix. + + Returns: + All matching files list. + """ + directory = self._config.input_directory + entries = directory.iterdir() + files = [ + entry + for entry in entries + if entry.is_file() + and extensions.contains(entry.suffix) + and (prefix is None or not entry.name.startswith(prefix)) + ] + if not files: + prefix = prefix if prefix else "Prefix not provided" + error_message = ( + f"Files with extensions '{extensions}' and without prefix '{prefix}' " + f"not found in folder: {directory}." + f"\n-->HINT: You probably don't have input or you haven't changed prefixes. " + f"\nCheck input directory." + ) + logger.error(error_message) + raise self.EmptyInputDirectoryError(error_message) + logger.info("Directory '%s' files listed.", str(directory)) + logger.debug("Listed file paths: %s", files) + return files + + def _evaluate_images(self, normalized_images: ImagesBatch) -> ScoresArray: + """Rate all images in provided images batch using already initialized image evaluator.""" + if self._image_evaluator is None: + msg = "_image_evaluator must be initialized before calling _evaluate_images" + raise RuntimeError(msg) + return np.array(self._image_evaluator.evaluate_images(normalized_images)) + + def _read_images(self, images_paths: list[Path]) -> Images: + """Read all images from given paths synchronously.""" + with ThreadPoolExecutor() as executor: + images = [] + futures = [ + executor.submit( + self._image_processor.read_image, + image_path, + ) + for image_path in images_paths + ] + for future in futures: + image = future.result() + if image is not None: + images.append(image) + return images + + def _save_images(self, images: Images) -> None: + """Save all images in config output directory synchronously.""" + with ThreadPoolExecutor() as executor: + futures = [ + executor.submit( + self._image_processor.save_image, + image, + self._config.output_directory, + self._config.images_output_format, + ) + for image in images + ] + for future in futures: + future.result() + + def _normalize_images(self, images: Images, target_size: ImageResolution) -> ImagesBatch: + """Normalize all images in given list to target size for further operations.""" + return self._image_processor.normalize_images(images, target_size) + + @staticmethod + def _add_prefix(prefix: str, file_path: Path) -> Path: + """Add prefix to file filename.""" + new_path = file_path.parent / f"{prefix}{file_path.name}" + file_path.rename(new_path) + logger.debug("Prefix '%s' added to file '%s'. New path: %s", prefix, file_path, new_path) + return new_path + + @staticmethod + def _signal_readiness_for_shutdown() -> None: + """Signal externally that the service has completed the process and can be shut down.""" + logger.info("Service ready for shutdown") + + +class ExtractorFactory: + """Extractor factory for getting extractors class by their names.""" + + @staticmethod + def create_extractor(extractor_name: ExtractorName, dependencies: Dependencies) -> Extractor: + """Match extractor class by its name and return its class.""" + match extractor_name: + case ExtractorName.BEST_FRAMES: + return BestFramesExtractor( + dependencies.config, + dependencies.image_processor, + dependencies.video_processor, + dependencies.evaluator, + ) + case ExtractorName.TOP_IMAGES: + return TopImagesExtractor( + dependencies.config, + dependencies.image_processor, + dependencies.video_processor, + dependencies.evaluator, + ) + + +class BestFramesExtractor(Extractor): + """Extractor for extracting best frames from videos in any input directory.""" + + def process(self) -> None: + """Rate all videos in config input directory and extract best frames from every video.""" + logger.info( + "Starting frames extraction process from '%s'.", + self._config.input_directory, + ) + videos_paths = self._list_input_directory_files( + VideoExtension, self._config.processed_video_prefix + ) + if self._config.all_frames is False: # evaluator won't be used if all frames + self._get_image_evaluator() + for video_path in videos_paths: + self._extract_best_frames(video_path) + self._add_prefix(self._config.processed_video_prefix, video_path) + logger.info("Frames extraction has finished for video: %s", video_path) + logger.info("Extraction process finished. All frames extracted.") + self._signal_readiness_for_shutdown() + + def _extract_best_frames(self, video_path: Path) -> None: + """Extract best visually frames from given video.""" + frames_batch_generator = self._video_processor.get_next_frames( + video_path, self._config.batch_size + ) + for frames in frames_batch_generator: + if not frames: + continue + logger.debug("Frames batch generated.") + frames_to_save = ( + self._get_best_frames(frames) if not self._config.all_frames else frames + ) + self._save_images(frames_to_save) + del frames_to_save + gc.collect() + + def _get_best_frames(self, frames: Images) -> Images: + """Split images batch into comparing groups and select best image for each group.""" + normalized_images = self._normalize_images(frames, self._config.input_size) + scores = self._evaluate_images(normalized_images) + del normalized_images + + best_frames = [] + group_size = self._config.comparing_group_size + groups = np.array_split(scores, np.arange(group_size, len(scores), group_size)) + for index, group in enumerate(groups): + best_index = np.argmax(group) + global_index = index * group_size + best_index + best_frames.append(frames[global_index]) + logger.info("Best frames selected(%s).", len(best_frames)) + return best_frames + + +class TopImagesExtractor(Extractor): + """Images extractor for extracting top percent of images in config input directory.""" + + def process(self) -> None: + """Rate all images in config input directory and extract top percent images.""" + images_paths = self._list_input_directory_files(ImageExtension) + self._get_image_evaluator() + for batch_index in range(0, len(images_paths), self._config.batch_size): + batch = images_paths[batch_index : batch_index + self._config.batch_size] + images = self._read_images(batch) + normalized_images = self._normalize_images(images, self._config.input_size) + scores = self._evaluate_images(normalized_images) + top_images = self._get_top_percent_images( + images, scores, self._config.top_images_percent + ) + self._save_images(top_images) + logger.info( + "Extraction process finished. All top images extracted from directory: %s.", + self._config.input_directory, + ) + self._signal_readiness_for_shutdown() + + @staticmethod + def _get_top_percent_images( + images: Images, + scores: ScoresArray, + top_percent: float, + ) -> Images: + """Return images that have scores in the top percent of all scores.""" + threshold = np.percentile(scores, top_percent) + top_images = [img for img, score in zip(images, scores, strict=True) if score >= threshold] + logger.info("Top images selected(%s).", len(top_images)) + return top_images diff --git a/perfectframe/image_evaluators.py b/perfectframe/image_evaluators.py new file mode 100644 index 0000000..d16ea3b --- /dev/null +++ b/perfectframe/image_evaluators.py @@ -0,0 +1,126 @@ +"""Provide abstract class for creating image evaluators and implementations. + +Image evaluators: + - NIMAEvaluator: NIMA-based image evaluator using ONNX runtime. +""" + +import logging +from abc import ABC, abstractmethod +from pathlib import Path + +import numpy as np +import onnxruntime as ort +import requests + +from perfectframe.schemas import ( + ExtractorConfig, + ImagesBatch, + NIMAModelOutput, + Score, + Scores, +) + +logger = logging.getLogger(__name__) + + +class ImageEvaluator(ABC): + """Abstract class for creating image evaluators.""" + + @abstractmethod + def __init__(self, config: ExtractorConfig) -> None: + """Initialize the image evaluator with the provided configuration.""" + + @abstractmethod + def evaluate_images(self, images: ImagesBatch) -> Scores: + """Evaluate images batch and return scores.""" + + @staticmethod + def _check_scores(images: ImagesBatch, scores: Scores) -> None: + """Check if the lengths of the images and scores lists match.""" + images_list_length = len(images) + scores_list_length = len(scores) + logger.debug("Scores: %s", scores) + if images_list_length == scores_list_length: + logger.debug("Scores and images lists length: %s", images_list_length) + else: + logger.warning("Scores and images lists lengths don't match!") + logger.debug("Images list length: %s", images_list_length) + logger.debug("Scores list length: %s", scores_list_length) + + +class NIMAEvaluator(ImageEvaluator): + """NIMA-based image evaluator using ONNX runtime.""" + + class ModelWeightsDownloadError(Exception): + """Error raised when there's an issue with downloading model weights.""" + + _prediction_weights = np.arange(1, 11) + + def __init__(self, config: ExtractorConfig) -> None: + """Initialize the NIMA evaluator with the provided configuration.""" + model_path = self._get_model_path(config) + self._session = ort.InferenceSession(str(model_path)) + self._input_name = self._session.get_inputs()[0].name + + def evaluate_images(self, images: ImagesBatch) -> Scores: + """Evaluate a batch of images using the NIMA model.""" + logger.info("Evaluating images...") + predictions = self._session.run(None, {self._input_name: images.astype(np.float32)})[0] + if not isinstance(predictions, np.ndarray): + return [] + scores = [self._calculate_weighted_mean(p) for p in predictions] + self._check_scores(images, scores) + logger.info("Images batch evaluated.") + return scores + + def _calculate_weighted_mean(self, prediction: NIMAModelOutput) -> Score: + """Calculate the weighted mean of the prediction to get final image score. + + For example model InceptionResNetV2 returns 10 prediction scores for each image. We want to + calculate weighted mean from that classification scores to calculate image final score. + First classification score is less important and last is most. + """ + return np.sum(prediction * self._prediction_weights) / np.sum(self._prediction_weights) + + @classmethod + def _get_model_path(cls, config: ExtractorConfig) -> Path: + """Get the path to the ONNX model, downloading it if necessary.""" + model_weights_directory = config.weights_directory + logger.info( + "Searching for model weights in weights directory: %s", + model_weights_directory, + ) + model_weights_path = Path(model_weights_directory) / config.weights_filename + if not model_weights_path.is_file(): + logger.debug( + "Can't find model weights in weights directory: %s", + model_weights_directory, + ) + cls._download_model_weights(model_weights_path, config) + else: + logger.debug("Model weights loaded from: %s", model_weights_path) + return model_weights_path + + @classmethod + def _download_model_weights( + cls, weights_path: Path, config: ExtractorConfig, timeout: int = 10 + ) -> None: + """Download the model weights from the specified URL.""" + url = f"{config.weights_repo_url}{config.weights_filename}" + logger.debug("Downloading model weights from url: %s", url) + try: + response = requests.get(url, allow_redirects=True, timeout=timeout) + except requests.RequestException as e: + error_message = f"Network error while downloading model weights: {e}" + logger.exception(error_message) + raise cls.ModelWeightsDownloadError(error_message) from e + if response.ok: + weights_path.parent.mkdir(parents=True, exist_ok=True) + weights_path.write_bytes(response.content) + logger.debug("Model weights downloaded and saved to %s", weights_path) + else: + error_message = ( + f"Failed to download the weights: HTTP status code {response.status_code}" + ) + logger.error(error_message) + raise cls.ModelWeightsDownloadError(error_message) diff --git a/perfectframe/image_processors.py b/perfectframe/image_processors.py new file mode 100644 index 0000000..90dfc69 --- /dev/null +++ b/perfectframe/image_processors.py @@ -0,0 +1,85 @@ +"""Provide abstract class for creating image processors and implementations. + +Image processors: + - OpenCVImage: using OpenCV library to manage operations on images. +""" + +import logging +import uuid +from abc import ABC, abstractmethod +from pathlib import Path + +import cv2 +import numpy as np + +from perfectframe.schemas import Image, ImageExtension, ImageResolution, Images, ImagesBatch + +logger = logging.getLogger(__name__) + + +class ImageProcessor(ABC): + """Abstract class for creating image processors used for managing image operations.""" + + @staticmethod + @abstractmethod + def read_image(image_path: Path) -> Image | None: + """Read image from given path and convert it to np.ndarray.""" + + @classmethod + @abstractmethod + def save_image( + cls, image: Image, output_directory: Path, output_extension: ImageExtension + ) -> Path: + """Save given image in given path in given extension.""" + + @staticmethod + @abstractmethod + def normalize_images(images: Images, target_size: ImageResolution) -> ImagesBatch: + """Resize a batch of images and convert them to a normalized numpy array.""" + + +class OpenCVImage(ImageProcessor): + """Image processor implementation using OpenCV library.""" + + @staticmethod + def read_image(image_path: Path) -> Image | None: + """Read image from given path and convert it to np.ndarray.""" + image = cv2.imread(str(image_path)) + if not isinstance(image, np.ndarray): + logger.warning( + "Can't read image. OpenCV reading not returns np.ndarray for image path: %s", + str(image_path), + ) + return None + logger.debug("Image '%s' has successfully read.", image_path) + return image + + @classmethod + def save_image( + cls, image: Image, output_directory: Path, output_extension: ImageExtension + ) -> Path: + """Save given image in given path with given extension.""" + filename = cls._generate_filename() + image_path = output_directory / f"{filename}{output_extension.value}" + success = cv2.imwrite(str(image_path), image) + if not success: + logger.error("Failed to save image at '%s'", image_path) + else: + logger.debug("Image saved at '%s'.", image_path) + return image_path + + @staticmethod + def _generate_filename() -> str: + """Generate filename for images using uuid library.""" + return f"image_{uuid.uuid4()}" + + @staticmethod + def normalize_images(images: Images, target_size: ImageResolution) -> ImagesBatch: + """Resize a batch of images and convert them to a normalized numpy array.""" + batch_images = [] + logger.debug("Normalizing images...") + for img in images: + img_resized = cv2.resize(img, target_size, interpolation=cv2.INTER_LANCZOS4) + img_rgb = cv2.cvtColor(img_resized, cv2.COLOR_BGR2RGB) + batch_images.append(img_rgb) + return np.array(batch_images, dtype=np.float32) / 255.0 diff --git a/perfectframe/schemas.py b/perfectframe/schemas.py new file mode 100644 index 0000000..1264a88 --- /dev/null +++ b/perfectframe/schemas.py @@ -0,0 +1,157 @@ +"""Define Pydantic models and validators.""" + +import logging +from enum import Enum +from pathlib import Path +from typing import NamedTuple + +import numpy as np +from pydantic import BaseModel, DirectoryPath + + +class ImageResolution(NamedTuple): + """Resolution of an image in pixels (width x height).""" + + width: int + height: int + + +type Image = np.ndarray +"""Single image as numpy array.""" + +type Images = list[Image] +"""List of images.""" + +type ImagesBatch = np.ndarray +"""Batch of images as single numpy array for batch processing.""" + +type ScoresArray = np.ndarray +"""Array of aesthetic scores for images.""" + +type Score = float +"""Single aesthetic score for an image.""" + +type Scores = list[Score] +"""List of aesthetic scores for images.""" + +type NIMAModelOutput = np.ndarray +"""NIMA model output: probability distribution over 10 aesthetic rating classes. + +The model outputs 10 values representing the probability that an image +belongs to each aesthetic rating class (1-10). For example: +[0.01, 0.02, 0.03, 0.05, 0.15, 0.25, 0.25, 0.15, 0.07, 0.02] +means 1% chance for rating 1, 2% for rating 2, ..., 25% for rating 7, etc. +""" + +type RatingScale = np.ndarray +"""Rating scale values [1, 2, 3, ..., 10] for calculating weighted mean. + +Used to compute expected aesthetic rating from NIMAModelOutput: +final_score = sum(output * scale) / sum(scale) +""" + + +class ExtractorName(str, Enum): + """Available extractor names.""" + + BEST_FRAMES = "best_frames_extractor" + TOP_IMAGES = "top_images_extractor" + + +class FileExtension(str, Enum): + """Base class for file extension enums.""" + + @classmethod + def contains(cls, value: str) -> bool: + """Check if value is a valid extension.""" + return value in cls._value2member_map_ + + +class ImageExtension(FileExtension): + """Supported image file extensions.""" + + JPG = ".jpg" + JPEG = ".jpeg" + PNG = ".png" + WEBP = ".webp" + TIF = ".tif" + TIFF = ".tiff" + BMP = ".bmp" + GIF = ".gif" + + +class VideoExtension(FileExtension): + """Supported video file extensions.""" + + MP4 = ".mp4" + MOV = ".mov" + WEBM = ".webm" + MKV = ".mkv" + AVI = ".avi" + WMV = ".wmv" + FLV = ".flv" + M4V = ".m4v" + + +logger = logging.getLogger(__name__) + + +class ExtractorConfig(BaseModel): + """A Pydantic model containing the extractors configuration parameters.""" + + input_directory: DirectoryPath = Path("/app/input_directory") + """Input directory path containing entries for extraction. + + By default, it sets value for docker container volume. + """ + + output_directory: DirectoryPath = Path("/app/output_directory") + """Output directory path for extraction results. + + By default, it sets value for docker container volume. + """ + + processed_video_prefix: str = "frames_extracted_" + """Prefix will be added to processed video after extraction.""" + + batch_size: int = 100 + """Maximum number of images processed in a single batch.""" + + comparing_group_size: int = 5 + """Images group number to compare for finding the best one.""" + + top_images_percent: float = 90.0 + """Percentage threshold to determine the top images.""" + + images_output_format: ImageExtension = ImageExtension.JPG + """Format for saving output images.""" + + input_size: ImageResolution = ImageResolution(224, 224) + """Images will be normalized to this resolution for model input.""" + + weights_directory: Path | str = Path.home() / ".cache" / "huggingface" + """Directory path where model weights are stored.""" + + weights_filename: str = "weights.onnx" + """The filename of the model weights file to be loaded.""" + + weights_repo_url: str = "https://huggingface.co/BKDDFS/nima_weights/resolve/main/" + """URL to the repository where model weights can be downloaded.""" + + all_frames: bool = False + """It changes best_frames_extractor -> frames_extractor. + + If True best_frames_extractor returns all frames without filtering/evaluation. + """ + + +class Message(BaseModel): + """A Pydantic model for encapsulating messages returned by the application.""" + + message: str + + +class ExtractorStatus(BaseModel): + """A Pydantic model representing the status of the currently working extractor in the system.""" + + active_extractor: ExtractorName | None diff --git a/perfectframe/video_processors.py b/perfectframe/video_processors.py new file mode 100644 index 0000000..36958b6 --- /dev/null +++ b/perfectframe/video_processors.py @@ -0,0 +1,106 @@ +"""Provide abstract class for creating video processors and video processors. + +Video processors: + - OpenCVVideo: using OpenCV library to manage operations on videos. +""" + +import logging +from abc import ABC, abstractmethod +from collections.abc import Generator +from contextlib import contextmanager +from pathlib import Path + +import cv2 + +from perfectframe.schemas import Image, Images + +logger = logging.getLogger(__name__) + + +class VideoProcessor(ABC): + """Abstract class for creating video processors used for managing video operations.""" + + class _Error(Exception): + """Video processor error.""" + + @classmethod + @abstractmethod + def get_next_frames(cls, video_path: Path, frames_batch_size: int) -> Generator[Images]: + """Abstract generator method to generate batches of frames from a video file.""" + + +class OpenCVVideo(VideoProcessor): + """Video processor based on OpenCV with FFMPEG extension.""" + + @staticmethod + @contextmanager + def _video_capture(video_path: Path) -> Generator[cv2.VideoCapture]: + """Get and release a video capture object.""" + video_cap = cv2.VideoCapture(str(video_path)) + try: + if not video_cap.isOpened(): + error_message = f"Can't open video file: {video_path}" + logger.error(error_message) + raise OpenCVVideo._Error(error_message) + logger.debug("Creating video capture.") + yield video_cap + finally: + video_cap.release() + + @classmethod + def get_next_frames(cls, video_path: Path, frames_batch_size: int) -> Generator[Images]: + """Generate batches of frames from the specified video using OpenCV.""" + with cls._video_capture(video_path) as video: + frame_rate = cls._get_video_property(video, cv2.CAP_PROP_FPS, "frame rate") + total_frames = cls._get_video_property(video, cv2.CAP_PROP_FRAME_COUNT, "total frames") + frames_batch: Images = [] + logger.info("Getting frames batch...") + for frame_index in range(0, total_frames, frame_rate): + frame = cls._read_next_frame(video, frame_index) + if frame is None: + continue + frames_batch.append(frame) + logger.debug("Frame appended to frames batch.") + if len(frames_batch) == frames_batch_size: + logger.info("Got full frames batch.") + yield frames_batch + frames_batch = [] + if frames_batch: + logger.info("Returning last frames batch.") + yield frames_batch + + @classmethod + def _read_next_frame(cls, video: cv2.VideoCapture, frame_index: int) -> Image | None: + """Read frame with specified index from provided video.""" + cls._check_video_capture(video) + video.set(cv2.CAP_PROP_POS_FRAMES, frame_index) + success, frame = video.read() + if not success: + logger.warning("Couldn't read frame with index: %s", frame_index) + return None + return frame + + @classmethod + def _get_video_property( + cls, video: cv2.VideoCapture, property_id: int, property_name: str + ) -> int: + """Retrieve a specified property value from the video capture object and validate it.""" + cls._check_video_capture(video) + property_value = video.get(property_id) + logger.debug("Got input video %s: %s", property_name, property_value) + if property_value <= 0: + error_message = f"Invalid {property_name} retrieved: {property_value}." + logger.error(error_message) + raise ValueError(error_message) + return round(property_value) + + @staticmethod + def _check_video_capture(video: cv2.VideoCapture) -> None: + """Check if video capture object is still available for future operations.""" + if not video.isOpened(): + error_message = ( + "Invalid video capture object or object not opened. " + "Probably video capture closed at some point." + ) + logger.error(error_message) + raise ValueError(error_message) diff --git a/pyproject.toml b/pyproject.toml index d0bf314..b3bc8d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,33 +5,70 @@ description = "AI tool for finding the most aesthetic frames in a video. 🎞️ authors = [ {name = "Bartłomiej Flis", email = "Bartekdawidflis@gmail.com"} ] -license = {text = "GPL-3.0"} +license = {text = "Apache-2.0"} readme = "README.md" -requires-python = ">=3.10,<3.13" +requires-python = ">=3.11,<3.14" dependencies = [ - "fastapi==0.115.6", - "uvicorn==0.34.0", - "opencv-python==4.11.0.86", - "requests==2.32.2", - "tensorflow==2.18.0", + "fastapi==0.128.0", # API endpoints + "uvicorn==0.40.0", # Server + "opencv-python==4.13.0.90", # Frame extraction + "requests==2.32.5", # Model download + "onnxruntime==1.23.2; sys_platform == 'darwin' or (sys_platform == 'linux' and platform_machine == 'aarch64')", + "onnxruntime-gpu==1.23.2; sys_platform == 'win32' or (sys_platform == 'linux' and platform_machine == 'x86_64')", + "numpy==2.4.1", # Image batch processing ] [dependency-groups] dev = [ - "ruff>=0.9.2", - "pre-commit>=4.0.1", + "ruff>=0.14.14", # Linter and formatter + "ty>=0.0.13", # Type checker + "pre-commit>=4.5.1", # Git hooks manager + "docformatter>=1.7.5", # Docstring formatter + "detect-secrets>=1.5.0", # Secret detection ] test = [ - "pytest>=8.3.4", - "pytest-cov>=5.0.0", - "pytest-order>=1.2.1", - "docker>=7.1.0", - "httpx>=0.28.1", + "pytest>=9.0.2", # Testing framework + "pytest-cov>=7.0.0", # Coverage plugin + "pytest-mock>=3.14.0", # Mocking fixture + "pytest-order>=1.3.0", # Test ordering + "pytest-timeout>=2.3.1", # Timeout plugin + "docker>=7.1.0", # Docker SDK + "httpx>=0.28.1", # HTTP client + "testcontainers>=4.14.0", # Docker containers for e2e ] [tool.ruff] -line-length = 120 +line-length = 100 +target-version = "py313" +exclude = [".git", "__pycache__"] [tool.ruff.lint] -per-file-ignores = {"**/conftest.py"=["F401"]} +select = ["ALL"] +extend-ignore = [ + "D105", # missing docstring in magic method (redundant) + "D107", # missing docstring in __init__ (redundant) + "FA102", # Missing `from __future__ import annotations` (not needed for Python 3.11+) + "COM812", # trailing-comma-missing (ruff format handles differently) +] + +[tool.ruff.lint.per-file-ignores] +"{**/app.py,**/dependencies.py}" = ["B008"] # FastAPI Depends() in function arguments +"{tests/**,**/conftest.py}" = [ + "S", # security rules (annoying in tests) + "ANN", # type annotations (not useful in tests) + "D", # docstrings (self-descriptive test names) + "SLF001", # private member access (testing internals) + "PLR0913", # too many arguments (pytest fixtures) + "INP001", # implicit namespace package +] +"**/conftest.py" = ["F401", "F405"] # unused/star imports OK + +[tool.ruff.lint.pydocstyle] +convention = "google" + +[tool.ruff.lint.flake8-tidy-imports.banned-api] +"unittest.mock".msg = "Use pytest-mock's 'mocker' fixture instead" + +[tool.ty.environment] +python-version = "3.13" diff --git a/quick_demo_cpu.bat b/quick_demo_cpu.bat index ed63939..b593379 100644 --- a/quick_demo_cpu.bat +++ b/quick_demo_cpu.bat @@ -1,4 +1,12 @@ @echo off -echo Starting demo... -python start.py best_frames_extractor --cpu -pause +echo Starting PerfectFrameAI (CPU mode)... +docker-compose up --build -d +echo Waiting for service to start... +timeout /t 60 /nobreak >nul +echo Calling best_frames_extractor... +curl -X POST http://localhost:8100/v2/extractors/best_frames_extractor +echo. +echo Results will appear in output_directory/ +echo Press any key to stop the service... +pause >nul +docker-compose down diff --git a/quick_demo_gpu.bat b/quick_demo_gpu.bat index 5885379..a13cf27 100644 --- a/quick_demo_gpu.bat +++ b/quick_demo_gpu.bat @@ -1,4 +1,12 @@ @echo off -echo Starting demo... -python start.py best_frames_extractor -pause +echo Starting PerfectFrameAI (GPU mode)... +docker-compose --profile gpu up --build -d +echo Waiting for service to start... +timeout /t 60 /nobreak >nul +echo Calling best_frames_extractor... +curl -X POST http://localhost:8100/v2/extractors/best_frames_extractor +echo. +echo Results will appear in output_directory/ +echo Press any key to stop the service... +pause >nul +docker-compose --profile gpu down diff --git a/service_manager/docker_manager.py b/service_manager/docker_manager.py deleted file mode 100644 index 3742f48..0000000 --- a/service_manager/docker_manager.py +++ /dev/null @@ -1,286 +0,0 @@ -""" -I built a custom Docker manager because I wanted to simplify and accelerate the process of -launching the service using a script as much as possible. Therefore, -I didn’t want to use any external libraries in this part of the project. - -This module defines a DockerManager class to handle Docker operations like building images, -managing container lifecycle, and monitoring container logs. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import logging -import subprocess -import sys -from typing import Optional - -logger = logging.getLogger(__name__) - - -class DockerManager: - """ - Manages Docker containers and images, including operations like building, starting, - stopping, and logging containers. - """ - - class ServiceShutdownSignal(Exception): - """Exception raised when the service signals it is ready to be shut down.""" - - def __init__( - self, - container_name: str, - input_dir: str, - output_dir: str, - port: int, - force_build: bool, - cpu_only: bool, - ) -> None: - """ - Initialize the DockerManager with specific parameters for container and image management. - - Args: - container_name (str): Name of the Docker container. - input_dir (str): Path to the directory for input data volumes. - output_dir (str): Path to the directory for output data volumes. - port (int): Port number to expose from the container. - """ - self._container_name = container_name - self._image_name = f"{self._container_name}_image" - self._input_directory = input_dir - self._output_directory = output_dir - self._port = port - self._force_build = force_build - self._cpu_only = cpu_only - self.__log_input() - - @property - def image_name(self): - """ - Returns the name of the image. - - Returns: - str: The name of the image. - """ - return self._image_name - - def __log_input(self) -> None: - """Log user input if debugging.""" - logger.debug("container_name: %s", self._container_name) - logger.debug("image_name: %s", self._image_name) - logger.debug("Input directory from user: %s", self._input_directory) - logger.debug("Output directory from user: %s", self._output_directory) - logger.debug("Port from user: %s", self._port) - logger.debug("Force build: %s", self._force_build) - logger.debug("CPU only: %s", self._cpu_only) - - @property - def docker_image_existence(self) -> bool: - """ - Checks if the Docker image exists. - - This property calls a method that checks for the existence of the Docker - image associated with this instance. - - Returns: - bool: True if the Docker image exists, False otherwise. - """ - return self._check_image_exists() - - def _check_image_exists(self) -> bool: - """ - Checks whether the Docker image already exists in the system. - - Returns: - bool: True if the image exists, False otherwise. - """ - command = ["docker", "images", "-q", self._image_name] - process_output = subprocess.run(command, capture_output=True, text=True, check=True).stdout.strip() - is_exists = process_output != "" - return is_exists - - def build_image(self, dockerfile_path: str) -> None: - """ - Builds a Docker image from a Dockerfile located in a subdirectory. - - Args: - dockerfile_path (str): Path to the Dockerfile. - """ - if not self.docker_image_existence or self._force_build: - logging.info("Building Docker image...") - command = ["docker", "build", "-t", self._image_name, dockerfile_path] - subprocess.run(command, check=True) - else: - logger.info("Image is already created. Using existing one.") - - @property - def container_status(self) -> str: - """ - Retrieves the current status of the Docker container. - - Returns: - str: Container status. - """ - return self._check_container_status() - - def _check_container_status(self) -> Optional[str]: - """ - Check the status of the container. - - Returns: - str: The status of the container. - """ - command = [ - "docker", - "inspect", - "--format='{{.State.Status}}'", - self._container_name, - ] - result = subprocess.run(command, capture_output=True, text=True, check=False) - if result.returncode == 0: - return result.stdout.strip().replace("'", "") - return None - - def deploy_container( - self, - container_port: int, - container_input_directory: str, - container_output_directory: str, - ) -> None: - """Deploys or starts the Docker container based on its current status. - - Args: - container_port (int): Port to expose on the Docker container. - container_input_directory (str): Directory inside the container for input data. - container_output_directory (str): Directory inside the container for output data. - """ - status = self.container_status - if status is None: - logging.info("No existing container found. Running a new container.") - self._run_container(container_port, container_input_directory, container_output_directory) - elif self._force_build: - logging.info("Force rebuild initiated.") - if status in ["running", "paused"]: - self._stop_container() - self._delete_container() - self._run_container(container_port, container_input_directory, container_output_directory) - elif status in ["exited", "created"]: - self._start_container() - elif status == "running": - logging.info("Container is already running.") - else: - logging.warning( - "Container in unsupported status: %s. Fix container on your own.", - status, - ) - - def _start_container(self) -> None: - """Start the container if it exists but stopped.""" - logging.info("Starting the existing container...") - command = ["docker", "start", self._container_name] - subprocess.run(command, check=True) - - def _run_container( - self, - container_port: int, - container_input_directory: str, - container_output_directory: str, - ) -> None: - """ - Runs a new Docker container using the configured parameters. - - Args: - container_port (int): Port to expose on the Docker container. - container_input_directory (str): Directory inside the container for input data. - container_output_directory (str): Directory inside the container for output data. - """ - logging.info("Running a new container...") - command = [ - "docker", - "run", - "--name", - self._container_name, - "--restart", - "unless-stopped", - "-d", - "-p", - f"{self._port}:{container_port}", - "-v", - f"{self._input_directory}:{container_input_directory}", - "-v", - f"{self._output_directory}:{container_output_directory}", - ] - if not self._cpu_only: - command.extend(["--gpus", "all"]) - command.append(self._image_name) - subprocess.run(command, check=True) - - def follow_container_logs(self) -> None: - """Starts following the logs of the running Docker container.""" - try: - process = self._run_log_process() - for line in iter(process.stdout.readline, ""): - sys.stdout.write(line) - if "Service ready for shutdown" in line: - raise self.ServiceShutdownSignal("Service has signaled readiness for shutdown.") - except KeyboardInterrupt: - logger.info("Process stopped by user.") - except self.ServiceShutdownSignal: - logger.info("Service has signaled readiness for shutdown.") - finally: - self.__stop_log_process(process) - - def _run_log_process(self) -> subprocess.Popen: - """Initiates the process to follow Docker container logs. - - Returns: - subprocess.Popen: The process object for the log following command. - """ - logger.info("Following logs for %s...", self._container_name) - command = ["docker", "logs", "-f", "--since", "1s", self._container_name] - process = subprocess.Popen( - command, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - encoding="utf-8", - ) - return process - - def __stop_log_process(self, process: subprocess.Popen) -> None: - """Terminates the log following process and stops the container. - - Args: - process (subprocess.Popen): The process object for the log following command. - """ - logger.info("Following container logs stopped.") - process.terminate() - process.wait() - self._stop_container() - - def _stop_container(self) -> None: - """Stops the running Docker container.""" - logger.info("Stopping container %s...", self._container_name) - command = ["docker", "stop", self._container_name] - subprocess.run(command, check=True, capture_output=True) - logger.info("Container stopped.") - - def _delete_container(self) -> None: - """Deletes the Docker container.""" - logger.info("Deleting container %s...", self._container_name) - command = ["docker", "rm", self._container_name] - subprocess.run(command, check=True, capture_output=True) - logger.info("Container deleted.") diff --git a/service_manager/service_initializer.py b/service_manager/service_initializer.py deleted file mode 100644 index 8b86cb1..0000000 --- a/service_manager/service_initializer.py +++ /dev/null @@ -1,126 +0,0 @@ -""" -This module provide tool for starting extractor service. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import argparse -import json -import logging -import time -from http.client import RemoteDisconnected -from pathlib import Path -from typing import Union -from urllib.request import Request, urlopen - -logger = logging.getLogger(__name__) - - -class ServiceInitializer: - """ - Handles command-line input and manages the setup and - execution of Docker-based image processing tasks. - """ - - def __init__(self, user_input: argparse.Namespace) -> None: - """Initializes the service initializer by taking and validating user input.""" - self._input_directory = self._check_directory(user_input.input_dir) - self._output_directory = self._check_directory(user_input.output_dir) - self._extractor_name = user_input.extractor_name - self._port = user_input.port - self._all_frames = user_input.all_frames - - @staticmethod - def _check_directory(directory: str) -> Path: - """ - Validates if the provided directory path is an actual directory. - - Args: - directory (str): The directory path to validate. - - Returns: - Path: The validated directory as a Path object. - - Raises: - NotADirectoryError: If the provided path is not a directory. - """ - directory = Path(directory) - if not directory.is_dir(): - error_massage = f"Invalid directory path: {str(directory)}" - logger.error(error_massage) - raise NotADirectoryError(error_massage) - return directory - - def run_extractor(self, extractor_url: Union[str, None] = None) -> None: - """Send POST request to local port extractor service to start chosen extractor.""" - if extractor_url is None: - extractor_url = f"http://localhost:{self._port}/v2/extractors/{self._extractor_name}" - json_data = {"all_frames": self._all_frames} - req = Request( - extractor_url, - method="POST", - data=json.dumps(json_data).encode("utf-8"), - headers={"Content-Type": "application/json"}, - ) - start_time = time.time() - while True: - if self._try_to_run_extractor(req, start_time): - break - - def _try_to_run_extractor(self, req: Request, start_time: float, timeout: int = 60) -> bool: - """ - Attempts to send a request to the extractor service - and handles service availability and timeouts. - - Args: - req (Request): The request object to send. - start_time (float): The timestamp at the start of the operation for timeout management. - timeout (int): Maximum time in seconds to wait for the service to become available. - - Returns: - bool: True if the service response as expected, False otherwise. - """ - try: - with urlopen(req) as response: - if response.status == 200: - response_body = response.read() - response_body = json.loads(response_body.decode("utf-8")) - message = response_body.get("message", "No message returned") - logger.info("Response from server: %s", message) - return True - except RemoteDisconnected: - logger.info("Waiting for service to be available...") - self.__check_timeout(start_time, timeout) - time.sleep(3) - return False - - @staticmethod - def __check_timeout(start_time: float, timeout: int) -> None: - """ - Checks if the operation has timed out based on the start time and specified timeout. - - Args: - start_time (float): The start time of the operation. - timeout (int): The maximum allowable duration for the operation. - - Raises: - TimeoutError: If the current time exceeds the start time by the timeout duration. - """ - if time.time() - start_time > timeout: - error_massage = "Timed out waiting for service to respond." - logger.error(error_massage) - raise TimeoutError(error_massage) diff --git a/start.py b/start.py deleted file mode 100644 index 4aca55b..0000000 --- a/start.py +++ /dev/null @@ -1,104 +0,0 @@ -""" -This module provide script for starting extraction process with -given arguments in fast and easy way. -LICENSE -======= -Copyright (C) 2024 Bartłomiej Flis - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -""" - -import argparse -import logging - -from config import Config -from service_manager.docker_manager import DockerManager -from service_manager.service_initializer import ServiceInitializer - -logging.basicConfig(level=logging.INFO) -logger = logging.getLogger(__name__) - - -def main() -> None: - """Script for starting extractor service and extraction process.""" - user_input = parse_args() - service = ServiceInitializer(user_input) - docker = DockerManager( - Config.service_name, - user_input.input_dir, - user_input.output_dir, - user_input.port, - user_input.build, - user_input.cpu, - ) - docker.build_image(Config.dockerfile) - docker.deploy_container(Config.port, Config.volume_input_directory, Config.volume_output_directory) - service.run_extractor() - docker.follow_container_logs() - logger.info("Process stopped.") - - -def parse_args() -> argparse.Namespace: - """ - Parses command line arguments from user for extractor service. - - Returns: - argparse.Namespace: Arguments from user. - """ - parser = argparse.ArgumentParser( - description="Tool to manage and execute image processing tasks within a Docker container." - ) - parser.add_argument( - "extractor_name", - choices=["best_frames_extractor", "top_images_extractor"], - help="Name of extractor to run.", - ) - parser.add_argument( - "--input_dir", - "-i", - default=Config.input_directory, - help="Full path to the extractors input directory.", - ) - parser.add_argument( - "--output_dir", - "-o", - default=Config.output_directory, - help="Full path to the extractors output directory.", - ) - parser.add_argument( - "--port", - "-p", - type=int, - default=Config.port, - help="Port to expose the service on the host.", - ) - parser.add_argument( - "--build", - "-b", - action="store_true", - help="Forces the Docker image to be rebuilt if set to true.", - ) - parser.add_argument( - "--all_frames", - action="store_true", - help="Returning all frames every second without filtering. " - "For best_frames_extractor - does nothing with others.", - ) - parser.add_argument("--cpu", action="store_true", help="Turn on cpu-only mode.") - args = parser.parse_args() - return args - - -if __name__ == "__main__": - main() diff --git a/tests/common.py b/tests/common.py index 84a165f..03b55a7 100644 --- a/tests/common.py +++ b/tests/common.py @@ -5,6 +5,10 @@ import pytest +from perfectframe.dependencies import Dependencies, get_dependencies +from perfectframe.extractors import BestFramesExtractor +from perfectframe.schemas import ExtractorConfig, ImageExtension + @pytest.fixture(scope="session") def files_dir(): @@ -22,7 +26,7 @@ def top_images_dir(files_dir): @pytest.fixture -def setup_top_images_extractor_env(files_dir, top_images_dir) -> tuple[Path, Path]: +def setup_top_images_extractor_env(files_dir, top_images_dir): assert files_dir.is_dir() if top_images_dir.is_dir(): @@ -38,7 +42,7 @@ def setup_top_images_extractor_env(files_dir, top_images_dir) -> tuple[Path, Pat @pytest.fixture -def setup_best_frames_extractor_env(files_dir, best_frames_dir) -> tuple[Path, Path, Path]: +def setup_best_frames_extractor_env(files_dir, best_frames_dir): video_filename = "test_video.mp4" expected_video_path = files_dir / f"frames_extracted_{video_filename}" video_path = files_dir / video_filename @@ -57,3 +61,28 @@ def setup_best_frames_extractor_env(files_dir, best_frames_dir) -> tuple[Path, P gitkeep_file = best_frames_dir / ".gitkeep" gitkeep_file.touch() assert gitkeep_file.exists() + + +@pytest.fixture(scope="package") +def config(files_dir, best_frames_dir) -> ExtractorConfig: + return ExtractorConfig( + input_directory=files_dir, + output_directory=best_frames_dir, + images_output_format=ImageExtension.JPG, + processed_video_prefix="done_", + ) + + +@pytest.fixture(scope="package") +def dependencies(config) -> Dependencies: + return get_dependencies(config) + + +@pytest.fixture(scope="package") +def extractor(dependencies): + return BestFramesExtractor( + dependencies.config, + dependencies.image_processor, + dependencies.video_processor, + dependencies.evaluator, + ) diff --git a/extractor_service/__init__.py b/tests/e2e/__init__.py similarity index 100% rename from extractor_service/__init__.py rename to tests/e2e/__init__.py diff --git a/tests/extractor_service/e2e/best_frames_extractor_api_test.py b/tests/e2e/best_frames_extractor_api_test.py similarity index 62% rename from tests/extractor_service/e2e/best_frames_extractor_api_test.py rename to tests/e2e/best_frames_extractor_api_test.py index 51a9d57..20257b4 100644 --- a/tests/extractor_service/e2e/best_frames_extractor_api_test.py +++ b/tests/e2e/best_frames_extractor_api_test.py @@ -1,7 +1,3 @@ -# import pytest - - -# @pytest.mark.skip(reason="Test time-consuming and dependent on hardware performance") def test_best_frames_extractor_api(client, setup_best_frames_extractor_env): input_directory, output_directory, expected_video_path = setup_best_frames_extractor_env extractor_name = "best_frames_extractor" @@ -12,10 +8,14 @@ def test_best_frames_extractor_api(client, setup_best_frames_extractor_env): response = client.post(f"/v2/extractors/{extractor_name}", json=config) - assert response.status_code == 200 + assert response.is_success assert response.json()["message"] == f"'{extractor_name}' started." found_best_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.suffix == ".jpg" + file + for file in output_directory.iterdir() + if file.name.startswith("image_") and file.suffix == ".jpg" ] - assert len(found_best_frame_files) > 0, "No files meeting the criteria were found in output_directory" + assert len(found_best_frame_files) > 0, ( + "No files meeting the criteria were found in output_directory" + ) assert expected_video_path.is_file(), "Video file name was not changed as expected" diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py new file mode 100644 index 0000000..033ba44 --- /dev/null +++ b/tests/e2e/conftest.py @@ -0,0 +1,119 @@ +"""E2E test fixtures using testcontainers.""" + +import os +import shutil +import time +from pathlib import Path + +import pytest +import requests +from fastapi.testclient import TestClient +from testcontainers.compose import DockerCompose + +from perfectframe.app import app +from tests.common import ( + best_frames_dir, + config, + files_dir, + setup_best_frames_extractor_env, + setup_top_images_extractor_env, + top_images_dir, +) + +PROJECT_ROOT = Path(__file__).parent.parent.parent +TEST_FILES_DIR = Path(__file__).parent.parent / "test_files" + + +@pytest.fixture(scope="package") +def client(): + with TestClient(app) as client: + yield client + + +def wait_for_health(base_url: str, timeout: int = 120, interval: float = 0.5) -> bool: + """Wait for health endpoint to return 200.""" + start_time = time.time() + while time.time() - start_time < timeout: + try: + response = requests.get(f"{base_url}/health", timeout=5) + if response.ok: + return True + except requests.exceptions.RequestException: + pass + time.sleep(interval) + return False + + +def wait_for_extraction_complete(base_url: str, timeout: int = 300, interval: float = 0.5) -> bool: + """Wait for extraction to complete by polling /v2/status endpoint.""" + start_time = time.time() + while time.time() - start_time < timeout: + try: + response = requests.get(f"{base_url}/v2/status", timeout=5) + if response.ok: + status = response.json() + if status.get("active_extractor") is None: + return True + except requests.exceptions.RequestException: + pass + time.sleep(interval) + return False + + +def cleanup_output_dir(output_dir: Path) -> None: + """Remove all image files from output directory.""" + for f in output_dir.glob("image_*.jpg"): + f.unlink() + + +@pytest.fixture(scope="package") +def extractor_service(tmp_path_factory): + """Start extractor service using docker-compose.""" + input_dir = tmp_path_factory.mktemp("input") + output_dir = tmp_path_factory.mktemp("output") + + # Make directories writable by container's non-root user (uid=1000) + input_dir.chmod(0o777) + output_dir.chmod(0o777) + + # Copy test video to input (reset name if it was processed by another test) + test_video = TEST_FILES_DIR / "test_video.mp4" + processed_video = TEST_FILES_DIR / "frames_extracted_test_video.mp4" + if processed_video.exists() and not test_video.exists(): + processed_video.rename(test_video) + if test_video.exists(): + shutil.copy(test_video, input_dir / "test_video.mp4") + + # Copy test image to input (for top_images_extractor) + test_image = TEST_FILES_DIR / "image_3e4aa2ce-7f83-45fd-b56f-e3bed645224e.jpg" + if test_image.exists(): + shutil.copy(test_image, input_dir / "test_image.jpg") + + compose = DockerCompose( + context=str(PROJECT_ROOT), + compose_file_name="docker-compose.yaml", + env_file=None, + build=True, + ) + # Set environment variables for volumes + os.environ["INPUT_DIR"] = str(input_dir) + os.environ["OUTPUT_DIR"] = str(output_dir) + + compose.start() + + # Wait for health endpoint + base_url = "http://localhost:8100" + if not wait_for_health(base_url): + compose.stop() + pytest.fail("Service did not become healthy in time") + + yield { + "input_dir": input_dir, + "output_dir": output_dir, + "base_url": base_url, + } + + compose.stop() + # Clean up environment variables + os.environ.pop("INPUT_DIR", None) + os.environ.pop("OUTPUT_DIR", None) diff --git a/tests/e2e/docker_best_frames_extractor_test.py b/tests/e2e/docker_best_frames_extractor_test.py new file mode 100644 index 0000000..9dfa116 --- /dev/null +++ b/tests/e2e/docker_best_frames_extractor_test.py @@ -0,0 +1,38 @@ +"""E2E test for best_frames_extractor using testcontainers.""" + +import requests + +from tests.e2e.conftest import cleanup_output_dir, wait_for_extraction_complete + + +def test_best_frames_extractor(extractor_service): + """Test best_frames_extractor endpoint via docker-compose service.""" + base_url = extractor_service["base_url"] + input_dir = extractor_service["input_dir"] + output_dir = extractor_service["output_dir"] + + # Cleanup and verify empty + cleanup_output_dir(output_dir) + assert len(list(output_dir.glob("image_*.jpg"))) == 0, "Output dir not empty" + + # Call extractor API + response = requests.post( + f"{base_url}/v2/extractors/best_frames_extractor", + json={"all_frames": False}, + timeout=30, + ) + + assert response.ok + assert "started" in response.json().get("message", "").lower() + + # Wait for extraction to complete + extraction_completed = wait_for_extraction_complete(base_url, timeout=300) + assert extraction_completed, "Extraction did not complete within timeout" + + # Verify output files were created + output_files = list(output_dir.glob("image_*.jpg")) + assert len(output_files) > 0, "No output files were created" + + # Verify video file was renamed (processed) + expected_video_path = input_dir / "frames_extracted_test_video.mp4" + assert expected_video_path.is_file(), "Video file was not renamed after processing" diff --git a/tests/e2e/docker_top_images_extractor_test.py b/tests/e2e/docker_top_images_extractor_test.py new file mode 100644 index 0000000..c5fd0e7 --- /dev/null +++ b/tests/e2e/docker_top_images_extractor_test.py @@ -0,0 +1,38 @@ +"""E2E test for top_images_extractor using testcontainers.""" + +import requests + +from tests.e2e.conftest import cleanup_output_dir, wait_for_extraction_complete + + +def test_top_images_extractor(extractor_service): + """Test top_images_extractor endpoint via docker-compose service.""" + base_url = extractor_service["base_url"] + input_dir = extractor_service["input_dir"] + output_dir = extractor_service["output_dir"] + + # Verify input image exists + input_image = input_dir / "test_image.jpg" + assert input_image.is_file(), "Test image not found in input directory" + + # Cleanup and verify empty + cleanup_output_dir(output_dir) + assert len(list(output_dir.glob("image_*.jpg"))) == 0, "Output dir not empty" + + # Call extractor API + response = requests.post( + f"{base_url}/v2/extractors/top_images_extractor", + json={}, + timeout=30, + ) + + assert response.ok + assert "started" in response.json().get("message", "").lower() + + # Wait for extraction to complete + extraction_completed = wait_for_extraction_complete(base_url, timeout=300) + assert extraction_completed, "Extraction did not complete within timeout" + + # Verify output files were created + output_files = list(output_dir.glob("image_*.jpg")) + assert len(output_files) > 0, "No output files were created" diff --git a/tests/extractor_service/e2e/frames_extractor_test.py b/tests/e2e/frames_extractor_test.py similarity index 63% rename from tests/extractor_service/e2e/frames_extractor_test.py rename to tests/e2e/frames_extractor_test.py index 119b39d..9dfaa08 100644 --- a/tests/extractor_service/e2e/frames_extractor_test.py +++ b/tests/e2e/frames_extractor_test.py @@ -1,7 +1,3 @@ -# import pytest - - -# @pytest.mark.skip(reason="Test time-consuming and dependent on hardware performance") def test_frames_extractor_api(client, setup_best_frames_extractor_env): input_directory, output_directory, expected_video_path = setup_best_frames_extractor_env extractor_name = "best_frames_extractor" @@ -13,10 +9,14 @@ def test_frames_extractor_api(client, setup_best_frames_extractor_env): response = client.post(f"/v2/extractors/{extractor_name}", json=config) - assert response.status_code == 200 + assert response.is_success assert response.json()["message"] == f"'{extractor_name}' started." found_best_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.suffix == ".jpg" + file + for file in output_directory.iterdir() + if file.name.startswith("image_") and file.suffix == ".jpg" ] - assert len(found_best_frame_files) > 0, "No files meeting the criteria were found in output_directory" + assert len(found_best_frame_files) > 0, ( + "No files meeting the criteria were found in output_directory" + ) assert expected_video_path.is_file(), "Video file name was not changed as expected" diff --git a/tests/extractor_service/e2e/top_images_extractor_api_test.py b/tests/e2e/top_images_extractor_api_test.py similarity index 57% rename from tests/extractor_service/e2e/top_images_extractor_api_test.py rename to tests/e2e/top_images_extractor_api_test.py index b6a6f58..6fb58d5 100644 --- a/tests/extractor_service/e2e/top_images_extractor_api_test.py +++ b/tests/e2e/top_images_extractor_api_test.py @@ -1,7 +1,3 @@ -# import pytest - - -# @pytest.mark.skip(reason="Test time-consuming and dependent on hardware performance") def test_top_images_extractor_api(client, setup_top_images_extractor_env): input_directory, output_directory = setup_top_images_extractor_env extractor_name = "top_images_extractor" @@ -12,9 +8,13 @@ def test_top_images_extractor_api(client, setup_top_images_extractor_env): response = client.post(f"/v2/extractors/{extractor_name}", json=config) - assert response.status_code == 200 + assert response.is_success assert response.json()["message"] == f"'{extractor_name}' started." found_top_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.name.endswith(".jpg") + file + for file in output_directory.iterdir() + if file.name.startswith("image_") and file.name.endswith(".jpg") ] - assert len(found_top_frame_files) > 0, "No files meeting the criteria were found in output_directory" + assert len(found_top_frame_files) > 0, ( + "No files meeting the criteria were found in output_directory" + ) diff --git a/tests/extractor_service/__init__.py b/tests/extractor_service/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/extractor_service/common.py b/tests/extractor_service/common.py deleted file mode 100644 index aae3659..0000000 --- a/tests/extractor_service/common.py +++ /dev/null @@ -1,48 +0,0 @@ -"""Common fixtures for all conftest files.""" - -import pytest - -from extractor_service.app.dependencies import ( - ExtractorDependencies, - get_evaluator, - get_image_processor, - get_video_processor, -) -from extractor_service.app.extractors import BestFramesExtractor -from extractor_service.app.schemas import ExtractorConfig - - -@pytest.fixture(scope="package") -def dependencies(): - image_processor = get_image_processor() - video_processor = get_video_processor() - evaluator = get_evaluator() - - return ExtractorDependencies( - image_processor=image_processor, - video_processor=video_processor, - evaluator=evaluator, - ) - - -@pytest.fixture(scope="package") -def extractor(config, dependencies): - extractor = BestFramesExtractor( - config, - dependencies.image_processor, - dependencies.video_processor, - dependencies.evaluator, - ) - return extractor - - -@pytest.fixture(scope="package") -def config(files_dir, best_frames_dir) -> ExtractorConfig: - config = ExtractorConfig( - input_directory=files_dir, - output_directory=best_frames_dir, - images_output_format=".jpg", - video_extensions=(".mp4",), - processed_video_prefix="done_", - ) - return config diff --git a/tests/extractor_service/e2e/__init__.py b/tests/extractor_service/e2e/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/extractor_service/e2e/conftest.py b/tests/extractor_service/e2e/conftest.py deleted file mode 100644 index eb9e9e2..0000000 --- a/tests/extractor_service/e2e/conftest.py +++ /dev/null @@ -1,18 +0,0 @@ -import pytest -from fastapi.testclient import TestClient - -from extractor_service.main import app, run_extractor -from tests.common import ( - best_frames_dir, - files_dir, - setup_best_frames_extractor_env, - setup_top_images_extractor_env, - top_images_dir, -) -from tests.extractor_service.common import config - - -@pytest.fixture(scope="package") -def client(): - with TestClient(app) as client: - yield client diff --git a/tests/extractor_service/integration/__init__.py b/tests/extractor_service/integration/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/extractor_service/integration/manager_and_fastapi_integration_test.py b/tests/extractor_service/integration/manager_and_fastapi_integration_test.py deleted file mode 100644 index 0b72f71..0000000 --- a/tests/extractor_service/integration/manager_and_fastapi_integration_test.py +++ /dev/null @@ -1,17 +0,0 @@ -from fastapi import BackgroundTasks -from starlette.testclient import TestClient - -from extractor_service.app.extractor_manager import ExtractorManager -from extractor_service.main import app - -client = TestClient(app) - - -def test_extractor_start_and_stop(config, dependencies): - extractor_name = "best_frames_extractor" - background_tasks = BackgroundTasks() - - response = ExtractorManager.start_extractor(extractor_name, background_tasks, config, dependencies) - - assert response == f"'{extractor_name}' started." - assert ExtractorManager.get_active_extractor() is None diff --git a/tests/extractor_service/unit/__init__.py b/tests/extractor_service/unit/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/extractor_service/unit/best_frames_extractor_test.py b/tests/extractor_service/unit/best_frames_extractor_test.py deleted file mode 100644 index 504e3f7..0000000 --- a/tests/extractor_service/unit/best_frames_extractor_test.py +++ /dev/null @@ -1,142 +0,0 @@ -import logging -from pathlib import Path -from unittest.mock import MagicMock, patch - -import numpy as np -import pytest - -from extractor_service.app.extractors import BestFramesExtractor -from extractor_service.app.image_evaluators import InceptionResNetNIMA -from extractor_service.app.image_processors import OpenCVImage -from extractor_service.app.video_processors import OpenCVVideo - - -@pytest.fixture -def all_frames_extractor(extractor): - extractor._config.all_frames = True - yield extractor - extractor._config.all_frames = False - - -@pytest.fixture(scope="function") -def extractor(config): - extractor = BestFramesExtractor(config, OpenCVImage, OpenCVVideo, InceptionResNetNIMA) - return extractor - - -def test_process(extractor, caplog, config): - test_videos = ["/fake/directory/video1.mp4", "/fake/directory/video2.mp4"] - test_frames = ["frame1", "frame2"] - extractor._list_input_directory_files = MagicMock(return_value=test_videos) - extractor._get_image_evaluator = MagicMock() - extractor._extract_best_frames = MagicMock(return_value=test_frames) - extractor._add_prefix = MagicMock() - extractor._signal_readiness_for_shutdown = MagicMock() - - with caplog.at_level(logging.INFO): - extractor.process() - - extractor._list_input_directory_files.assert_called_once_with( - config.video_extensions, config.processed_video_prefix - ) - extractor._get_image_evaluator.assert_called_once() - assert extractor._extract_best_frames.call_count == len(test_videos) - assert extractor._add_prefix.call_count == len(test_videos) - extractor._signal_readiness_for_shutdown.assert_called_once() - for video in test_videos: - extractor._add_prefix.assert_any_call(config.processed_video_prefix, video) - extractor._extract_best_frames.assert_any_call(video) - assert f"Frames extraction has finished for video: {video}" in caplog.text - assert f"Starting frames extraction process from '{config.input_directory}'." in caplog.text - - -def test_process_if_all_frames(extractor, caplog, config, all_frames_extractor): - test_videos = ["/fake/directory/video1.mp4", "/fake/directory/video2.mp4"] - test_frames = ["frame1", "frame2"] - extractor._list_input_directory_files = MagicMock(return_value=test_videos) - extractor._get_image_evaluator = MagicMock() - extractor._extract_best_frames = MagicMock(return_value=test_frames) - extractor._add_prefix = MagicMock() - extractor._signal_readiness_for_shutdown = MagicMock() - - with caplog.at_level(logging.INFO): - extractor.process() - - extractor._list_input_directory_files.assert_called_once_with( - config.video_extensions, config.processed_video_prefix - ) - extractor._get_image_evaluator.assert_not_called() - assert not extractor._image_evaluator - assert extractor._extract_best_frames.call_count == len(test_videos) - assert extractor._add_prefix.call_count == len(test_videos) - extractor._signal_readiness_for_shutdown.assert_called_once() - for video in test_videos: - extractor._add_prefix.assert_any_call(config.processed_video_prefix, video) - extractor._extract_best_frames.assert_any_call(video) - assert f"Frames extraction has finished for video: {video}" in caplog.text - assert f"Starting frames extraction process from '{config.input_directory}'." in caplog.text - - -@patch("extractor_service.app.extractors.gc.collect") -@patch.object(BestFramesExtractor, "_get_best_frames") -@patch.object(BestFramesExtractor, "_save_images") -@patch.object(OpenCVVideo, "get_next_frames") -def test_extract_best_frames(mock_generator, mock_save, mock_get, mock_collect, extractor): - video_path = MagicMock(spec=Path) - - batch_1 = [f"frame{i}" for i in range(5)] - batch_2 = [] - batch_3 = [f"frame{i}" for i in range(5)] - mock_generator.return_value = iter([batch_1, batch_2, batch_3]) - - mock_get.side_effect = [batch_1, batch_3] - - extractor._extract_best_frames(video_path) - - assert not extractor._config.all_frames - mock_generator.assert_called_once_with(video_path, extractor._config.batch_size) - assert mock_get.call_count == 2 - for batch in [batch_1, batch_3]: - mock_save.assert_called_with(batch) - assert mock_collect.call_count == 2 - - -@patch("extractor_service.app.extractors.gc.collect") -@patch.object(BestFramesExtractor, "_get_best_frames") -@patch.object(BestFramesExtractor, "_save_images") -@patch.object(OpenCVVideo, "get_next_frames") -def test_extract_all_frames(mock_generator, mock_save, mock_get, mock_collect, all_frames_extractor): - video_path = MagicMock(spec=Path) - - batch_1 = [f"frame{i}" for i in range(5)] - batch_2 = [] - batch_3 = [f"frame{i}" for i in range(5)] - mock_generator.return_value = iter([batch_1, batch_2, batch_3]) - - all_frames_extractor._extract_best_frames(video_path) - - assert all_frames_extractor._config.all_frames - mock_generator.assert_called_once_with(video_path, all_frames_extractor._config.batch_size) - assert mock_get.assert_not_called - for batch in [batch_1, batch_3]: - mock_save.assert_called_with(batch) - assert mock_collect.call_count == 2 - - -@patch.object(BestFramesExtractor, "_normalize_images") -@patch.object(BestFramesExtractor, "_evaluate_images") -def test_get_best_frames(mock_evaluate, mock_normalize, caplog, extractor, config): - frames = [f"frames{i}" for i in range(10)] - scores = np.array([7, 2, 9, 3, 8, 5, 10, 1, 4, 6]) - normalized_images = [MagicMock() for _ in range(10)] - mock_normalize.return_value = normalized_images - mock_evaluate.return_value = scores - expected_best_images = [frames[2], frames[6]] - - with caplog.at_level(logging.INFO): - best_images = extractor._get_best_frames(frames) - - mock_evaluate.assert_called_once_with(normalized_images) - mock_normalize.assert_called_once_with(frames, config.target_image_size) - assert best_images == expected_best_images - assert f"Best frames selected({len(expected_best_images)})." in caplog.text diff --git a/tests/extractor_service/unit/conftest.py b/tests/extractor_service/unit/conftest.py deleted file mode 100644 index 1a32383..0000000 --- a/tests/extractor_service/unit/conftest.py +++ /dev/null @@ -1,6 +0,0 @@ -import pytest - -from extractor_service.app.extractors import BestFramesExtractor -from extractor_service.app.schemas import ExtractorConfig -from tests.common import best_frames_dir, files_dir -from tests.extractor_service.common import config, dependencies, extractor diff --git a/tests/extractor_service/unit/dependencies_test.py b/tests/extractor_service/unit/dependencies_test.py deleted file mode 100644 index 9058d19..0000000 --- a/tests/extractor_service/unit/dependencies_test.py +++ /dev/null @@ -1,35 +0,0 @@ -from extractor_service.app.dependencies import ( - ExtractorDependencies, - get_evaluator, - get_extractor_dependencies, - get_image_processor, - get_video_processor, -) -from extractor_service.app.image_evaluators import InceptionResNetNIMA -from extractor_service.app.image_processors import OpenCVImage -from extractor_service.app.video_processors import OpenCVVideo - - -def test_get_image_processor(): - assert get_image_processor() == OpenCVImage - - -def test_get_video_processor(): - assert get_video_processor() == OpenCVVideo - - -def test_get_evaluator(): - assert get_evaluator() == InceptionResNetNIMA - - -def test_get_extractor_dependencies(): - dependencies = get_extractor_dependencies( - image_processor=get_image_processor(), - video_processor=get_video_processor(), - evaluator=get_evaluator(), - ) - - assert isinstance(dependencies, ExtractorDependencies) - assert dependencies.image_processor == OpenCVImage - assert dependencies.video_processor == OpenCVVideo - assert dependencies.evaluator == InceptionResNetNIMA diff --git a/tests/extractor_service/unit/extractor_manager_test.py b/tests/extractor_service/unit/extractor_manager_test.py deleted file mode 100644 index d89f8e4..0000000 --- a/tests/extractor_service/unit/extractor_manager_test.py +++ /dev/null @@ -1,56 +0,0 @@ -from unittest.mock import MagicMock, patch - -import pytest -from fastapi import BackgroundTasks, HTTPException - -from extractor_service.app.extractor_manager import ExtractorManager -from extractor_service.app.extractors import ExtractorFactory - - -def test_get_active_extractor(): - assert ExtractorManager.get_active_extractor() is None - - -@patch.object(ExtractorFactory, "create_extractor") -@patch.object(ExtractorManager, "_check_is_already_extracting") -def test_start_extractor(mock_checking, mock_create_extractor, config, dependencies): - extractor_name = "some_extractor" - mock_extractor = MagicMock() - mock_background_tasks = MagicMock(spec=BackgroundTasks) - mock_create_extractor.return_value = mock_extractor - - message = ExtractorManager.start_extractor(extractor_name, mock_background_tasks, config, dependencies) - - mock_checking.assert_called_once() - mock_create_extractor.assert_called_once_with(extractor_name, config, dependencies) - mock_background_tasks.add_task.assert_called_once_with( - ExtractorManager._ExtractorManager__run_extractor, - mock_extractor, - extractor_name, - ) - expected_message = f"'{extractor_name}' started." - assert message == expected_message, "The return message does not match expected." - - -@patch("extractor_service.app.extractors.BestFramesExtractor") -def test_run_extractor(mock_extractor): - extractor_name = "some_extractor" - - ExtractorManager._ExtractorManager__run_extractor(mock_extractor, extractor_name) - - mock_extractor.process.assert_called_once() - - -def test_check_is_already_evaluating_true(): - test_extractor = "active_extractor" - ExtractorManager._active_extractor = test_extractor - expected_error_massage = ( - f"Extractor '{test_extractor}' is already running. " - f"You can run only one extractor at the same time. " - f"Wait until the extractor is done before run next process." - ) - - with pytest.raises(HTTPException, match=expected_error_massage) as exc_info: - ExtractorManager._check_is_already_extracting() - - assert exc_info.value.status_code == 409 diff --git a/tests/extractor_service/unit/image_evaluators_test.py b/tests/extractor_service/unit/image_evaluators_test.py deleted file mode 100644 index 300bad3..0000000 --- a/tests/extractor_service/unit/image_evaluators_test.py +++ /dev/null @@ -1,88 +0,0 @@ -import logging -from unittest.mock import MagicMock, call, patch - -import numpy as np -import pytest - -from extractor_service.app.image_evaluators import InceptionResNetNIMA, _ResNetModel - - -@pytest.fixture -def evaluator(): - with patch.object(_ResNetModel, "get_model", return_value=MagicMock()): - evaluator = InceptionResNetNIMA(MagicMock()) - return evaluator - - -@patch.object(_ResNetModel, "get_model") -def test_evaluator_initialization(mock_get_model, config): - test_model = "some_model" - mock_get_model.return_value = test_model - - instance = InceptionResNetNIMA(config) - - mock_get_model.assert_called_once() - assert instance._model == test_model - - -@patch("extractor_service.app.image_evaluators.convert_to_tensor") -@patch.object(InceptionResNetNIMA, "_calculate_weighted_mean") -@patch.object(InceptionResNetNIMA, "_check_scores") -def test_evaluate_images(mock_check, mock_calculate, mock_convert_to_tensor, evaluator, caplog): - fake_images = MagicMock(spec=np.ndarray) - fake_images.shape = (3, 2, 2) - tensor = "some_tensor" - predictions = [1.0, 2.0, 3.0] - expected_scores = [10.0, 20.0, 30.0] - mock_convert_to_tensor.return_value = tensor - mock_calculate.side_effect = expected_scores - evaluator._model.predict.return_value = predictions - - with caplog.at_level(logging.INFO): - result = evaluator.evaluate_images(fake_images) - - mock_convert_to_tensor.assert_called_once_with(fake_images) - evaluator._model.predict.assert_called_once_with(tensor, batch_size=fake_images.shape[0], verbose=0) - mock_calculate.assert_has_calls( - [call(prediction, _ResNetModel._prediction_weights) for prediction in predictions], - any_order=True, - ) - mock_check.assert_called_once() - assert "Evaluating images..." in caplog.text - assert "Images batch evaluated." in caplog.text - assert result == expected_scores - - -def test_calculate_weighted_mean_with_default_weights(evaluator): - prediction = np.array([10, 20, 30]) - expected_weighted_mean = np.mean(prediction) # Since default weights are equal - - calculated_mean = evaluator._calculate_weighted_mean(prediction) - - assert np.isclose(calculated_mean, expected_weighted_mean) - - -def test_calculate_weighted_mean_with_custom_weights(evaluator): - prediction = np.array([10, 20, 30]) - weights = np.array([1, 2, 3]) - expected_weighted_mean = np.sum(prediction * weights) / np.sum(weights) - - calculated_mean = evaluator._calculate_weighted_mean(prediction, weights) - - assert np.isclose(calculated_mean, expected_weighted_mean) - - -@pytest.mark.parametrize("score_len, images_len", ((1, 1), (1, 2))) -def test_check_scores(score_len, images_len, evaluator, caplog): - scores = [MagicMock(spec=np.ndarray) for _ in range(score_len)] - images = [MagicMock(spec=float) for _ in range(images_len)] - with caplog.at_level(logging.DEBUG): - evaluator._check_scores(images, scores) - - assert f"Scores: {scores}" in caplog.text - if score_len == images_len: - assert f"Scores and images lists length: {score_len}" in caplog.text - else: - assert "Scores and images lists lengths don't match!" in caplog.text - assert f"Images list length: {images_len}" in caplog.text - assert f"Scores list length: {score_len}" in caplog.text diff --git a/tests/extractor_service/unit/image_processors_test.py b/tests/extractor_service/unit/image_processors_test.py deleted file mode 100644 index 2ee1845..0000000 --- a/tests/extractor_service/unit/image_processors_test.py +++ /dev/null @@ -1,76 +0,0 @@ -import logging -import uuid -from pathlib import Path -from unittest.mock import MagicMock, call, patch - -import cv2 -import numpy as np - -from extractor_service.app.image_processors import OpenCVImage - - -@patch.object(cv2, "imread") -def test_read_image(mock_imread, caplog): - mock_path = Path("some/path/to/image.jpg") - expected_image = MagicMock(spec=np.ndarray) - mock_imread.return_value = expected_image - - with caplog.at_level(logging.DEBUG): - result = OpenCVImage.read_image(mock_path) - - assert result == expected_image - mock_imread.assert_called_once_with(str(mock_path)) - assert f"Image '{mock_path}' has successfully read." in caplog.text - - -@patch.object(cv2, "imread") -def test_read_image_invalid_image(mock_imread, caplog): - mock_path = Path("some/path/to/image.jpg") - mock_imread.return_value = None - - with caplog.at_level(logging.WARNING): - result = OpenCVImage.read_image(mock_path) - - assert result is None - mock_imread.assert_called_once_with(str(mock_path)) - assert (f"Can't read image. OpenCV reading not returns np.ndarray for image path: {str(mock_path)}") in caplog.text - - -@patch.object(uuid, "uuid4") -@patch.object(cv2, "imwrite") -def test_save_image(mock_imwrite, mock_uuid, caplog): - file_name = "some_filename" - mock_uuid.return_value = file_name - fake_image = MagicMock(spec=np.ndarray) - output_directory = Path("/fake/directory") - output_format = ".jpg" - expected_path = output_directory / f"image_{file_name}{output_format}" - - with caplog.at_level(logging.DEBUG): - image_path = OpenCVImage.save_image(fake_image, output_directory, output_format) - - mock_imwrite.assert_called_once_with(str(expected_path), fake_image) - assert image_path == expected_path, "The returned path does not match the expected path." - assert f"Image saved at '{expected_path}'." in caplog.text - - -@patch.object(cv2, "resize") -@patch.object(cv2, "cvtColor") -@patch.object(np, "array") -def test_normalize_images(mock_array, mock_cvt, mock_resize, caplog): - images_num = 3 - target_size = (112, 112) - batch_images = [MagicMock(spec=np.ndarray) for _ in range(images_num)] - resized_images = [MagicMock(spec=np.ndarray) for _ in range(images_num)] - expected_images = [MagicMock(spec=np.ndarray) for _ in range(images_num)] - mock_resize.side_effect = resized_images - mock_cvt.side_effect = expected_images - mock_array.return_value = np.array(expected_images, dtype=np.float32) / 255.0 - - result = OpenCVImage.normalize_images(batch_images, target_size) - - calls = [call(image, target_size, interpolation=cv2.INTER_LANCZOS4) for image in batch_images] - mock_resize.assert_has_calls(calls, any_order=True) - calls = [call(image, cv2.COLOR_BGR2RGB) for image in resized_images] - mock_cvt.assert_has_calls(calls, any_order=True) - np.testing.assert_array_equal(result, mock_array.return_value) diff --git a/tests/extractor_service/unit/nima_models_test.py b/tests/extractor_service/unit/nima_models_test.py deleted file mode 100644 index 0d5a00d..0000000 --- a/tests/extractor_service/unit/nima_models_test.py +++ /dev/null @@ -1,165 +0,0 @@ -import logging -from pathlib import Path -from unittest.mock import MagicMock, patch - -import numpy as np -import pytest - -from extractor_service.app.image_evaluators import _ResNetModel - - -@pytest.fixture(autouse=True) -def reset_resnet_model(): - _ResNetModel.reset() - yield - _ResNetModel.reset() - - -def test_get_prediction_weights(): - result = _ResNetModel.get_prediction_weights() - - assert result is _ResNetModel._prediction_weights - - -@patch("extractor_service.app.image_evaluators.tf.keras.applications.InceptionResNetV2") -@patch("extractor_service.app.image_evaluators.Dropout") -@patch("extractor_service.app.image_evaluators.Dense") -@patch("extractor_service.app.image_evaluators.Model") -def test_create_model(mock_model, mock_dense, mock_dropout, mock_resnet, caplog): - model_weights_path = Path("/fake/path/to/weights.h5") - model_inputs = "mock_input" - model_outputs = "mock_output" - processed_output = "mock_processed_output" - final_output = "mock_final_output" - - mock_base_model_instance = MagicMock() - mock_resnet.return_value = mock_base_model_instance - mock_base_model_instance.output = model_outputs - mock_base_model_instance.input = model_inputs - mock_dropout_instance = MagicMock() - mock_dropout.return_value = mock_dropout_instance - mock_dropout_instance.return_value = processed_output - mock_dense_instance = MagicMock() - mock_dense.return_value = mock_dense_instance - mock_dense_instance.return_value = final_output - mock_model_instance = MagicMock() - mock_model.return_value = mock_model_instance - mock_model_instance.load_weights = MagicMock() - - with caplog.at_level(logging.DEBUG): - model = _ResNetModel._create_model(model_weights_path) - - mock_resnet.assert_called_once_with(input_shape=(224, 224, 3), include_top=False, pooling="avg", weights=None) - mock_dropout.assert_called_once_with(_ResNetModel._dropout_rate) - mock_dense.assert_called_once_with(_ResNetModel._num_classes, activation="softmax") - mock_model.assert_called_once_with(inputs=model_inputs, outputs=final_output) - mock_model_instance.load_weights.assert_called_once_with(model_weights_path) - assert "Model loaded successfully." in caplog.text - assert model == mock_model_instance - - -def test_class_arguments(): - model = _ResNetModel - assert model._config is None - assert model._model is None - assert list(model._prediction_weights) == list(np.arange(1, 11)) - assert model._input_shape == (224, 224, 3) - assert np.isclose(model._dropout_rate, 0.75, rtol=1e-9) - assert model._num_classes == 10 - - -def test_reset(config): - model = "some_model" - _ResNetModel._model = model - _ResNetModel._config = config - - _ResNetModel.reset() - - assert _ResNetModel._model is None - assert _ResNetModel._config is None - - -@pytest.mark.parametrize("had_model", (True, False)) -@patch.object(_ResNetModel, "_get_model_weights") -@patch.object(_ResNetModel, "_create_model") -def test_get_model(mock_create, mock_get_weights, had_model, config): - weights = "some_weights" - model = "some_model" - mock_get_weights.return_value = weights - mock_create.return_value = model - - assert _ResNetModel._model is None - - if had_model: - _ResNetModel._model = model - - result = _ResNetModel.get_model(config) - - if had_model: - mock_get_weights.assert_not_called() - mock_create.assert_not_called() - assert _ResNetModel._config != config - assert result == model - else: - mock_get_weights.assert_called_once() - mock_create.assert_called_once_with(weights) - assert _ResNetModel._config == config - assert _ResNetModel._model == result - assert result == model - - -@pytest.mark.parametrize("file_exists", (True, False)) -@patch.object(Path, "is_file") -@patch.object(_ResNetModel, "_download_model_weights") -def test_get_model_weights(mock_download, mock_is_file, file_exists, caplog): - mock_is_file.return_value = file_exists - test_directory = "/fake/directory" - test_filename = "weights.h5" - _ResNetModel._config = MagicMock(weights_directory=test_directory, weights_filename=test_filename) - expected_path = Path(test_directory) / test_filename - - with caplog.at_level(logging.DEBUG): - result = _ResNetModel._get_model_weights() - - assert f"Searching for model weights in weights directory: {test_directory}" in caplog.text - if file_exists: - assert f"Model weights loaded from: {expected_path}" in caplog.text - mock_download.assert_not_called() - else: - assert f"Can't find model weights in weights directory: {test_directory}" in caplog.text - mock_download.assert_called_once_with(expected_path) - assert result == expected_path - - -@pytest.mark.parametrize("status_code", (200, 404)) -@patch.object(Path, "write_bytes") -@patch("extractor_service.app.image_evaluators.requests.get") -@patch.object(Path, "mkdir") -def test_download_model_weights_success(mock_mkdir, mock_get, mock_write_bytes, status_code, caplog): - test_url = "https://example.com/weights.h5" - test_path = Path("/fake/path/to/weights.h5") - _ResNetModel._config = MagicMock(weights_repo_url="https://example.com/", weights_filename="weights.h5") - weights_data = b"weights data" - timeout = 12 - - mock_response = MagicMock() - mock_response.status_code = status_code - mock_response.content = weights_data - mock_get.return_value = mock_response - - if status_code == 200: - with caplog.at_level(logging.DEBUG): - _ResNetModel._download_model_weights(test_path, timeout) - mock_mkdir.assert_called_once_with(parents=True, exist_ok=True) - mock_write_bytes.assert_called_once_with(weights_data) - assert f"Model weights downloaded and saved to {test_path}" in caplog.text - else: - error_message = f"Failed to download the weights: HTTP status code {status_code}" - with ( - caplog.at_level(logging.DEBUG), - pytest.raises(_ResNetModel.DownloadingModelWeightsError, match=error_message), - ): - _ResNetModel._download_model_weights(test_path, timeout) - assert "Failed to download the weights: HTTP status code 404" in caplog.text - assert f"Downloading model weights from ulr: {test_url}" in caplog.text - mock_get.assert_called_once_with(test_url, allow_redirects=True, timeout=timeout) diff --git a/tests/extractor_service/unit/schemas_test.py b/tests/extractor_service/unit/schemas_test.py deleted file mode 100644 index 79ed0a1..0000000 --- a/tests/extractor_service/unit/schemas_test.py +++ /dev/null @@ -1,52 +0,0 @@ -from pathlib import Path -from unittest.mock import patch - -import pytest -from pydantic import ValidationError - -from extractor_service.app.schemas import ExtractorConfig, ExtractorStatus, Message - - -def test_config_default(): - with patch.object(Path, "is_dir", return_value=True): - config = ExtractorConfig() - assert config.input_directory == Path("/app/input_directory") - assert config.output_directory == Path("/app/output_directory") - assert config.video_extensions == (".mp4", ".mov", ".webm", ".mkv", ".avi") - assert config.images_extensions == (".jpg", ".jpeg", ".png", ".webp") - assert config.processed_video_prefix == "frames_extracted_" - assert isinstance(config.compering_group_size, int) - assert isinstance(config.batch_size, int) - assert isinstance(config.top_images_percent, float) - assert config.images_output_format == ".jpg" - assert config.weights_directory == Path.home() / ".cache" / "huggingface" - assert config.weights_filename == "weights.h5" - assert config.weights_repo_url == "https://huggingface.co/BKDDFS/nima_weights/resolve/main/" - assert config.all_frames is False - - -def test_request_data_validation_failure_output(): - mock_directory = r"C:\invalid_dir" - with pytest.raises(ValidationError): - ExtractorConfig(input_directory=mock_directory) - - -def test_str_directory(): - mock_directory = str(Path.cwd()) - config = ExtractorConfig(input_directory=mock_directory) - assert isinstance(config.input_directory, Path) - - -def test_extractor_status(): - status = ExtractorStatus(active_extractor=None) - assert status.active_extractor is None - - mock_status = "BestFramesExtractor" - status = ExtractorStatus(active_extractor=mock_status) - assert status.active_extractor == mock_status - - -def test_message(): - mock_massage = "Test message" - msg = Message(message=mock_massage) - assert msg.message == mock_massage diff --git a/tests/extractor_service/unit/top_images_extractor_test.py b/tests/extractor_service/unit/top_images_extractor_test.py deleted file mode 100644 index 6798f18..0000000 --- a/tests/extractor_service/unit/top_images_extractor_test.py +++ /dev/null @@ -1,73 +0,0 @@ -import logging -from unittest.mock import MagicMock, call, patch - -import numpy as np -import pytest - -from extractor_service.app.extractors import TopImagesExtractor -from extractor_service.app.image_evaluators import InceptionResNetNIMA -from extractor_service.app.image_processors import OpenCVImage -from extractor_service.app.video_processors import OpenCVVideo - - -@pytest.fixture() -def extractor(config): - extractor = TopImagesExtractor(config, OpenCVImage, OpenCVVideo, InceptionResNetNIMA) - return extractor - - -@patch.object(OpenCVImage, "read_image") -@patch.object(TopImagesExtractor, "_normalize_images") -def test_process_with_images(mock_normalize, mock_read_image, extractor, caplog, config): - # Setup - test_images = [ - "/fake/directory/image1.jpg", - "/fake/directory/image2.jpg", - "/fake/directory/image3.jpg", - ] - test_ratings = [10, 20, 30] - best_image = ["image3.jpg"] - - # Mock internal methods - extractor._list_input_directory_files = MagicMock(return_value=test_images) - extractor._get_image_evaluator = MagicMock() - extractor._evaluate_images = MagicMock(return_value=test_ratings) - extractor._get_top_percent_images = MagicMock(return_value=best_image) - extractor._save_images = MagicMock() - extractor._signal_readiness_for_shutdown = MagicMock() - - # Call - with caplog.at_level(logging.INFO): - extractor.process() - - # Check that the internal methods were called as expected - extractor._list_input_directory_files.assert_called_once_with(extractor._config.images_extensions) - mock_read_image.assert_has_calls([call(path) for path in test_images]) - mock_normalize.assert_called_once_with([mock_read_image.return_value] * 3, extractor._config.target_image_size) - extractor._evaluate_images.assert_called_once_with(mock_normalize.return_value) - extractor._get_top_percent_images.assert_called_once_with( - [mock_read_image.return_value] * 3, - test_ratings, - extractor._config.top_images_percent, - ) - extractor._save_images.assert_called_once_with(best_image) - - # Check logging - expected_massage = ( - f"Extraction process finished. All top images extracted from directory: {config.input_directory}." - ) - assert expected_massage in caplog.text - extractor._signal_readiness_for_shutdown.assert_called_once() - - -def test_get_top_percent_images(extractor, caplog): - images = [MagicMock(spec=np.ndarray) for _ in range(5)] - ratings = np.array([55, 70, 85, 40, 20]) - top_percent = 70 - expected_images = [images[1], images[2]] - - with caplog.at_level(logging.INFO): - selected_images = extractor._get_top_percent_images(images, ratings, top_percent) - - assert selected_images == expected_images, "The selected images do not match the expected top percent images." - assert f"Top images selected({len(expected_images)})." in caplog.text diff --git a/tests/extractor_service/unit/video_processors_test.py b/tests/extractor_service/unit/video_processors_test.py deleted file mode 100644 index 35eba64..0000000 --- a/tests/extractor_service/unit/video_processors_test.py +++ /dev/null @@ -1,164 +0,0 @@ -import logging -from pathlib import Path -from unittest.mock import MagicMock, patch - -import cv2 -import pytest - -from extractor_service.app.video_processors import OpenCVVideo - -TOTAL_FRAMES_ATTR = "total frames" - - -@patch.object(cv2, "VideoCapture") -def test_get_video_capture_success(mock_cap): - test_path = MagicMock(spec=Path) - mock_video = MagicMock() - mock_video.isOpened.return_value = True - mock_cap.return_value = mock_video - - with OpenCVVideo._video_capture(test_path) as video: - assert video.isOpened() is True - - mock_video.release.assert_called_once() - - -@patch.object(cv2, "VideoCapture") -def test_get_video_capture_failure(mock_cap): - test_path = MagicMock(spec=Path) - mock_video = MagicMock() - mock_video.isOpened.return_value = False - mock_cap.return_value = mock_video - - with pytest.raises(OpenCVVideo.CantOpenVideoCapture): - with OpenCVVideo._video_capture(test_path): - # No additional operations are needed here, we are just testing the exception - pass - - mock_video.release.assert_called_once() - - -@pytest.fixture -def mock_video(): - video = MagicMock() - video.get.return_value = 30 - video.read.side_effect = [ - (True, "frame1"), - (True, "frame2"), - (True, "frame3"), - (False, None), - ] - return video - - -@pytest.mark.parametrize( - "batch_size, expected_num_batches", - [ - (1, 3), - (2, 2), - (3, 1), - ], -) -@patch.object(OpenCVVideo, "_video_capture") -@patch.object(OpenCVVideo, "_get_video_attribute") -@patch.object(OpenCVVideo, "_read_next_frame") -def test_get_next_video_frames( - mock_read, - mock_get_attribute, - mock_video_cap, - batch_size, - expected_num_batches, - caplog, -): - frame_rate_attr = "frame rate" - video_path = MagicMock() - mock_video = MagicMock() - frames_number = 3 - mock_get_attribute.side_effect = ( - lambda video, attribute_id, value_name: frames_number if TOTAL_FRAMES_ATTR in value_name else 1 - ) - mock_video_cap.return_value.__enter__.return_value = mock_video - mock_read.side_effect = lambda video, idx: f"frame{idx // 30}" - - with caplog.at_level(logging.DEBUG): - frames_generator = OpenCVVideo.get_next_frames(video_path, batch_size) - batches = list(frames_generator) - - assert len(batches) == expected_num_batches, "Number of batches does not match expected" - for batch in batches: - assert len(batch) <= batch_size, "Batch size is larger than expected" - assert mock_video_cap.called - assert mock_get_attribute.call_count == 2 - mock_get_attribute.assert_any_call(mock_video, cv2.CAP_PROP_FPS, frame_rate_attr) - mock_get_attribute.assert_any_call(mock_video, cv2.CAP_PROP_FRAME_COUNT, TOTAL_FRAMES_ATTR) - assert mock_read.call_count == 3 - - assert "Frame appended to frames batch." in caplog.text - assert "Got full frames batch." in caplog.text - if batch_size % frames_number and frames_number > expected_num_batches * batch_size: - assert "Returning last frames batch." in caplog.text - - -@pytest.mark.parametrize("read_return", ((True, "frame"), (False, None))) -@patch.object(OpenCVVideo, "_check_video_capture") -def test_read_next_frame(mock_check_cap, read_return, caplog): - mock_cap = MagicMock(spec=cv2.VideoCapture) - mock_cap.read = MagicMock(return_value=read_return) - test_frame_index = 1 - with caplog.at_level(logging.WARNING): - result = OpenCVVideo._read_next_frame(mock_cap, test_frame_index) - - mock_check_cap.assert_called_once_with(mock_cap) - mock_cap.set.assert_called_once_with(cv2.CAP_PROP_POS_FRAMES, test_frame_index) - mock_cap.read.assert_called_once() - if read_return[0] is True: - assert result == "frame" - else: - assert result is None - assert f"Couldn't read frame with index: {test_frame_index}" in caplog.text - - -@patch.object(OpenCVVideo, "_check_video_capture") -def test_get_video_attribute(mock_check_cap, caplog): - mock_cap = MagicMock(spec=cv2.VideoCapture) - attribute_id = cv2.CAP_PROP_FRAME_COUNT - value_name = TOTAL_FRAMES_ATTR - total_frames = 24.6 - mock_cap.get.return_value = total_frames - - with caplog.at_level(logging.DEBUG): - result = OpenCVVideo._get_video_attribute(mock_cap, attribute_id, value_name) - - mock_check_cap.assert_called_once_with(mock_cap) - assert f"Got input video {value_name}: {total_frames}" in caplog.text - assert result == 25 - - -@patch.object(OpenCVVideo, "_check_video_capture") -def test_get_video_attribute_invalid(mock_check_cap, caplog): - mock_cap = MagicMock(spec=cv2.VideoCapture) - attribute_id = cv2.CAP_PROP_FRAME_COUNT - value_name = TOTAL_FRAMES_ATTR - total_frames = -24.6 - mock_cap.get.return_value = total_frames - expected_message = f"Invalid {value_name} retrieved: {total_frames}." - - with ( - caplog.at_level(logging.ERROR), - pytest.raises(ValueError, match=expected_message), - ): - OpenCVVideo._get_video_attribute(mock_cap, attribute_id, value_name) - - mock_check_cap.assert_called_once_with(mock_cap) - assert expected_message in caplog.text - - -def test_check_video_capture(caplog): - mock_cap = MagicMock(spec=cv2.VideoCapture) - mock_cap.isOpened.return_value = False - error_message = "Invalid video capture object or object not opened. Probably video capture closed at some point." - - with caplog.at_level(logging.ERROR), pytest.raises(ValueError, match=error_message): - OpenCVVideo._check_video_capture(mock_cap) - - assert error_message in caplog.text diff --git a/extractor_service/app/__init__.py b/tests/integration/__init__.py similarity index 100% rename from extractor_service/app/__init__.py rename to tests/integration/__init__.py diff --git a/tests/extractor_service/integration/best_frames_extrator_test.py b/tests/integration/best_frames_extrator_test.py similarity index 65% rename from tests/extractor_service/integration/best_frames_extrator_test.py rename to tests/integration/best_frames_extrator_test.py index 1c78d2f..9d24720 100644 --- a/tests/extractor_service/integration/best_frames_extrator_test.py +++ b/tests/integration/best_frames_extrator_test.py @@ -1,7 +1,5 @@ -# import pytest - -from extractor_service.app.extractors import BestFramesExtractor -from extractor_service.app.schemas import ExtractorConfig +from perfectframe.extractors import BestFramesExtractor +from perfectframe.schemas import ExtractorConfig # @pytest.mark.skip(reason="Test time-consuming and dependent on hardware performance") @@ -18,7 +16,11 @@ def test_best_frames_extractor(setup_best_frames_extractor_env, dependencies): extractor.process() found_best_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.name.endswith(".jpg") + file + for file in output_directory.iterdir() + if file.name.startswith("image_") and file.name.endswith(".jpg") ] - assert len(found_best_frame_files) > 0, "No files meeting the criteria were found in output_directory" + assert len(found_best_frame_files) > 0, ( + "No files meeting the criteria were found in output_directory" + ) assert expected_video_path.is_file(), "Video file name was not changed as expected" diff --git a/tests/extractor_service/integration/conftest.py b/tests/integration/conftest.py similarity index 55% rename from tests/extractor_service/integration/conftest.py rename to tests/integration/conftest.py index 40ad66f..7c8cb21 100644 --- a/tests/extractor_service/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,11 +1,13 @@ import pytest -from extractor_service.app.extractors import BestFramesExtractor +from perfectframe.extractors import BestFramesExtractor from tests.common import ( best_frames_dir, + config, + dependencies, + extractor, files_dir, setup_best_frames_extractor_env, setup_top_images_extractor_env, top_images_dir, ) -from tests.extractor_service.common import config, dependencies, extractor diff --git a/tests/extractor_service/integration/extractor_and_evaluator_integration_test.py b/tests/integration/extractor_and_evaluator_integration_test.py similarity index 69% rename from tests/extractor_service/integration/extractor_and_evaluator_integration_test.py rename to tests/integration/extractor_and_evaluator_integration_test.py index 3b8b5c1..25a07bd 100644 --- a/tests/extractor_service/integration/extractor_and_evaluator_integration_test.py +++ b/tests/integration/extractor_and_evaluator_integration_test.py @@ -1,8 +1,9 @@ import numpy as np +import onnxruntime as ort import pytest -from tensorflow.keras import Model -from extractor_service.app.image_evaluators import InceptionResNetNIMA +from perfectframe.image_evaluators import NIMAEvaluator +from perfectframe.schemas import ImageExtension @pytest.mark.order(1) # this test must be first because of hugging face limitations @@ -14,16 +15,16 @@ def test_get_image_evaluator_download_weights_and_create_model(extractor, config evaluator = extractor._get_image_evaluator() - assert isinstance(evaluator, InceptionResNetNIMA) - assert isinstance(evaluator._model, Model) + assert isinstance(evaluator, NIMAEvaluator) + assert isinstance(evaluator._session, ort.InferenceSession) assert weights_path.exists() def test_evaluate_images(extractor, config): - files = extractor._list_input_directory_files(config.images_extensions) + files = extractor._list_input_directory_files(ImageExtension) images = extractor._read_images(files) extractor._get_image_evaluator() - normalized_images = extractor._normalize_images(images, config.target_image_size) + normalized_images = extractor._normalize_images(images, config.input_size) result = extractor._evaluate_images(normalized_images) assert isinstance(result, np.ndarray) diff --git a/tests/extractor_service/integration/extractor_and_image_processor_integration_test.py b/tests/integration/extractor_and_image_processor_integration_test.py similarity index 67% rename from tests/extractor_service/integration/extractor_and_image_processor_integration_test.py rename to tests/integration/extractor_and_image_processor_integration_test.py index f7e3721..7a50761 100644 --- a/tests/extractor_service/integration/extractor_and_image_processor_integration_test.py +++ b/tests/integration/extractor_and_image_processor_integration_test.py @@ -2,16 +2,18 @@ import numpy as np +from perfectframe.schemas import ImageExtension -def test_list_directory_files(config, extractor): - files = extractor._list_input_directory_files(config.images_extensions) + +def test_list_directory_files(extractor): + files = extractor._list_input_directory_files(ImageExtension) assert isinstance(files, list) for file in files: assert isinstance(file, Path) -def test_read_images(config, extractor): - files = extractor._list_input_directory_files(config.images_extensions) +def test_read_images(extractor): + files = extractor._list_input_directory_files(ImageExtension) images = extractor._read_images(files) assert isinstance(images, list) for image in images: @@ -23,7 +25,7 @@ def test_save_images(extractor, config, setup_best_frames_extractor_env): files = list(config.output_directory.iterdir()) assert not files - files = extractor._list_input_directory_files(config.images_extensions) + files = extractor._list_input_directory_files(ImageExtension) images = extractor._read_images(files) extractor._save_images(images) diff --git a/tests/extractor_service/integration/extractor_and_video_processor_integration_test.py b/tests/integration/extractor_and_video_processor_integration_test.py similarity index 62% rename from tests/extractor_service/integration/extractor_and_video_processor_integration_test.py rename to tests/integration/extractor_and_video_processor_integration_test.py index 9cd33e2..7c5185e 100644 --- a/tests/extractor_service/integration/extractor_and_video_processor_integration_test.py +++ b/tests/integration/extractor_and_video_processor_integration_test.py @@ -1,8 +1,15 @@ -def test_extract_best_frames(extractor, config, setup_best_frames_extractor_env): +from perfectframe.schemas import VideoExtension + + +def test_extract_best_frames(extractor, setup_best_frames_extractor_env): input_dir, output_dir, _ = setup_best_frames_extractor_env entries = list(input_dir.iterdir()) assert len(entries) > 0, "None entries in files_dir found" - videos = [entry for entry in entries if entry.is_file() and entry.suffix in config.video_extensions] + videos = [ + entry + for entry in entries + if entry.is_file() and entry.suffix in [e.value for e in VideoExtension] + ] assert len(list(videos)) > 0, "None videos in files_dir found" assert not any(output_dir.iterdir()), "Output dir has entries before test" diff --git a/tests/integration/manager_and_fastapi_integration_test.py b/tests/integration/manager_and_fastapi_integration_test.py new file mode 100644 index 0000000..8a95fd4 --- /dev/null +++ b/tests/integration/manager_and_fastapi_integration_test.py @@ -0,0 +1,19 @@ +from fastapi import BackgroundTasks +from starlette.testclient import TestClient + +from perfectframe.app import app +from perfectframe.extractor_manager import ExtractorManager +from perfectframe.schemas import ExtractorName, Message + +client = TestClient(app) + + +def test_extractor_start_and_stop(dependencies): + extractor_name = ExtractorName.BEST_FRAMES + background_tasks = BackgroundTasks() + + response = ExtractorManager.start_extractor(extractor_name, background_tasks, dependencies) + + assert response == Message(message=f"'{extractor_name.value}' started.") + assert ExtractorManager.get_active_extractor() == extractor_name + ExtractorManager._active_extractor = None diff --git a/tests/extractor_service/integration/top_images_extractor_test.py b/tests/integration/top_images_extractor_test.py similarity index 60% rename from tests/extractor_service/integration/top_images_extractor_test.py rename to tests/integration/top_images_extractor_test.py index aaed2f5..02a8a95 100644 --- a/tests/extractor_service/integration/top_images_extractor_test.py +++ b/tests/integration/top_images_extractor_test.py @@ -1,5 +1,5 @@ -from extractor_service.app.extractors import TopImagesExtractor -from extractor_service.app.schemas import ExtractorConfig +from perfectframe.extractors import TopImagesExtractor +from perfectframe.schemas import ExtractorConfig # @pytest.mark.skip(reason="Test time-consuming and dependent on hardware performance") @@ -16,6 +16,10 @@ def test_top_frames_extractor(setup_top_images_extractor_env, dependencies): selector.process() found_top_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.name.endswith(".jpg") + file + for file in output_directory.iterdir() + if file.name.startswith("image_") and file.name.endswith(".jpg") ] - assert len(found_top_frame_files) > 0, "No files meeting the criteria were found in output_directory" + assert len(found_top_frame_files) > 0, ( + "No files meeting the criteria were found in output_directory" + ) diff --git a/tests/service_manager/__init__.py b/tests/service_manager/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/service_manager/e2e/__init__.py b/tests/service_manager/e2e/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/service_manager/e2e/best_frames_extractor_test.py b/tests/service_manager/e2e/best_frames_extractor_test.py deleted file mode 100644 index ff96bb3..0000000 --- a/tests/service_manager/e2e/best_frames_extractor_test.py +++ /dev/null @@ -1,29 +0,0 @@ -import os -import subprocess -import sys - -import pytest - - -@pytest.mark.skipif("CI" in os.environ, reason="Test skipped in GitHub Actions.") -def test_best_frames_extractor(setup_best_frames_extractor_env, start_script_path): - input_directory, output_directory, expected_video_path = setup_best_frames_extractor_env - command = [ - sys.executable, - str(start_script_path), - "best_frames_extractor", - "--input_dir", - str(input_directory), - "--output_dir", - str(output_directory), - "--build", - "--cpu", - ] - - subprocess.run(command) - - found_best_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.suffix == ".jpg" - ] - assert len(found_best_frame_files) > 0, "No files meeting the criteria were found in output_directory" - assert expected_video_path.is_file(), "Video file name was not changed as expected" diff --git a/tests/service_manager/e2e/conftest.py b/tests/service_manager/e2e/conftest.py deleted file mode 100644 index 4380589..0000000 --- a/tests/service_manager/e2e/conftest.py +++ /dev/null @@ -1,19 +0,0 @@ -from pathlib import Path - -import pytest - -from tests.common import ( - best_frames_dir, - files_dir, - setup_best_frames_extractor_env, - setup_top_images_extractor_env, - top_images_dir, -) - - -@pytest.fixture(scope="module") -def start_script_path(): - base_path = Path(__file__).parent.parent.parent.parent - print(base_path) - start_script_path = base_path / "start.py" - return start_script_path diff --git a/tests/service_manager/e2e/top_images_extractor_test.py b/tests/service_manager/e2e/top_images_extractor_test.py deleted file mode 100644 index 70aee31..0000000 --- a/tests/service_manager/e2e/top_images_extractor_test.py +++ /dev/null @@ -1,28 +0,0 @@ -import os -import subprocess -import sys - -import pytest - - -@pytest.mark.skipif("CI" in os.environ, reason="Test skipped in GitHub Actions.") -def test_top_images_extractor(setup_top_images_extractor_env, start_script_path): - input_directory, output_directory = setup_top_images_extractor_env - command = [ - sys.executable, - str(start_script_path), - "top_images_extractor", - "--input_dir", - input_directory, - "--output_dir", - output_directory, - "--build", - "--cpu", - ] - - subprocess.run(command) - - found_top_frame_files = [ - file for file in output_directory.iterdir() if file.name.startswith("image_") and file.name.endswith(".jpg") - ] - assert len(found_top_frame_files) > 0, "No files meeting the criteria were found in output_directory" diff --git a/tests/service_manager/integration/__init__.py b/tests/service_manager/integration/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/service_manager/integration/conftest.py b/tests/service_manager/integration/conftest.py deleted file mode 100644 index 787f71c..0000000 --- a/tests/service_manager/integration/conftest.py +++ /dev/null @@ -1,30 +0,0 @@ -import docker -import pytest - -from config import Config -from service_manager.docker_manager import DockerManager - - -@pytest.fixture(scope="package") -def config(): - config = Config() - return config - - -@pytest.fixture(scope="module") -def manager(config): - manager = DockerManager( - config.service_name, - config.input_directory, - config.output_directory, - config.port, - False, - True, - ) - return manager - - -@pytest.fixture -def client(): - client = docker.from_env() - return client diff --git a/tests/service_manager/integration/docker_container_test.py b/tests/service_manager/integration/docker_container_test.py deleted file mode 100644 index 248dd02..0000000 --- a/tests/service_manager/integration/docker_container_test.py +++ /dev/null @@ -1,101 +0,0 @@ -import docker -import pytest - -COMMAND = "sleep 300" - - -@pytest.fixture -def image(client, manager, config): - image_name = "image_name" - image = client.images.pull("busybox") - image.tag(image_name) - manager._image_name = image_name - yield image - client.images.remove(image_name, force=True) - - -@pytest.fixture -def cleanup_container(client, manager, config): - try: - container = client.containers.get(manager._container_name) - container.remove(force=True) - except docker.errors.NotFound: - pass - yield - try: - container = client.containers.get(manager._container_name) - container.remove(force=True) - except docker.errors.NotFound: - pass - - -def test_run_container(manager, config, client, cleanup_container, image): - manager._run_container(config.port, config.volume_input_directory, config.volume_output_directory) - - container = client.containers.get(manager._container_name) - container.reload() - assert container.status == "running" or container.status == "restarting" - assert container.attrs["Config"]["Image"] == manager.image_name - port_binding = container.attrs["HostConfig"]["PortBindings"] - assert "8100/tcp" in port_binding - assert port_binding["8100/tcp"][0]["HostPort"] == str(config.port) - assert f"{manager._input_directory}:{config.volume_input_directory}" in container.attrs["HostConfig"]["Binds"] - assert f"{manager._output_directory}:{config.volume_output_directory}" in container.attrs["HostConfig"]["Binds"] - - -def test_start_container(manager, cleanup_container, client, image): - container = client.containers.create(image, command=COMMAND, detach=True, name=manager._container_name) - assert container.status == "created" - manager._start_container() - container.reload() - assert container.status == "running" - - -def test_stop_container(manager, cleanup_container, client, image): - container = client.containers.create(image, command=COMMAND, detach=True, name=manager._container_name) - assert container.status == "created" - container.start() - container.reload() - assert container.status == "running" - manager._stop_container() - container.reload() - assert container.status == "exited" - - -def test_delete_container(manager, cleanup_container, client, image): - container = client.containers.create(image, command=COMMAND, detach=True, name=manager._container_name) - assert container.status == "created" - manager._delete_container() - with pytest.raises(docker.errors.NotFound): - client.containers.get(manager._container_name) - - -def test_container_status(manager, cleanup_container, client, image): - container = client.containers.create(image, command=COMMAND, detach=True, name=manager._container_name) - assert container.status == "created" - assert manager.container_status == "created" - container.start() - container.reload() - assert container.status == "running" - assert manager.container_status == "running" - - -def test_run_log_process(manager, cleanup_container, client, image): - client.containers.run( - image, - command="sh -c 'while true; do date; done'", - detach=True, - name=manager._container_name, - ) - log_process = manager._run_log_process() - assert log_process.poll() is None, "Log process should be running" - output = [] - try: - for _ in range(5): - line = log_process.stdout.readline() - output.append(line) - assert line, "Log line should not be empty" - finally: - log_process.terminate() - log_process.wait() - assert len(output) >= 5, "Should have read at least 5 lines of logs" diff --git a/tests/service_manager/integration/docker_image_test.py b/tests/service_manager/integration/docker_image_test.py deleted file mode 100644 index 7d387eb..0000000 --- a/tests/service_manager/integration/docker_image_test.py +++ /dev/null @@ -1,37 +0,0 @@ -import docker -import pytest - -from config import Config - - -@pytest.fixture -def cleanup_docker_image(manager, client): - image_name = manager.image_name - try: - client.images.remove(image_name, force=True) - except docker.errors.ImageNotFound: - pass - - yield - - try: - client.images.remove(image_name, force=True) - except docker.errors.ImageNotFound: - pass - - -def test_build_image_and_docker_image_existence(cleanup_docker_image, manager, client): - manager.build_image(Config.dockerfile) - - try: - client.images.get(manager.image_name) - except docker.errors.ImageNotFound: - pytest.fail("Image was not built.") - - result = manager.docker_image_existence - assert result is True - - -def test_docker_image_existence(cleanup_docker_image, manager): - result = manager.docker_image_existence - assert result is False diff --git a/tests/service_manager/integration/service_initializer_test.py b/tests/service_manager/integration/service_initializer_test.py deleted file mode 100644 index e9ca8f6..0000000 --- a/tests/service_manager/integration/service_initializer_test.py +++ /dev/null @@ -1,20 +0,0 @@ -import logging -from pathlib import Path - -import pytest - -from service_manager.service_initializer import ServiceInitializer - - -def test_directory_check_valid(tmp_path): - assert ServiceInitializer._check_directory(str(tmp_path)) == tmp_path - - -def test_check_invalid_directory(caplog): - invalid_directory = Path("/invalid/input") - error_massage = f"Invalid directory path: {str(invalid_directory)}" - - with pytest.raises(NotADirectoryError), caplog.at_level(logging.ERROR): - ServiceInitializer._check_directory(str(invalid_directory)) - - assert error_massage in caplog.text, "Invalid logging." diff --git a/tests/service_manager/unit/__init__.py b/tests/service_manager/unit/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/service_manager/unit/conftest.py b/tests/service_manager/unit/conftest.py deleted file mode 100644 index fd0aa1b..0000000 --- a/tests/service_manager/unit/conftest.py +++ /dev/null @@ -1,8 +0,0 @@ -import pytest - -from config import Config - - -@pytest.fixture(scope="package") -def config(): - return Config() diff --git a/tests/service_manager/unit/docker_manager_test.py b/tests/service_manager/unit/docker_manager_test.py deleted file mode 100644 index 27fe9a7..0000000 --- a/tests/service_manager/unit/docker_manager_test.py +++ /dev/null @@ -1,327 +0,0 @@ -import logging -import subprocess -from unittest.mock import MagicMock, PropertyMock, call, patch - -import pytest - -from service_manager.docker_manager import DockerManager - -LOG_LINE_1 = "log line 1\n" -LOG_LINE_2 = "log line 2\n" - - -def test_docker_manager_init(caplog, config): - image_name = f"{config.service_name}_image" - expected_logs = ( - f"container_name: {config.service_name}", - f"image_name: {image_name}", - f"Input directory from user: {config.input_directory}", - f"Output directory from user: {config.output_directory}", - f"Port from user: {config.port}", - "Force build: False", - "CPU only: False", - ) - - with caplog.at_level(logging.DEBUG): - docker = DockerManager( - config.service_name, - config.input_directory, - config.output_directory, - config.port, - False, - False, - ) - - assert docker._container_name == config.service_name - assert docker._image_name == image_name - assert docker._input_directory == config.input_directory - assert docker._output_directory == config.output_directory - assert docker._port == config.port - assert docker._force_build is False - assert docker._cpu_only is False - for message in expected_logs: - assert message in caplog.text, f"Expected phrase not found in logs: {message}" - - -@pytest.fixture(scope="function") -def docker(config): - docker = DockerManager( - config.service_name, - config.input_directory, - config.output_directory, - config.port, - False, - False, - ) - return docker - - -@pytest.fixture(name="mock_run") -def mock_subprocess_run(): - with patch("service_manager.docker_manager.subprocess.run") as mock_run: - yield mock_run - - -@pytest.mark.parametrize("mock_image, is_exists", (("some_image", True), ("", False))) -def test_check_image_exists(mock_image, is_exists, docker, mock_run): - expected_command = ["docker", "images", "-q", docker._image_name] - - mock_run.return_value = MagicMock(stdout=mock_image) - assert docker.docker_image_existence is is_exists - mock_run.assert_called_with(expected_command, capture_output=True, text=True, check=True) - - -@patch.object(DockerManager, "_check_image_exists") -def test_build_image(mock_check_image_exists, docker, mock_run, caplog, config): - mock_check_image_exists.return_value = False - expected_command = ["docker", "build", "-t", docker._image_name, config.dockerfile] - - docker.build_image(config.dockerfile) - - mock_run.assert_called_once_with(expected_command, check=True) - - -@patch.object(DockerManager, "_check_image_exists") -def test_build_image_when_image_exists_and_not_force_build(mock_check_image_exists, docker, mock_run, caplog, config): - mock_check_image_exists.return_value = True - - with caplog.at_level(logging.INFO): - docker.build_image(config.dockerfile) - - mock_run.assert_not_called() - assert "Image is already created. Using existing one." in caplog.text - - -@patch.object(DockerManager, "_check_image_exists") -def test_build_image_when_image_exists_and_force_build(mock_check_image_exists, docker, mock_run, caplog, config): - mock_check_image_exists.return_value = True - docker._force_build = True - - with caplog.at_level(logging.INFO): - docker.build_image(config.dockerfile) - - mock_run.assert_called() - assert "Image is already created. Using existing one." not in caplog.text - assert "Building Docker image..." in caplog.text - - -@pytest.mark.parametrize("code, output, status", ((1, "", None), (0, "'running'", "running"))) -def test_container_status(code, output, status, docker, mock_run): - command_output = MagicMock() - command_output.returncode = code - command_output.stdout = output - mock_run.return_value = command_output - expected_command = [ - "docker", - "inspect", - "--format='{{.State.Status}}'", - docker._container_name, - ] - - result_status = docker.container_status - - mock_run.assert_called_once_with(expected_command, capture_output=True, text=True, check=False) - assert status == result_status - - -@pytest.mark.parametrize("build", (True, False)) -@pytest.mark.parametrize("status", ("exited", None, "running", "dead", "created")) -@patch.object(DockerManager, "_stop_container") -@patch.object(DockerManager, "_delete_container") -@patch.object(DockerManager, "_run_container") -@patch.object(DockerManager, "_start_container") -@patch.object(DockerManager, "container_status", new_callable=PropertyMock) -def test_deploy_container( - mock_status, - mock_start, - mock_run, - mock_delete, - mock_stop, - status, - build, - docker, - caplog, - config, -): - container_input_directory = "/container_input_directory/" - container_output_directory = "/container_output_directory/" - mock_status.return_value = status - deploy_container_args = ( - config.port, - container_input_directory, - container_output_directory, - ) - docker._force_build = build - - with caplog.at_level(logging.INFO): - docker.deploy_container(*deploy_container_args) - - if status is None: - assert "No existing container found. Running a new container." in caplog.text - mock_start.assert_not_called() - mock_stop.assert_not_called() - mock_delete.assert_not_called() - mock_run.assert_called_once_with(*deploy_container_args) - elif build: - assert "Force rebuild initiated." in caplog.text - if status in ["running", "paused"]: - mock_stop.assert_called_once() - else: - mock_stop.assert_not_called() - mock_delete.assert_called_once() - mock_run.assert_called_once_with(*deploy_container_args) - elif status in ["exited", "created"]: - mock_start.assert_called_once() - mock_run.assert_not_called() - elif status == "running": - assert "Container is already running." in caplog.text - mock_start.assert_not_called() - mock_run.assert_not_called() - else: - assert "Container in unsupported status: dead. Fix container on your own." in caplog.text - mock_start.assert_not_called() - mock_run.assert_not_called() - - -def test_start_container_success(docker, mock_run, caplog): - mock_subprocess_run.return_value = MagicMock() - expected_command = ["docker", "start", docker._container_name] - with caplog.at_level(logging.INFO): - docker._start_container() - - mock_run.assert_called_once_with(expected_command, check=True) - assert "Starting the existing container..." in caplog.text - - -@pytest.mark.parametrize("cpu", (True, False)) -def test_run_container(docker, mock_run, config, caplog, cpu): - expected_command = [ - "docker", - "run", - "--name", - docker._container_name, - "--restart", - "unless-stopped", - "-d", - "-p", - f"{docker._port}:{config.port}", - "-v", - f"{docker._input_directory}:{config.input_directory}", - "-v", - f"{docker._output_directory}:{config.input_directory}", - ] - if not cpu: - expected_command.extend(["--gpus", "all"]) - expected_command.append(docker._image_name) - try: - if cpu: - docker._cpu_only = True - with caplog.at_level(logging.INFO): - docker._run_container(config.port, config.input_directory, config.input_directory) - finally: - docker._cpu_only = False - - mock_run.assert_called_once_with(expected_command, check=True) - assert "Running a new container..." in caplog.text - - -@patch.object(subprocess, "Popen", autospec=True) -def test_run_log_process(mock_popen, docker, caplog): - command = ["docker", "logs", "-f", "--since", "1s", docker._container_name] - - with caplog.at_level(logging.INFO): - result = docker._run_log_process() - - mock_popen.assert_called_once_with( - command, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - encoding="utf-8", - ) - assert result - assert f"Following logs for {docker._container_name}" in caplog.text - - -def test_stop_container_success(docker, mock_run, caplog): - expected_command = ["docker", "stop", docker._container_name] - - with caplog.at_level(logging.INFO): - docker._stop_container() - - mock_run.assert_called_once_with(expected_command, check=True, capture_output=True) - assert f"Stopping container {docker._container_name}..." in caplog.text - assert "Container stopped." in caplog.text - - -def test_delete_container_success(docker, mock_run, caplog): - expected_command = ["docker", "rm", docker._container_name] - - with caplog.at_level(logging.INFO): - docker._delete_container() - - mock_run.assert_called_once_with(expected_command, check=True, capture_output=True) - assert f"Deleting container {docker._container_name}..." in caplog.text - assert "Container deleted." in caplog.text - - -@patch("service_manager.docker_manager.sys.stdout.write") -@patch.object(DockerManager, "_run_log_process") -@patch.object(DockerManager, "_stop_container") -def test_follow_container_logs_stopped_by_user(mock_stop, mock_run_log, mock_stdout, docker, caplog): - mock_process = MagicMock() - mock_process.stdout.readline.side_effect = [ - LOG_LINE_1, - LOG_LINE_2, - KeyboardInterrupt(), - ] - mock_run_log.return_value = mock_process - mock_process.terminate = MagicMock() - mock_process.wait = MagicMock() - - with ( - caplog.at_level(logging.INFO), - patch.object(subprocess, "Popen", autospec=True), - ): - docker.follow_container_logs() - - mock_run_log.assert_called_once() - mock_process.terminate.assert_called_once() - mock_process.wait.assert_called_once() - mock_stop.assert_called_once() - - calls = [call(LOG_LINE_1), call(LOG_LINE_2)] - mock_stdout.assert_has_calls(calls, any_order=True) - assert "Process stopped by user." in caplog.text - assert "Following container logs stopped." in caplog.text - - -@patch("service_manager.docker_manager.sys.stdout.write") -@patch.object(DockerManager, "_run_log_process") -@patch.object(DockerManager, "_stop_container") -def test_follow_container_logs_stopped_automatically(mock_stop, mock_run_log, mock_stdout, docker, caplog): - mock_process = MagicMock() - mock_process.stdout.readline.side_effect = [ - LOG_LINE_1, - LOG_LINE_2, - DockerManager.ServiceShutdownSignal(), - ] - mock_run_log.return_value = mock_process - mock_process.terminate = MagicMock() - mock_process.wait = MagicMock() - - with ( - caplog.at_level(logging.INFO), - patch.object(subprocess, "Popen", autospec=True), - ): - docker.follow_container_logs() - - mock_run_log.assert_called_once() - mock_process.terminate.assert_called_once() - mock_process.wait.assert_called_once() - mock_stop.assert_called_once() - - calls = [call(LOG_LINE_1), call(LOG_LINE_2)] - mock_stdout.assert_has_calls(calls, any_order=True) - assert "Service has signaled readiness for shutdown." in caplog.text - assert "Following container logs stopped." in caplog.text diff --git a/tests/service_manager/unit/service_initializer_test.py b/tests/service_manager/unit/service_initializer_test.py deleted file mode 100644 index 0a45d7b..0000000 --- a/tests/service_manager/unit/service_initializer_test.py +++ /dev/null @@ -1,158 +0,0 @@ -import argparse -import json -import logging -import time -import urllib.request -from http.client import RemoteDisconnected -from pathlib import Path -from unittest import mock -from unittest.mock import MagicMock, patch - -import pytest - -from service_manager import service_initializer -from service_manager.service_initializer import ServiceInitializer - -ALL_FRAMES = False - - -@pytest.fixture -def service(config): - user_input = MagicMock( - spec=argparse.Namespace, - extractor_name=config.service_name, - input_dir=config.input_directory, - output_dir=config.output_directory, - port=config.port, - all_frames=ALL_FRAMES, - ) - with patch.object(ServiceInitializer, "_check_directory"): - initializer = ServiceInitializer(user_input) - return initializer - - -@pytest.mark.parametrize( - "arg_set", - ( - { - "extractor_name": "best_frames_extractor", - "input": "/valid/input", - "output": "/valid/output", - "port": 8000, - }, - { - "extractor_name": "top_images_extractor", - "input": "/another/input", - "output": "/another/output", - "port": 9000, - }, - ), -) -@patch.object(ServiceInitializer, "_check_directory") -def test_start_various_args(mock_check_directory, arg_set): - user_input = MagicMock( - spec=argparse.Namespace, - extractor_name=arg_set["extractor_name"], - input_dir=arg_set["input"], - output_dir=arg_set["output"], - port=arg_set["port"], - all_frames=ALL_FRAMES, - ) - mock_check_directory.side_effect = lambda x: x - - service = ServiceInitializer(user_input) - - assert service._extractor_name == arg_set["extractor_name"] - assert service._input_directory == arg_set["input"] - assert service._output_directory == arg_set["output"] - assert service._port == arg_set["port"] - assert service._all_frames == ALL_FRAMES - mock_check_directory.assert_any_call(arg_set["input"]) - mock_check_directory.assert_any_call(arg_set["output"]) - - -def test_check_valid_directory(): - valid_directory = "/valid/input" - - with patch("pathlib.Path.is_dir"): - result = ServiceInitializer._check_directory(valid_directory) - - assert result - assert isinstance(result, Path) - - -@patch.object(time, "time") -def test_run_extractor_post_request(mock_time, service): - test_url = f"http://localhost:{service._port}/v2/extractors/{service._extractor_name}" - test_method = "POST" - start_time = 100 - mock_time.side_effect = [start_time, start_time + 1, start_time + 2, start_time + 3] - mock_try = MagicMock(side_effect=[False, False, True]) - service._try_to_run_extractor = mock_try - - service.run_extractor() - - assert mock_try.call_count == 3 - mock_try.assert_any_call(mock.ANY, start_time) - last_call = mock_try.call_args - request_obj = last_call[0][0] - assert request_obj.method == test_method - assert request_obj.full_url == test_url - request_data = json.loads(request_obj.data.decode("utf-8")) - assert request_data["all_frames"] is False - - -@pytest.fixture -def mock_urlopen(): - with patch.object(service_initializer, "urlopen") as mock_urlopen: - yield mock_urlopen - - -@pytest.fixture(scope="module") -def mock_request(): - return MagicMock(spec=urllib.request.Request) - - -def test_try_to_run_extractor_success(mock_urlopen, service, caplog, mock_request): - mock_response = MagicMock() - mock_response.status = 200 - mock_message = "Success" - response_content = json.dumps({"message": mock_message}).encode("utf-8") - mock_response.read.return_value = response_content - mock_urlopen.return_value.__enter__.return_value = mock_response - - with caplog.at_level(logging.INFO): - result = service._try_to_run_extractor(mock_request, time.time()) - - mock_urlopen.assert_called_once_with(mock_request) - assert result is True - mock_response.read.assert_called_once() - assert f"Response from server: {mock_message}" in caplog.text - - -@patch.object(time, "sleep") -def test_try_to_run_extractor_remote_disconnected(mock_sleep, mock_urlopen, service, caplog, mock_request): - mock_urlopen.side_effect = RemoteDisconnected - with caplog.at_level(logging.INFO): - result = service._try_to_run_extractor(mock_request, time.time()) - - mock_sleep.assert_called_with(3) - mock_urlopen.assert_called_once() - assert result is False - assert "Waiting for service to be available..." in caplog.text - - -@patch.object(time, "time", return_value=3) -def test_try_to_run_extractor_timeout(mock_time, mock_urlopen, service, caplog, mock_request): - mock_urlopen.side_effect = RemoteDisconnected - error_massage = "Timed out waiting for service to respond." - start_time = 1 - with ( - caplog.at_level(logging.ERROR), - pytest.raises(TimeoutError, match=error_massage), - ): - service._try_to_run_extractor(mock_request, start_time, 1) - - mock_urlopen.assert_called_once() - mock_time.assert_any_call() - assert error_massage in caplog.text diff --git a/tests/test_files/frames_extracted_test_video.mp4 b/tests/test_files/test_video.mp4 similarity index 100% rename from tests/test_files/frames_extracted_test_video.mp4 rename to tests/test_files/test_video.mp4 diff --git a/service_manager/__init__.py b/tests/unit/__init__.py similarity index 100% rename from service_manager/__init__.py rename to tests/unit/__init__.py diff --git a/tests/unit/app_test.py b/tests/unit/app_test.py new file mode 100644 index 0000000..4be5edb --- /dev/null +++ b/tests/unit/app_test.py @@ -0,0 +1,40 @@ +from fastapi import BackgroundTasks + +from perfectframe.app import get_extractors_status, health_check, run_extractor +from perfectframe.extractor_manager import ExtractorManager +from perfectframe.schemas import ExtractorName, Message + + +def test_health_check(): + result = health_check() + + assert result == {"status": "healthy"} + + +def test_get_extractors_status(mocker): + mocker.patch.object( + ExtractorManager, "get_active_extractor", return_value=ExtractorName.BEST_FRAMES + ) + + result = get_extractors_status() + + assert result.active_extractor == ExtractorName.BEST_FRAMES + + +def test_run_extractor(mocker, dependencies): + expected_message = Message(message="'best_frames_extractor' started.") + mock_start = mocker.patch.object( + ExtractorManager, "start_extractor", return_value=expected_message + ) + mock_background_tasks = mocker.MagicMock(spec=BackgroundTasks) + + result = run_extractor( + extractor_name=ExtractorName.BEST_FRAMES, + background_tasks=mock_background_tasks, + dependencies=dependencies, + ) + + mock_start.assert_called_once_with( + ExtractorName.BEST_FRAMES, mock_background_tasks, dependencies + ) + assert result == expected_message diff --git a/tests/unit/best_frames_extractor_test.py b/tests/unit/best_frames_extractor_test.py new file mode 100644 index 0000000..e156544 --- /dev/null +++ b/tests/unit/best_frames_extractor_test.py @@ -0,0 +1,143 @@ +import logging +from pathlib import Path + +import numpy as np +import pytest + +from perfectframe.extractors import BestFramesExtractor +from perfectframe.image_evaluators import NIMAEvaluator +from perfectframe.image_processors import OpenCVImage +from perfectframe.schemas import VideoExtension +from perfectframe.video_processors import OpenCVVideo + + +@pytest.fixture +def all_frames_extractor(extractor): + extractor._config.all_frames = True + yield extractor + extractor._config.all_frames = False + + +@pytest.fixture +def extractor(config): + return BestFramesExtractor(config, OpenCVImage, OpenCVVideo, NIMAEvaluator) + + +def test_process(mocker, extractor, caplog, config): + test_videos = ["/fake/directory/video1.mp4", "/fake/directory/video2.mp4"] + test_frames = ["frame1", "frame2"] + extractor._list_input_directory_files = mocker.MagicMock(return_value=test_videos) + extractor._get_image_evaluator = mocker.MagicMock() + extractor._extract_best_frames = mocker.MagicMock(return_value=test_frames) + extractor._add_prefix = mocker.MagicMock() + extractor._signal_readiness_for_shutdown = mocker.MagicMock() + + with caplog.at_level(logging.INFO): + extractor.process() + + extractor._list_input_directory_files.assert_called_once_with( + VideoExtension, config.processed_video_prefix + ) + extractor._get_image_evaluator.assert_called_once() + assert extractor._extract_best_frames.call_count == len(test_videos) + assert extractor._add_prefix.call_count == len(test_videos) + extractor._signal_readiness_for_shutdown.assert_called_once() + for video in test_videos: + extractor._add_prefix.assert_any_call(config.processed_video_prefix, video) + extractor._extract_best_frames.assert_any_call(video) + assert f"Frames extraction has finished for video: {video}" in caplog.text + assert f"Starting frames extraction process from '{config.input_directory}'." in caplog.text + + +def test_process_if_all_frames(mocker, all_frames_extractor, caplog, config): + test_videos = ["/fake/directory/video1.mp4", "/fake/directory/video2.mp4"] + test_frames = ["frame1", "frame2"] + all_frames_extractor._list_input_directory_files = mocker.MagicMock(return_value=test_videos) + all_frames_extractor._get_image_evaluator = mocker.MagicMock() + all_frames_extractor._extract_best_frames = mocker.MagicMock(return_value=test_frames) + all_frames_extractor._add_prefix = mocker.MagicMock() + all_frames_extractor._signal_readiness_for_shutdown = mocker.MagicMock() + + with caplog.at_level(logging.INFO): + all_frames_extractor.process() + + all_frames_extractor._list_input_directory_files.assert_called_once_with( + VideoExtension, config.processed_video_prefix + ) + all_frames_extractor._get_image_evaluator.assert_not_called() + assert not all_frames_extractor._image_evaluator + assert all_frames_extractor._extract_best_frames.call_count == len(test_videos) + assert all_frames_extractor._add_prefix.call_count == len(test_videos) + all_frames_extractor._signal_readiness_for_shutdown.assert_called_once() + for video in test_videos: + all_frames_extractor._add_prefix.assert_any_call(config.processed_video_prefix, video) + all_frames_extractor._extract_best_frames.assert_any_call(video) + assert f"Frames extraction has finished for video: {video}" in caplog.text + assert f"Starting frames extraction process from '{config.input_directory}'." in caplog.text + + +def test_extract_best_frames(mocker, extractor): + mock_generator = mocker.patch.object(OpenCVVideo, "get_next_frames") + mock_save = mocker.patch.object(BestFramesExtractor, "_save_images") + mock_get = mocker.patch.object(BestFramesExtractor, "_get_best_frames") + mock_collect = mocker.patch("perfectframe.extractors.gc.collect") + video_path = mocker.MagicMock(spec=Path) + + batch_1 = [f"frame{i}" for i in range(5)] + batch_2 = [] + batch_3 = [f"frame{i}" for i in range(5)] + mock_generator.return_value = iter([batch_1, batch_2, batch_3]) + + mock_get.side_effect = [batch_1, batch_3] + + extractor._extract_best_frames(video_path) + + expected_call_count = 2 + assert not extractor._config.all_frames + mock_generator.assert_called_once_with(video_path, extractor._config.batch_size) + assert mock_get.call_count == expected_call_count + for batch in [batch_1, batch_3]: + mock_save.assert_called_with(batch) + assert mock_collect.call_count == expected_call_count + + +def test_extract_all_frames(mocker, all_frames_extractor): + mock_generator = mocker.patch.object(OpenCVVideo, "get_next_frames") + mock_save = mocker.patch.object(BestFramesExtractor, "_save_images") + mock_get = mocker.patch.object(BestFramesExtractor, "_get_best_frames") + mock_collect = mocker.patch("perfectframe.extractors.gc.collect") + video_path = mocker.MagicMock(spec=Path) + + batch_1 = [f"frame{i}" for i in range(5)] + batch_2 = [] + batch_3 = [f"frame{i}" for i in range(5)] + mock_generator.return_value = iter([batch_1, batch_2, batch_3]) + + all_frames_extractor._extract_best_frames(video_path) + + expected_call_count = 2 + assert all_frames_extractor._config.all_frames + mock_generator.assert_called_once_with(video_path, all_frames_extractor._config.batch_size) + mock_get.assert_not_called() + for batch in [batch_1, batch_3]: + mock_save.assert_called_with(batch) + assert mock_collect.call_count == expected_call_count + + +def test_get_best_frames(mocker, caplog, extractor, config): + mock_normalize = mocker.patch.object(BestFramesExtractor, "_normalize_images") + mock_evaluate = mocker.patch.object(BestFramesExtractor, "_evaluate_images") + frames = [f"frames{i}" for i in range(10)] + scores = np.array([7, 2, 9, 3, 8, 5, 10, 1, 4, 6]) + normalized_images = [mocker.MagicMock() for _ in range(10)] + mock_normalize.return_value = normalized_images + mock_evaluate.return_value = scores + expected_best_images = [frames[2], frames[6]] + + with caplog.at_level(logging.INFO): + best_images = extractor._get_best_frames(frames) + + mock_evaluate.assert_called_once_with(normalized_images) + mock_normalize.assert_called_once_with(frames, config.input_size) + assert best_images == expected_best_images + assert f"Best frames selected({len(expected_best_images)})." in caplog.text diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py new file mode 100644 index 0000000..9f596ca --- /dev/null +++ b/tests/unit/conftest.py @@ -0,0 +1,5 @@ +import pytest + +from perfectframe.extractors import BestFramesExtractor +from perfectframe.schemas import ExtractorConfig +from tests.common import best_frames_dir, config, dependencies, extractor, files_dir diff --git a/tests/unit/dependencies_test.py b/tests/unit/dependencies_test.py new file mode 100644 index 0000000..0f29f48 --- /dev/null +++ b/tests/unit/dependencies_test.py @@ -0,0 +1,24 @@ +from perfectframe.dependencies import Dependencies, get_dependencies +from perfectframe.image_evaluators import NIMAEvaluator +from perfectframe.image_processors import OpenCVImage +from perfectframe.schemas import ExtractorConfig +from perfectframe.video_processors import OpenCVVideo + + +def test_get_dependencies(): + dependencies = get_dependencies() + + assert isinstance(dependencies, Dependencies) + assert dependencies.image_processor == OpenCVImage + assert dependencies.video_processor == OpenCVVideo + assert dependencies.evaluator == NIMAEvaluator + assert isinstance(dependencies.config, ExtractorConfig) + + +def test_get_dependencies_with_custom_config(): + custom_config = ExtractorConfig(batch_size=100) + + dependencies = get_dependencies(custom_config) + + assert dependencies.config == custom_config + assert dependencies.config.batch_size == custom_config.batch_size diff --git a/tests/unit/extractor_manager_test.py b/tests/unit/extractor_manager_test.py new file mode 100644 index 0000000..1e1edbc --- /dev/null +++ b/tests/unit/extractor_manager_test.py @@ -0,0 +1,70 @@ +import http + +import pytest +from fastapi import BackgroundTasks, HTTPException + +from perfectframe.extractor_manager import ExtractorManager +from perfectframe.extractors import ExtractorFactory +from perfectframe.schemas import ExtractorName, Message + + +def test_get_active_extractor(): + assert ExtractorManager.get_active_extractor() is None + + +def test_start_extractor(mocker, dependencies): + mock_checking = mocker.patch.object(ExtractorManager, "_check_is_already_extracting") + mock_create_extractor = mocker.patch.object(ExtractorFactory, "create_extractor") + extractor_name = ExtractorName.BEST_FRAMES + mock_extractor = mocker.MagicMock() + mock_background_tasks = mocker.MagicMock(spec=BackgroundTasks) + mock_create_extractor.return_value = mock_extractor + + message = ExtractorManager.start_extractor(extractor_name, mock_background_tasks, dependencies) + + mock_checking.assert_called_once() + assert ExtractorManager._active_extractor == extractor_name + mock_create_extractor.assert_called_once_with(extractor_name, dependencies) + mock_background_tasks.add_task.assert_called_once_with( + ExtractorManager._ExtractorManager__run_extractor, + mock_extractor, + ) + expected_message = Message(message=f"'{extractor_name.value}' started.") + assert message == expected_message, "The return message does not match expected." + ExtractorManager._active_extractor = None + + +def test_run_extractor(mocker): + mock_extractor = mocker.patch("perfectframe.extractors.BestFramesExtractor") + + ExtractorManager._ExtractorManager__run_extractor(mock_extractor) + + mock_extractor.process.assert_called_once() + + +def test_run_extractor_logs_exception_on_failure(mocker, caplog): + mock_extractor = mocker.MagicMock() + mock_extractor.process.side_effect = RuntimeError("Test error") + + with caplog.at_level("ERROR"): + ExtractorManager._ExtractorManager__run_extractor(mock_extractor) + + mock_extractor.process.assert_called_once() + assert "Extraction failed with error" in caplog.text + assert ExtractorManager._active_extractor is None + + +def test_check_is_already_evaluating_true(): + test_extractor = ExtractorName.BEST_FRAMES + ExtractorManager._active_extractor = test_extractor + expected_error_message = ( + f"Extractor '{test_extractor.value}' is already running. " + f"You can run only one extractor at the same time. " + f"Wait until the extractor is done before run next process." + ) + + with pytest.raises(HTTPException, match=expected_error_message) as exc_info: + ExtractorManager._check_is_already_extracting() + + assert exc_info.value.status_code == http.HTTPStatus.CONFLICT + ExtractorManager._active_extractor = None diff --git a/tests/extractor_service/unit/extractor_test.py b/tests/unit/extractor_test.py similarity index 50% rename from tests/extractor_service/unit/extractor_test.py rename to tests/unit/extractor_test.py index 97bb502..11368a8 100644 --- a/tests/extractor_service/unit/extractor_test.py +++ b/tests/unit/extractor_test.py @@ -1,16 +1,16 @@ import logging from pathlib import Path -from unittest.mock import MagicMock, patch import numpy as np import pytest -from extractor_service.app.extractors import ( +from perfectframe.extractors import ( BestFramesExtractor, ExtractorFactory, TopImagesExtractor, ) -from extractor_service.app.image_processors import OpenCVImage +from perfectframe.image_processors import OpenCVImage +from perfectframe.schemas import ExtractorName, VideoExtension def test_extractor_initialization(config, dependencies): @@ -25,9 +25,9 @@ def test_extractor_initialization(config, dependencies): assert extractor._image_evaluator is None -def test_get_image_evaluator(extractor, config): +def test_get_image_evaluator(mocker, extractor, config): expected = "value" - mock_class = MagicMock(return_value=expected) + mock_class = mocker.MagicMock(return_value=expected) extractor._image_evaluator_class = mock_class result = extractor._get_image_evaluator() @@ -39,11 +39,11 @@ def test_get_image_evaluator(extractor, config): ) -def test_evaluate_images(extractor): - test_input = MagicMock(spec=np.ndarray) +def test_evaluate_images(mocker, extractor): + test_input = mocker.MagicMock(spec=np.ndarray) expected = "expected" - extractor._image_evaluator = MagicMock() - extractor._image_evaluator.evaluate_images = MagicMock() + extractor._image_evaluator = mocker.MagicMock() + extractor._image_evaluator.evaluate_images = mocker.MagicMock() extractor._image_evaluator.evaluate_images.return_value = expected result = extractor._evaluate_images(test_input) @@ -52,11 +52,19 @@ def test_evaluate_images(extractor): assert result == expected -@pytest.mark.parametrize("image", ("some_image", None)) -@patch.object(OpenCVImage, "read_image", return_value=None) -@patch("extractor_service.app.extractors.ThreadPoolExecutor") -def test_read_images(mock_executor, mock_read_image, image, extractor): - mock_paths = [MagicMock(spec=Path) for _ in range(3)] +def test_evaluate_images_raises_when_evaluator_not_initialized(mocker, extractor): + test_input = mocker.MagicMock(spec=np.ndarray) + extractor._image_evaluator = None + + with pytest.raises(RuntimeError, match="_image_evaluator must be initialized"): + extractor._evaluate_images(test_input) + + +@pytest.mark.parametrize("image", ["some_image", None]) +def test_read_images(mocker, image, extractor): + mock_executor = mocker.patch("perfectframe.extractors.ThreadPoolExecutor") + mock_read_image = mocker.patch.object(OpenCVImage, "read_image", return_value=None) + mock_paths = [mocker.MagicMock(spec=Path) for _ in range(3)] mock_executor.return_value.__enter__.return_value = mock_executor mock_executor.submit.return_value.result.return_value = image calls = [((mock_read_image, path),) for path in mock_paths] @@ -72,10 +80,10 @@ def test_read_images(mock_executor, mock_read_image, image, extractor): assert not result -@patch.object(OpenCVImage, "read_image", return_value=None) -@patch("extractor_service.app.extractors.ThreadPoolExecutor") -def test_save_images(mock_executor, mock_save_image, extractor, config): - images = [MagicMock(spec=np.ndarray) for _ in range(3)] +def test_save_images(mocker, extractor, config): + mock_executor = mocker.patch("perfectframe.extractors.ThreadPoolExecutor") + mocker.patch.object(OpenCVImage, "read_image", return_value=None) + images = [mocker.MagicMock(spec=np.ndarray) for _ in range(3)] mock_executor.return_value.__enter__.return_value = mock_executor mock_executor.submit.return_value.result.return_value = None calls = [ @@ -97,63 +105,59 @@ def test_save_images(mock_executor, mock_save_image, extractor, config): assert mock_executor.submit.return_value.result.call_count == len(images) -@patch.object(OpenCVImage, "normalize_images") -def test_normalize_images(mock_normalize, extractor, config): - images = [MagicMock() for _ in range(3)] +def test_normalize_images(mocker, extractor, config): + mock_normalize = mocker.patch.object(OpenCVImage, "normalize_images") + images = [mocker.MagicMock() for _ in range(3)] - extractor._normalize_images(images, config.target_image_size) + extractor._normalize_images(images, config.input_size) - mock_normalize.assert_called_once_with(images, config.target_image_size) + mock_normalize.assert_called_once_with(images, config.input_size) -@patch.object(Path, "iterdir") -@patch.object(Path, "is_file") -def test_list_input_directory_files(mock_is_file, mock_iterdir, extractor, caplog, config): - mock_files = [Path("/fake/directory/file1.txt"), Path("/fake/directory/file2.log")] - mock_extensions = (".txt", ".log") +def test_list_input_directory_files(mocker, extractor, caplog, config): + mock_iterdir = mocker.patch.object(Path, "iterdir") + mock_is_file = mocker.patch.object(Path, "is_file") + mock_files = [Path("/fake/directory/file1.mp4"), Path("/fake/directory/file2.mov")] mock_iterdir.return_value = mock_files mock_is_file.return_value = True with caplog.at_level(logging.DEBUG): - result = extractor._list_input_directory_files(mock_extensions, None) + result = extractor._list_input_directory_files(VideoExtension, None) assert result == mock_files assert f"Directory '{config.input_directory}' files listed." in caplog.text assert f"Listed file paths: {mock_files}" in caplog.text -@patch.object(Path, "iterdir") -def test_list_input_directory_files_no_files_found(mock_iterdir, extractor, caplog, config): +def test_list_input_directory_files_no_files_found(mocker, extractor, caplog): + mock_iterdir = mocker.patch.object(Path, "iterdir") mock_files = [] - mock_extensions = (".txt", ".log") mock_iterdir.return_value = mock_files - error_massage = ( - f"Files with extensions '{mock_extensions}' and " - f"without prefix 'Prefix not provided' not found in folder: {config.input_directory}." - f"\n-->HINT: You probably don't have input or you haven't changed prefixes. " - f"\nCheck input directory." - ) with ( pytest.raises(BestFramesExtractor.EmptyInputDirectoryError), caplog.at_level(logging.ERROR), ): - extractor._list_input_directory_files(mock_extensions) + extractor._list_input_directory_files(VideoExtension) - assert error_massage in caplog.text + assert "not found in folder" in caplog.text + assert "without prefix 'Prefix not provided'" in caplog.text -def test_add_prefix(extractor, caplog): +def test_add_prefix(mocker, extractor, caplog): + mock_rename = mocker.patch("pathlib.Path.rename") test_prefix = "prefix_" test_path = Path("test_path/file.mp4") test_new_path = Path("test_path/prefix_file.mp4") - expected_massage = f"Prefix '{test_prefix}' added to file '{test_path}'. New path: {test_new_path}" + expected_message = ( + f"Prefix '{test_prefix}' added to file '{test_path}'. New path: {test_new_path}" + ) - with patch("pathlib.Path.rename") as mock_rename, caplog.at_level(logging.DEBUG): + with caplog.at_level(logging.DEBUG): result = extractor._add_prefix(test_prefix, test_path) - mock_rename.assert_called_once_with(test_new_path) - assert expected_massage in caplog.text + mock_rename.assert_called_once_with(test_new_path) + assert expected_message in caplog.text assert result == test_new_path @@ -164,25 +168,12 @@ def test_signal_readiness_for_shutdown(extractor, caplog): @pytest.mark.parametrize( - "extractor_name, extractor", - ( - ("best_frames_extractor", BestFramesExtractor), - ("top_images_extractor", TopImagesExtractor), - ), + ("extractor_name", "extractor_class"), + [ + (ExtractorName.BEST_FRAMES, BestFramesExtractor), + (ExtractorName.TOP_IMAGES, TopImagesExtractor), + ], ) -def test_create_extractor_known_extractors(extractor_name, extractor, config, dependencies): - extractor_instance = ExtractorFactory.create_extractor(extractor_name, config, dependencies) - assert isinstance(extractor_instance, extractor) - - -def test_create_extractor_unknown_extractor_raises(caplog, config, dependencies): - unknown_extractor_name = "unknown_extractor" - expected_massage = f"Provided unknown extractor name: {unknown_extractor_name}" - - with ( - pytest.raises(ValueError, match=expected_massage), - caplog.at_level(logging.ERROR), - ): - ExtractorFactory.create_extractor(unknown_extractor_name, config, dependencies) - - assert expected_massage in caplog.text +def test_create_extractor_known_extractors(extractor_name, extractor_class, dependencies): + extractor_instance = ExtractorFactory.create_extractor(extractor_name, dependencies) + assert isinstance(extractor_instance, extractor_class) diff --git a/tests/unit/image_evaluators_test.py b/tests/unit/image_evaluators_test.py new file mode 100644 index 0000000..11e89a9 --- /dev/null +++ b/tests/unit/image_evaluators_test.py @@ -0,0 +1,97 @@ +import logging + +import numpy as np +import pytest + +from perfectframe.image_evaluators import NIMAEvaluator + + +@pytest.fixture +def evaluator(mocker): + mocker.patch.object(NIMAEvaluator, "_get_model_path", return_value="/fake/path/model.onnx") + mock_session = mocker.patch("perfectframe.image_evaluators.ort.InferenceSession") + mock_session_instance = mocker.MagicMock() + mock_session_instance.get_inputs.return_value = [mocker.MagicMock(name="input")] + mock_session.return_value = mock_session_instance + return NIMAEvaluator(mocker.MagicMock()) + + +def test_evaluator_initialization(mocker, config): + mock_get_path = mocker.patch.object(NIMAEvaluator, "_get_model_path") + mock_session = mocker.patch("perfectframe.image_evaluators.ort.InferenceSession") + test_path = "/some/path/model.onnx" + mock_get_path.return_value = test_path + mock_session_instance = mocker.MagicMock() + mock_input = mocker.MagicMock() + mock_input.name = "input" + mock_session_instance.get_inputs.return_value = [mock_input] + mock_session.return_value = mock_session_instance + + instance = NIMAEvaluator(config) + + mock_get_path.assert_called_once_with(config) + mock_session.assert_called_once_with(test_path) + assert instance._session == mock_session_instance + assert instance._input_name == "input" + + +def test_evaluate_images(mocker, evaluator, caplog): + mock_calculate = mocker.patch.object(NIMAEvaluator, "_calculate_weighted_mean") + mock_check = mocker.patch.object(NIMAEvaluator, "_check_scores") + fake_images = mocker.MagicMock(spec=np.ndarray) + fake_images.shape = (3, 2, 2) + fake_images.astype.return_value = fake_images + predictions = np.array([[0.1] * 10, [0.2] * 10, [0.3] * 10]) + expected_scores = [10.0, 20.0, 30.0] + mock_calculate.side_effect = expected_scores + evaluator._session.run.return_value = [predictions] + + with caplog.at_level(logging.INFO): + result = evaluator.evaluate_images(fake_images) + + predictions_count = 3 + fake_images.astype.assert_called_once_with(np.float32) + evaluator._session.run.assert_called_once_with(None, {evaluator._input_name: fake_images}) + assert mock_calculate.call_count == predictions_count + for i, call_args in enumerate(mock_calculate.call_args_list): + np.testing.assert_array_equal(call_args[0][0], predictions[i]) + mock_check.assert_called_once() + assert "Evaluating images..." in caplog.text + assert "Images batch evaluated." in caplog.text + assert result == expected_scores + + +def test_evaluate_images_returns_empty_list_when_predictions_not_ndarray(mocker, evaluator): + fake_images = mocker.MagicMock(spec=np.ndarray) + fake_images.astype.return_value = fake_images + evaluator._session.run.return_value = [None] + + result = evaluator.evaluate_images(fake_images) + + assert result == [] + + +def test_calculate_weighted_mean(evaluator): + prediction = np.array([0.1] * 10) # 10 values to match _prediction_weights + weights = NIMAEvaluator._prediction_weights + expected_weighted_mean = np.sum(prediction * weights) / np.sum(weights) + + calculated_mean = evaluator._calculate_weighted_mean(prediction) + + assert np.isclose(calculated_mean, expected_weighted_mean) + + +@pytest.mark.parametrize(("score_len", "images_len"), [(1, 1), (1, 2)]) +def test_check_scores(mocker, score_len, images_len, evaluator, caplog): + scores = [mocker.MagicMock(spec=np.ndarray) for _ in range(score_len)] + images = [mocker.MagicMock(spec=float) for _ in range(images_len)] + with caplog.at_level(logging.DEBUG): + evaluator._check_scores(images, scores) + + assert f"Scores: {scores}" in caplog.text + if score_len == images_len: + assert f"Scores and images lists length: {score_len}" in caplog.text + else: + assert "Scores and images lists lengths don't match!" in caplog.text + assert f"Images list length: {images_len}" in caplog.text + assert f"Scores list length: {score_len}" in caplog.text diff --git a/tests/unit/image_processors_test.py b/tests/unit/image_processors_test.py new file mode 100644 index 0000000..cbbbb98 --- /dev/null +++ b/tests/unit/image_processors_test.py @@ -0,0 +1,99 @@ +import logging +import uuid +from pathlib import Path +from unittest.mock import call # noqa: TID251 + +import cv2 +import numpy as np + +from perfectframe.image_processors import OpenCVImage +from perfectframe.schemas import ImageExtension, ImageResolution + + +def test_read_image(mocker, caplog): + mock_imread = mocker.patch.object(cv2, "imread") + mock_path = Path("some/path/to/image.jpg") + expected_image = mocker.MagicMock(spec=np.ndarray) + mock_imread.return_value = expected_image + + with caplog.at_level(logging.DEBUG): + result = OpenCVImage.read_image(mock_path) + + assert result == expected_image + mock_imread.assert_called_once_with(str(mock_path)) + assert f"Image '{mock_path}' has successfully read." in caplog.text + + +def test_read_image_invalid_image(mocker, caplog): + mock_imread = mocker.patch.object(cv2, "imread") + mock_path = Path("some/path/to/image.jpg") + mock_imread.return_value = None + + with caplog.at_level(logging.WARNING): + result = OpenCVImage.read_image(mock_path) + + assert result is None + mock_imread.assert_called_once_with(str(mock_path)) + assert ( + f"Can't read image. OpenCV reading not returns np.ndarray for image path: {mock_path!s}" + ) in caplog.text + + +def test_save_image(mocker, caplog): + mock_imwrite = mocker.patch.object(cv2, "imwrite") + mock_imwrite.return_value = True + mock_uuid = mocker.patch.object(uuid, "uuid4") + file_name = "some_filename" + mock_uuid.return_value = file_name + fake_image = mocker.MagicMock(spec=np.ndarray) + output_directory = Path("/fake/directory") + output_format = ImageExtension.JPG + expected_path = output_directory / f"image_{file_name}{output_format.value}" + + with caplog.at_level(logging.DEBUG): + image_path = OpenCVImage.save_image(fake_image, output_directory, output_format) + + mock_imwrite.assert_called_once_with(str(expected_path), fake_image) + assert image_path == expected_path, "The returned path does not match the expected path." + assert f"Image saved at '{expected_path}'." in caplog.text + + +def test_save_image_logs_error_on_failure(mocker, caplog): + mock_imwrite = mocker.patch.object(cv2, "imwrite") + mock_imwrite.return_value = False + mock_uuid = mocker.patch.object(uuid, "uuid4") + file_name = "some_filename" + mock_uuid.return_value = file_name + fake_image = mocker.MagicMock(spec=np.ndarray) + output_directory = Path("/fake/directory") + output_format = ImageExtension.JPG + expected_path = output_directory / f"image_{file_name}{output_format.value}" + + with caplog.at_level(logging.ERROR): + image_path = OpenCVImage.save_image(fake_image, output_directory, output_format) + + mock_imwrite.assert_called_once_with(str(expected_path), fake_image) + assert image_path == expected_path + assert f"Failed to save image at '{expected_path}'" in caplog.text + + +def test_normalize_images(mocker): + mock_resize = mocker.patch.object(cv2, "resize") + mock_cvt = mocker.patch.object(cv2, "cvtColor") + mock_array = mocker.patch.object(np, "array") + images_num = 3 + target_size = ImageResolution(112, 112) + batch_images = [mocker.MagicMock(spec=np.ndarray) for _ in range(images_num)] + resized_images = [mocker.MagicMock(spec=np.ndarray) for _ in range(images_num)] + expected_images = [mocker.MagicMock(spec=np.ndarray) for _ in range(images_num)] + mock_resize.side_effect = resized_images + mock_cvt.side_effect = expected_images + mock_array.return_value = np.array(expected_images, dtype=np.float32) / 255.0 + + result = OpenCVImage.normalize_images(batch_images, target_size) + + calls = [call(image, target_size, interpolation=cv2.INTER_LANCZOS4) for image in batch_images] + mock_resize.assert_has_calls(calls, any_order=True) + calls = [call(image, cv2.COLOR_BGR2RGB) for image in resized_images] + mock_cvt.assert_has_calls(calls, any_order=True) + np.testing.assert_array_equal(result, mock_array.return_value) diff --git a/tests/unit/nima_models_test.py b/tests/unit/nima_models_test.py new file mode 100644 index 0000000..c2f4df2 --- /dev/null +++ b/tests/unit/nima_models_test.py @@ -0,0 +1,93 @@ +import logging +from http import HTTPStatus +from pathlib import Path + +import numpy as np +import pytest +import requests + +from perfectframe.image_evaluators import NIMAEvaluator + + +def test_prediction_weights(): + assert list(NIMAEvaluator._prediction_weights) == list(np.arange(1, 11)) + + +@pytest.mark.parametrize("file_exists", [True, False]) +def test_get_model_path(mocker, file_exists, config, caplog): + mock_is_file = mocker.patch.object(Path, "is_file") + mock_download = mocker.patch.object(NIMAEvaluator, "_download_model_weights") + mock_is_file.return_value = file_exists + expected_path = Path(config.weights_directory) / config.weights_filename + + with caplog.at_level(logging.DEBUG): + result = NIMAEvaluator._get_model_path(config) + + assert ( + f"Searching for model weights in weights directory: {config.weights_directory}" + in caplog.text + ) + if file_exists: + assert f"Model weights loaded from: {expected_path}" in caplog.text + mock_download.assert_not_called() + else: + assert ( + f"Can't find model weights in weights directory: {config.weights_directory}" + in caplog.text + ) + mock_download.assert_called_once_with(expected_path, config) + assert result == expected_path + + +@pytest.mark.parametrize("status_code", [HTTPStatus.OK, HTTPStatus.NOT_FOUND]) +def test_download_model_weights(mocker, status_code, config, caplog): + mock_mkdir = mocker.patch.object(Path, "mkdir") + mock_get = mocker.patch("perfectframe.image_evaluators.requests.get") + mock_write_bytes = mocker.patch.object(Path, "write_bytes") + test_path = Path("/fake/path/to/weights.onnx") + test_url = f"{config.weights_repo_url}{config.weights_filename}" + weights_data = b"weights data" + timeout = 12 + + mock_response = mocker.MagicMock() + mock_response.ok = status_code == HTTPStatus.OK + mock_response.status_code = status_code + mock_response.content = weights_data + mock_get.return_value = mock_response + + if status_code == HTTPStatus.OK: + with caplog.at_level(logging.DEBUG): + NIMAEvaluator._download_model_weights(test_path, config, timeout) + mock_mkdir.assert_called_once_with(parents=True, exist_ok=True) + mock_write_bytes.assert_called_once_with(weights_data) + assert f"Model weights downloaded and saved to {test_path}" in caplog.text + else: + error_message = f"Failed to download the weights: HTTP status code {status_code}" + with ( + caplog.at_level(logging.DEBUG), + pytest.raises(NIMAEvaluator.ModelWeightsDownloadError, match=error_message), + ): + NIMAEvaluator._download_model_weights(test_path, config, timeout) + assert f"Failed to download the weights: HTTP status code {status_code}" in caplog.text + assert f"Downloading model weights from url: {test_url}" in caplog.text + mock_get.assert_called_once_with(test_url, allow_redirects=True, timeout=timeout) + + +def test_download_model_weights_network_error(mocker, config, caplog): + mock_get = mocker.patch("perfectframe.image_evaluators.requests.get") + test_path = Path("/fake/path/to/weights.onnx") + test_url = f"{config.weights_repo_url}{config.weights_filename}" + timeout = 12 + + mock_get.side_effect = requests.ConnectionError("Network unreachable") + + with ( + caplog.at_level(logging.ERROR), + pytest.raises( + NIMAEvaluator.ModelWeightsDownloadError, match="Network error while downloading" + ), + ): + NIMAEvaluator._download_model_weights(test_path, config, timeout) + + assert "Network error while downloading model weights" in caplog.text + mock_get.assert_called_once_with(test_url, allow_redirects=True, timeout=timeout) diff --git a/tests/unit/schemas_test.py b/tests/unit/schemas_test.py new file mode 100644 index 0000000..75287bb --- /dev/null +++ b/tests/unit/schemas_test.py @@ -0,0 +1,74 @@ +from pathlib import Path + +import pytest +from pydantic import ValidationError + +from perfectframe.schemas import ( + ExtractorConfig, + ExtractorName, + ExtractorStatus, + ImageExtension, + Message, + VideoExtension, +) + + +def test_config_default(mocker): + mocker.patch.object(Path, "is_dir", return_value=True) + config = ExtractorConfig() + assert config.input_directory == Path("/app/input_directory") + assert config.output_directory == Path("/app/output_directory") + assert config.processed_video_prefix == "frames_extracted_" + assert isinstance(config.comparing_group_size, int) + assert isinstance(config.batch_size, int) + assert isinstance(config.top_images_percent, float) + assert config.images_output_format == ImageExtension.JPG + assert config.weights_directory == Path.home() / ".cache" / "huggingface" + assert config.weights_filename == "weights.onnx" + assert config.weights_repo_url == "https://huggingface.co/BKDDFS/nima_weights/resolve/main/" + assert config.all_frames is False + + +def test_image_extension_contains(): + assert ImageExtension.contains(".jpg") is True + assert ImageExtension.contains(".jpeg") is True + assert ImageExtension.contains(".png") is True + assert ImageExtension.contains(".webp") is True + assert ImageExtension.contains(".mp4") is False + assert ImageExtension.contains(".invalid") is False + + +def test_video_extension_contains(): + assert VideoExtension.contains(".mp4") is True + assert VideoExtension.contains(".mov") is True + assert VideoExtension.contains(".webm") is True + assert VideoExtension.contains(".mkv") is True + assert VideoExtension.contains(".avi") is True + assert VideoExtension.contains(".jpg") is False + assert VideoExtension.contains(".invalid") is False + + +def test_request_data_validation_failure_output(): + mock_directory = r"C:\invalid_dir" + with pytest.raises(ValidationError): + ExtractorConfig(input_directory=mock_directory) + + +def test_str_directory(): + mock_directory = str(Path.cwd()) + config = ExtractorConfig(input_directory=mock_directory) + assert isinstance(config.input_directory, Path) + + +def test_extractor_status(): + status = ExtractorStatus(active_extractor=None) + assert status.active_extractor is None + + status = ExtractorStatus(active_extractor=ExtractorName.BEST_FRAMES) + assert status.active_extractor == ExtractorName.BEST_FRAMES + + +def test_message(): + mock_message = "Test message" + msg = Message(message=mock_message) + assert msg.message == mock_message diff --git a/tests/unit/top_images_extractor_test.py b/tests/unit/top_images_extractor_test.py new file mode 100644 index 0000000..175e7b7 --- /dev/null +++ b/tests/unit/top_images_extractor_test.py @@ -0,0 +1,78 @@ +import logging +from unittest.mock import call # noqa: TID251 + +import numpy as np +import pytest + +from perfectframe.extractors import TopImagesExtractor +from perfectframe.image_evaluators import NIMAEvaluator +from perfectframe.image_processors import OpenCVImage +from perfectframe.schemas import ImageExtension +from perfectframe.video_processors import OpenCVVideo + + +@pytest.fixture +def extractor(config): + return TopImagesExtractor(config, OpenCVImage, OpenCVVideo, NIMAEvaluator) + + +def test_process_with_images(mocker, extractor, caplog, config): + mock_read_image = mocker.patch.object(OpenCVImage, "read_image") + mock_normalize = mocker.patch.object(TopImagesExtractor, "_normalize_images") + # Setup + test_images = [ + "/fake/directory/image1.jpg", + "/fake/directory/image2.jpg", + "/fake/directory/image3.jpg", + ] + test_ratings = [10, 20, 30] + best_image = ["image3.jpg"] + + # Mock internal methods + extractor._list_input_directory_files = mocker.MagicMock(return_value=test_images) + extractor._get_image_evaluator = mocker.MagicMock() + extractor._evaluate_images = mocker.MagicMock(return_value=test_ratings) + extractor._get_top_percent_images = mocker.MagicMock(return_value=best_image) + extractor._save_images = mocker.MagicMock() + extractor._signal_readiness_for_shutdown = mocker.MagicMock() + + # Call + with caplog.at_level(logging.INFO): + extractor.process() + + # Check that the internal methods were called as expected + extractor._list_input_directory_files.assert_called_once_with(ImageExtension) + mock_read_image.assert_has_calls([call(path) for path in test_images], any_order=True) + mock_normalize.assert_called_once_with( + [mock_read_image.return_value] * 3, extractor._config.input_size + ) + extractor._evaluate_images.assert_called_once_with(mock_normalize.return_value) + extractor._get_top_percent_images.assert_called_once_with( + [mock_read_image.return_value] * 3, + test_ratings, + extractor._config.top_images_percent, + ) + extractor._save_images.assert_called_once_with(best_image) + + # Check logging + expected_message = ( + f"Extraction process finished. " + f"All top images extracted from directory: {config.input_directory}." + ) + assert expected_message in caplog.text + extractor._signal_readiness_for_shutdown.assert_called_once() + + +def test_get_top_percent_images(mocker, extractor, caplog): + images = [mocker.MagicMock(spec=np.ndarray) for _ in range(5)] + ratings = np.array([55, 70, 85, 40, 20]) + top_percent = 70 + expected_images = [images[1], images[2]] + + with caplog.at_level(logging.INFO): + selected_images = extractor._get_top_percent_images(images, ratings, top_percent) + + assert selected_images == expected_images, ( + "The selected images do not match the expected top percent images." + ) + assert f"Top images selected({len(expected_images)})." in caplog.text diff --git a/tests/unit/video_processors_test.py b/tests/unit/video_processors_test.py new file mode 100644 index 0000000..b48583a --- /dev/null +++ b/tests/unit/video_processors_test.py @@ -0,0 +1,194 @@ +import logging +from pathlib import Path + +import cv2 +import pytest + +from perfectframe.video_processors import OpenCVVideo + +TOTAL_FRAMES_PROP = "total frames" + + +def test_get_video_capture_success(mocker): + mock_cap = mocker.patch.object(cv2, "VideoCapture") + test_path = mocker.MagicMock(spec=Path) + mock_video = mocker.MagicMock() + mock_video.isOpened.return_value = True + mock_cap.return_value = mock_video + + with OpenCVVideo._video_capture(test_path) as video: + assert video.isOpened() is True + + mock_video.release.assert_called_once() + + +def test_get_video_capture_failure(mocker): + mock_cap = mocker.patch.object(cv2, "VideoCapture") + test_path = mocker.MagicMock(spec=Path) + mock_video = mocker.MagicMock() + mock_video.isOpened.return_value = False + mock_cap.return_value = mock_video + + with ( + pytest.raises(OpenCVVideo._Error), + OpenCVVideo._video_capture(test_path), + ): + # No additional operations are needed here, we are just testing the exception + pass + + mock_video.release.assert_called_once() + + +@pytest.fixture +def mock_video(mocker): + video = mocker.MagicMock() + video.get.return_value = 30 + video.read.side_effect = [ + (True, "frame1"), + (True, "frame2"), + (True, "frame3"), + (False, None), + ] + return video + + +@pytest.mark.parametrize( + ("frames_batch_size", "expected_num_batches"), + [ + (1, 3), + (2, 2), + (3, 1), + ], +) +def test_get_next_video_frames( + mocker, + frames_batch_size, + expected_num_batches, + caplog, +): + mock_read = mocker.patch.object(OpenCVVideo, "_read_next_frame") + mock_get_property = mocker.patch.object(OpenCVVideo, "_get_video_property") + mock_video_cap = mocker.patch.object(OpenCVVideo, "_video_capture") + frame_rate_attr = "frame rate" + video_path = mocker.MagicMock() + mock_video = mocker.MagicMock() + frames_number = 3 + + def get_property_side_effect(_video, _property_id, value_name): + return frames_number if TOTAL_FRAMES_PROP in value_name else 1 + + mock_get_property.side_effect = get_property_side_effect + mock_video_cap.return_value.__enter__.return_value = mock_video + + def read_side_effect(_video, idx): + return f"frame{idx // 30}" + + mock_read.side_effect = read_side_effect + + with caplog.at_level(logging.DEBUG): + frames_generator = OpenCVVideo.get_next_frames(video_path, frames_batch_size) + batches = list(frames_generator) + + expected_property_calls = 2 + assert len(batches) == expected_num_batches, "Number of batches does not match expected" + for batch in batches: + assert len(batch) <= frames_batch_size, "Batch size is larger than expected" + assert mock_video_cap.called + assert mock_get_property.call_count == expected_property_calls + mock_get_property.assert_any_call(mock_video, cv2.CAP_PROP_FPS, frame_rate_attr) + mock_get_property.assert_any_call(mock_video, cv2.CAP_PROP_FRAME_COUNT, TOTAL_FRAMES_PROP) + assert mock_read.call_count == frames_number + + assert "Frame appended to frames batch." in caplog.text + assert "Got full frames batch." in caplog.text + if ( + frames_batch_size % frames_number + and frames_number > expected_num_batches * frames_batch_size + ): + assert "Returning last frames batch." in caplog.text + + +def test_get_next_video_frames_skips_none_frames(mocker): + mock_read = mocker.patch.object(OpenCVVideo, "_read_next_frame") + mock_get_property = mocker.patch.object(OpenCVVideo, "_get_video_property") + mock_video_cap = mocker.patch.object(OpenCVVideo, "_video_capture") + video_path = mocker.MagicMock() + mock_video = mocker.MagicMock() + + mock_get_property.side_effect = lambda _v, _a, name: 2 if "total" in name else 1 + mock_video_cap.return_value.__enter__.return_value = mock_video + mock_read.side_effect = ["frame0", None] + + batches = list(OpenCVVideo.get_next_frames(video_path, 10)) + + assert len(batches) == 1 + assert batches[0] == ["frame0"] + + +@pytest.mark.parametrize("read_return", [(True, "frame"), (False, None)]) +def test_read_next_frame(mocker, read_return, caplog): + mock_check_cap = mocker.patch.object(OpenCVVideo, "_check_video_capture") + mock_cap = mocker.MagicMock(spec=cv2.VideoCapture) + mock_cap.read = mocker.MagicMock(return_value=read_return) + test_frame_index = 1 + with caplog.at_level(logging.WARNING): + result = OpenCVVideo._read_next_frame(mock_cap, test_frame_index) + + mock_check_cap.assert_called_once_with(mock_cap) + mock_cap.set.assert_called_once_with(cv2.CAP_PROP_POS_FRAMES, test_frame_index) + mock_cap.read.assert_called_once() + if read_return[0] is True: + assert result == "frame" + else: + assert result is None + assert f"Couldn't read frame with index: {test_frame_index}" in caplog.text + + +def test_get_video_property(mocker, caplog): + mock_check_cap = mocker.patch.object(OpenCVVideo, "_check_video_capture") + mock_cap = mocker.MagicMock(spec=cv2.VideoCapture) + property_id = cv2.CAP_PROP_FRAME_COUNT + value_name = TOTAL_FRAMES_PROP + total_frames = 24.6 + mock_cap.get.return_value = total_frames + + with caplog.at_level(logging.DEBUG): + result = OpenCVVideo._get_video_property(mock_cap, property_id, value_name) + + expected_rounded = 25 + mock_check_cap.assert_called_once_with(mock_cap) + assert f"Got input video {value_name}: {total_frames}" in caplog.text + assert result == expected_rounded + + +def test_get_video_property_invalid(mocker, caplog): + mock_check_cap = mocker.patch.object(OpenCVVideo, "_check_video_capture") + mock_cap = mocker.MagicMock(spec=cv2.VideoCapture) + property_id = cv2.CAP_PROP_FRAME_COUNT + value_name = TOTAL_FRAMES_PROP + total_frames = -24.6 + mock_cap.get.return_value = total_frames + expected_message = f"Invalid {value_name} retrieved: {total_frames}." + + with ( + caplog.at_level(logging.ERROR), + pytest.raises(ValueError, match=expected_message), + ): + OpenCVVideo._get_video_property(mock_cap, property_id, value_name) + + mock_check_cap.assert_called_once_with(mock_cap) + assert expected_message in caplog.text + + +def test_check_video_capture(mocker, caplog): + mock_cap = mocker.MagicMock(spec=cv2.VideoCapture) + mock_cap.isOpened.return_value = False + error_message = ( + "Invalid video capture object or object not opened. " + "Probably video capture closed at some point." + ) + + with caplog.at_level(logging.ERROR), pytest.raises(ValueError, match=error_message): + OpenCVVideo._check_video_capture(mock_cap) + + assert error_message in caplog.text diff --git a/uv.lock b/uv.lock index 6b8b06c..f212906 100644 --- a/uv.lock +++ b/uv.lock @@ -1,33 +1,23 @@ version = 1 -requires-python = ">=3.10, <3.13" -resolution-markers = [ - "python_full_version >= '3.12' and sys_platform == 'darwin'", - "python_full_version >= '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux'", - "(python_full_version >= '3.12' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.12' and sys_platform != 'darwin' and sys_platform != 'linux')", - "python_full_version == '3.11.*' and sys_platform == 'darwin'", - "python_full_version == '3.11.*' and platform_machine == 'aarch64' and sys_platform == 'linux'", - "(python_full_version == '3.11.*' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version == '3.11.*' and sys_platform != 'darwin' and sys_platform != 'linux')", - "python_full_version < '3.11' and sys_platform == 'darwin'", - "python_full_version < '3.11' and platform_machine == 'aarch64' and sys_platform == 'linux'", - "(python_full_version < '3.11' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.11' and sys_platform != 'darwin' and sys_platform != 'linux')", -] +revision = 3 +requires-python = ">=3.11, <3.14" [[package]] -name = "absl-py" -version = "2.1.0" +name = "annotated-doc" +version = "0.0.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7a/8f/fc001b92ecc467cc32ab38398bd0bfb45df46e7523bf33c2ad22a505f06e/absl-py-2.1.0.tar.gz", hash = "sha256:7820790efbb316739cde8b4e19357243fc3608a152024288513dd968d7d959ff", size = 118055 } +sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a2/ad/e0d3c824784ff121c03cc031f944bc7e139a8f1870ffd2845cc2dd76f6c4/absl_py-2.1.0-py3-none-any.whl", hash = "sha256:526a04eadab8b4ee719ce68f204172ead1027549089702d99b9059f129ff1308", size = 133706 }, + { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" }, ] [[package]] name = "annotated-types" version = "0.7.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081 } +sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643 }, + { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, ] [[package]] @@ -35,93 +25,79 @@ name = "anyio" version = "4.8.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, { name = "idna" }, { name = "sniffio" }, - { name = "typing-extensions" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/a3/73/199a98fc2dae33535d6b8e8e6ec01f8c1d76c9adb096c6b7d64823038cde/anyio-4.8.0.tar.gz", hash = "sha256:1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a", size = 181126 } +sdist = { url = "https://files.pythonhosted.org/packages/a3/73/199a98fc2dae33535d6b8e8e6ec01f8c1d76c9adb096c6b7d64823038cde/anyio-4.8.0.tar.gz", hash = "sha256:1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a", size = 181126, upload-time = "2025-01-05T13:13:11.095Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/46/eb/e7f063ad1fec6b3178a3cd82d1a3c4de82cccf283fc42746168188e1cdd5/anyio-4.8.0-py3-none-any.whl", hash = "sha256:b5011f270ab5eb0abf13385f851315585cc37ef330dd88e27ec3d34d651fd47a", size = 96041 }, -] - -[[package]] -name = "astunparse" -version = "1.6.3" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "six" }, - { name = "wheel" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f3/af/4182184d3c338792894f34a62672919db7ca008c89abee9b564dd34d8029/astunparse-1.6.3.tar.gz", hash = "sha256:5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872", size = 18290 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2b/03/13dde6512ad7b4557eb792fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl", hash = "sha256:c2652417f2c8b5bb325c885ae329bdf3f86424075c4fd1a128674bc6fba4b8e8", size = 12732 }, + { url = "https://files.pythonhosted.org/packages/46/eb/e7f063ad1fec6b3178a3cd82d1a3c4de82cccf283fc42746168188e1cdd5/anyio-4.8.0-py3-none-any.whl", hash = "sha256:b5011f270ab5eb0abf13385f851315585cc37ef330dd88e27ec3d34d651fd47a", size = 96041, upload-time = "2025-01-05T13:13:07.985Z" }, ] [[package]] name = "certifi" version = "2024.12.14" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/0f/bd/1d41ee578ce09523c81a15426705dd20969f5abf006d1afe8aeff0dd776a/certifi-2024.12.14.tar.gz", hash = "sha256:b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db", size = 166010 } +sdist = { url = "https://files.pythonhosted.org/packages/0f/bd/1d41ee578ce09523c81a15426705dd20969f5abf006d1afe8aeff0dd776a/certifi-2024.12.14.tar.gz", hash = "sha256:b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db", size = 166010, upload-time = "2024-12-14T13:52:38.02Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a5/32/8f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1/certifi-2024.12.14-py3-none-any.whl", hash = "sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56", size = 164927 }, + { url = "https://files.pythonhosted.org/packages/a5/32/8f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1/certifi-2024.12.14-py3-none-any.whl", hash = "sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56", size = 164927, upload-time = "2024-12-14T13:52:36.114Z" }, ] [[package]] name = "cfgv" version = "3.4.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/11/74/539e56497d9bd1d484fd863dd69cbbfa653cd2aa27abfe35653494d85e94/cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560", size = 7114 } +sdist = { url = "https://files.pythonhosted.org/packages/11/74/539e56497d9bd1d484fd863dd69cbbfa653cd2aa27abfe35653494d85e94/cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560", size = 7114, upload-time = "2023-08-12T20:38:17.776Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c5/55/51844dd50c4fc7a33b653bfaba4c2456f06955289ca770a5dbd5fd267374/cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9", size = 7249 }, + { url = "https://files.pythonhosted.org/packages/c5/55/51844dd50c4fc7a33b653bfaba4c2456f06955289ca770a5dbd5fd267374/cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9", size = 7249, upload-time = "2023-08-12T20:38:16.269Z" }, ] [[package]] name = "charset-normalizer" version = "3.4.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/16/b0/572805e227f01586461c80e0fd25d65a2115599cc9dad142fee4b747c357/charset_normalizer-3.4.1.tar.gz", hash = "sha256:44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3", size = 123188 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0d/58/5580c1716040bc89206c77d8f74418caf82ce519aae06450393ca73475d1/charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de", size = 198013 }, - { url = "https://files.pythonhosted.org/packages/d0/11/00341177ae71c6f5159a08168bcb98c6e6d196d372c94511f9f6c9afe0c6/charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7461baadb4dc00fd9e0acbe254e3d7d2112e7f92ced2adc96e54ef6501c5f176", size = 141285 }, - { url = "https://files.pythonhosted.org/packages/01/09/11d684ea5819e5a8f5100fb0b38cf8d02b514746607934134d31233e02c8/charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e218488cd232553829be0664c2292d3af2eeeb94b32bea483cf79ac6a694e037", size = 151449 }, - { url = "https://files.pythonhosted.org/packages/08/06/9f5a12939db324d905dc1f70591ae7d7898d030d7662f0d426e2286f68c9/charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:80ed5e856eb7f30115aaf94e4a08114ccc8813e6ed1b5efa74f9f82e8509858f", size = 143892 }, - { url = "https://files.pythonhosted.org/packages/93/62/5e89cdfe04584cb7f4d36003ffa2936681b03ecc0754f8e969c2becb7e24/charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b010a7a4fd316c3c484d482922d13044979e78d1861f0e0650423144c616a46a", size = 146123 }, - { url = "https://files.pythonhosted.org/packages/a9/ac/ab729a15c516da2ab70a05f8722ecfccc3f04ed7a18e45c75bbbaa347d61/charset_normalizer-3.4.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4532bff1b8421fd0a320463030c7520f56a79c9024a4e88f01c537316019005a", size = 147943 }, - { url = "https://files.pythonhosted.org/packages/03/d2/3f392f23f042615689456e9a274640c1d2e5dd1d52de36ab8f7955f8f050/charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d973f03c0cb71c5ed99037b870f2be986c3c05e63622c017ea9816881d2dd247", size = 142063 }, - { url = "https://files.pythonhosted.org/packages/f2/e3/e20aae5e1039a2cd9b08d9205f52142329f887f8cf70da3650326670bddf/charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:3a3bd0dcd373514dcec91c411ddb9632c0d7d92aed7093b8c3bbb6d69ca74408", size = 150578 }, - { url = "https://files.pythonhosted.org/packages/8d/af/779ad72a4da0aed925e1139d458adc486e61076d7ecdcc09e610ea8678db/charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:d9c3cdf5390dcd29aa8056d13e8e99526cda0305acc038b96b30352aff5ff2bb", size = 153629 }, - { url = "https://files.pythonhosted.org/packages/c2/b6/7aa450b278e7aa92cf7732140bfd8be21f5f29d5bf334ae987c945276639/charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:2bdfe3ac2e1bbe5b59a1a63721eb3b95fc9b6817ae4a46debbb4e11f6232428d", size = 150778 }, - { url = "https://files.pythonhosted.org/packages/39/f4/d9f4f712d0951dcbfd42920d3db81b00dd23b6ab520419626f4023334056/charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:eab677309cdb30d047996b36d34caeda1dc91149e4fdca0b1a039b3f79d9a807", size = 146453 }, - { url = "https://files.pythonhosted.org/packages/49/2b/999d0314e4ee0cff3cb83e6bc9aeddd397eeed693edb4facb901eb8fbb69/charset_normalizer-3.4.1-cp310-cp310-win32.whl", hash = "sha256:c0429126cf75e16c4f0ad00ee0eae4242dc652290f940152ca8c75c3a4b6ee8f", size = 95479 }, - { url = "https://files.pythonhosted.org/packages/2d/ce/3cbed41cff67e455a386fb5e5dd8906cdda2ed92fbc6297921f2e4419309/charset_normalizer-3.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:9f0b8b1c6d84c8034a44893aba5e767bf9c7a211e313a9605d9c617d7083829f", size = 102790 }, - { url = "https://files.pythonhosted.org/packages/72/80/41ef5d5a7935d2d3a773e3eaebf0a9350542f2cab4eac59a7a4741fbbbbe/charset_normalizer-3.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:8bfa33f4f2672964266e940dd22a195989ba31669bd84629f05fab3ef4e2d125", size = 194995 }, - { url = "https://files.pythonhosted.org/packages/7a/28/0b9fefa7b8b080ec492110af6d88aa3dea91c464b17d53474b6e9ba5d2c5/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:28bf57629c75e810b6ae989f03c0828d64d6b26a5e205535585f96093e405ed1", size = 139471 }, - { url = "https://files.pythonhosted.org/packages/71/64/d24ab1a997efb06402e3fc07317e94da358e2585165930d9d59ad45fcae2/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f08ff5e948271dc7e18a35641d2f11a4cd8dfd5634f55228b691e62b37125eb3", size = 149831 }, - { url = "https://files.pythonhosted.org/packages/37/ed/be39e5258e198655240db5e19e0b11379163ad7070962d6b0c87ed2c4d39/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:234ac59ea147c59ee4da87a0c0f098e9c8d169f4dc2a159ef720f1a61bbe27cd", size = 142335 }, - { url = "https://files.pythonhosted.org/packages/88/83/489e9504711fa05d8dde1574996408026bdbdbd938f23be67deebb5eca92/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd4ec41f914fa74ad1b8304bbc634b3de73d2a0889bd32076342a573e0779e00", size = 143862 }, - { url = "https://files.pythonhosted.org/packages/c6/c7/32da20821cf387b759ad24627a9aca289d2822de929b8a41b6241767b461/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eea6ee1db730b3483adf394ea72f808b6e18cf3cb6454b4d86e04fa8c4327a12", size = 145673 }, - { url = "https://files.pythonhosted.org/packages/68/85/f4288e96039abdd5aeb5c546fa20a37b50da71b5cf01e75e87f16cd43304/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c96836c97b1238e9c9e3fe90844c947d5afbf4f4c92762679acfe19927d81d77", size = 140211 }, - { url = "https://files.pythonhosted.org/packages/28/a3/a42e70d03cbdabc18997baf4f0227c73591a08041c149e710045c281f97b/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4d86f7aff21ee58f26dcf5ae81a9addbd914115cdebcbb2217e4f0ed8982e146", size = 148039 }, - { url = "https://files.pythonhosted.org/packages/85/e4/65699e8ab3014ecbe6f5c71d1a55d810fb716bbfd74f6283d5c2aa87febf/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:09b5e6733cbd160dcc09589227187e242a30a49ca5cefa5a7edd3f9d19ed53fd", size = 151939 }, - { url = "https://files.pythonhosted.org/packages/b1/82/8e9fe624cc5374193de6860aba3ea8070f584c8565ee77c168ec13274bd2/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:5777ee0881f9499ed0f71cc82cf873d9a0ca8af166dfa0af8ec4e675b7df48e6", size = 149075 }, - { url = "https://files.pythonhosted.org/packages/3d/7b/82865ba54c765560c8433f65e8acb9217cb839a9e32b42af4aa8e945870f/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:237bdbe6159cff53b4f24f397d43c6336c6b0b42affbe857970cefbb620911c8", size = 144340 }, - { url = "https://files.pythonhosted.org/packages/b5/b6/9674a4b7d4d99a0d2df9b215da766ee682718f88055751e1e5e753c82db0/charset_normalizer-3.4.1-cp311-cp311-win32.whl", hash = "sha256:8417cb1f36cc0bc7eaba8ccb0e04d55f0ee52df06df3ad55259b9a323555fc8b", size = 95205 }, - { url = "https://files.pythonhosted.org/packages/1e/ab/45b180e175de4402dcf7547e4fb617283bae54ce35c27930a6f35b6bef15/charset_normalizer-3.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:d7f50a1f8c450f3925cb367d011448c39239bb3eb4117c36a6d354794de4ce76", size = 102441 }, - { url = "https://files.pythonhosted.org/packages/0a/9a/dd1e1cdceb841925b7798369a09279bd1cf183cef0f9ddf15a3a6502ee45/charset_normalizer-3.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:73d94b58ec7fecbc7366247d3b0b10a21681004153238750bb67bd9012414545", size = 196105 }, - { url = "https://files.pythonhosted.org/packages/d3/8c/90bfabf8c4809ecb648f39794cf2a84ff2e7d2a6cf159fe68d9a26160467/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dad3e487649f498dd991eeb901125411559b22e8d7ab25d3aeb1af367df5efd7", size = 140404 }, - { url = "https://files.pythonhosted.org/packages/ad/8f/e410d57c721945ea3b4f1a04b74f70ce8fa800d393d72899f0a40526401f/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c30197aa96e8eed02200a83fba2657b4c3acd0f0aa4bdc9f6c1af8e8962e0757", size = 150423 }, - { url = "https://files.pythonhosted.org/packages/f0/b8/e6825e25deb691ff98cf5c9072ee0605dc2acfca98af70c2d1b1bc75190d/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2369eea1ee4a7610a860d88f268eb39b95cb588acd7235e02fd5a5601773d4fa", size = 143184 }, - { url = "https://files.pythonhosted.org/packages/3e/a2/513f6cbe752421f16d969e32f3583762bfd583848b763913ddab8d9bfd4f/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc2722592d8998c870fa4e290c2eec2c1569b87fe58618e67d38b4665dfa680d", size = 145268 }, - { url = "https://files.pythonhosted.org/packages/74/94/8a5277664f27c3c438546f3eb53b33f5b19568eb7424736bdc440a88a31f/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffc9202a29ab3920fa812879e95a9e78b2465fd10be7fcbd042899695d75e616", size = 147601 }, - { url = "https://files.pythonhosted.org/packages/7c/5f/6d352c51ee763623a98e31194823518e09bfa48be2a7e8383cf691bbb3d0/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:804a4d582ba6e5b747c625bf1255e6b1507465494a40a2130978bda7b932c90b", size = 141098 }, - { url = "https://files.pythonhosted.org/packages/78/d4/f5704cb629ba5ab16d1d3d741396aec6dc3ca2b67757c45b0599bb010478/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:0f55e69f030f7163dffe9fd0752b32f070566451afe180f99dbeeb81f511ad8d", size = 149520 }, - { url = "https://files.pythonhosted.org/packages/c5/96/64120b1d02b81785f222b976c0fb79a35875457fa9bb40827678e54d1bc8/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c4c3e6da02df6fa1410a7680bd3f63d4f710232d3139089536310d027950696a", size = 152852 }, - { url = "https://files.pythonhosted.org/packages/84/c9/98e3732278a99f47d487fd3468bc60b882920cef29d1fa6ca460a1fdf4e6/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:5df196eb874dae23dcfb968c83d4f8fdccb333330fe1fc278ac5ceeb101003a9", size = 150488 }, - { url = "https://files.pythonhosted.org/packages/13/0e/9c8d4cb99c98c1007cc11eda969ebfe837bbbd0acdb4736d228ccaabcd22/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e358e64305fe12299a08e08978f51fc21fac060dcfcddd95453eabe5b93ed0e1", size = 146192 }, - { url = "https://files.pythonhosted.org/packages/b2/21/2b6b5b860781a0b49427309cb8670785aa543fb2178de875b87b9cc97746/charset_normalizer-3.4.1-cp312-cp312-win32.whl", hash = "sha256:9b23ca7ef998bc739bf6ffc077c2116917eabcc901f88da1b9856b210ef63f35", size = 95550 }, - { url = "https://files.pythonhosted.org/packages/21/5b/1b390b03b1d16c7e382b561c5329f83cc06623916aab983e8ab9239c7d5c/charset_normalizer-3.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:6ff8a4a60c227ad87030d76e99cd1698345d4491638dfa6673027c48b3cd395f", size = 102785 }, - { url = "https://files.pythonhosted.org/packages/0e/f6/65ecc6878a89bb1c23a086ea335ad4bf21a588990c3f535a227b9eea9108/charset_normalizer-3.4.1-py3-none-any.whl", hash = "sha256:d98b1668f06378c6dbefec3b92299716b931cd4e6061f3c875a71ced1780ab85", size = 49767 }, +sdist = { url = "https://files.pythonhosted.org/packages/16/b0/572805e227f01586461c80e0fd25d65a2115599cc9dad142fee4b747c357/charset_normalizer-3.4.1.tar.gz", hash = "sha256:44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3", size = 123188, upload-time = "2024-12-24T18:12:35.43Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/72/80/41ef5d5a7935d2d3a773e3eaebf0a9350542f2cab4eac59a7a4741fbbbbe/charset_normalizer-3.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:8bfa33f4f2672964266e940dd22a195989ba31669bd84629f05fab3ef4e2d125", size = 194995, upload-time = "2024-12-24T18:10:12.838Z" }, + { url = "https://files.pythonhosted.org/packages/7a/28/0b9fefa7b8b080ec492110af6d88aa3dea91c464b17d53474b6e9ba5d2c5/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:28bf57629c75e810b6ae989f03c0828d64d6b26a5e205535585f96093e405ed1", size = 139471, upload-time = "2024-12-24T18:10:14.101Z" }, + { url = "https://files.pythonhosted.org/packages/71/64/d24ab1a997efb06402e3fc07317e94da358e2585165930d9d59ad45fcae2/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f08ff5e948271dc7e18a35641d2f11a4cd8dfd5634f55228b691e62b37125eb3", size = 149831, upload-time = "2024-12-24T18:10:15.512Z" }, + { url = "https://files.pythonhosted.org/packages/37/ed/be39e5258e198655240db5e19e0b11379163ad7070962d6b0c87ed2c4d39/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:234ac59ea147c59ee4da87a0c0f098e9c8d169f4dc2a159ef720f1a61bbe27cd", size = 142335, upload-time = "2024-12-24T18:10:18.369Z" }, + { url = "https://files.pythonhosted.org/packages/88/83/489e9504711fa05d8dde1574996408026bdbdbd938f23be67deebb5eca92/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd4ec41f914fa74ad1b8304bbc634b3de73d2a0889bd32076342a573e0779e00", size = 143862, upload-time = "2024-12-24T18:10:19.743Z" }, + { url = "https://files.pythonhosted.org/packages/c6/c7/32da20821cf387b759ad24627a9aca289d2822de929b8a41b6241767b461/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eea6ee1db730b3483adf394ea72f808b6e18cf3cb6454b4d86e04fa8c4327a12", size = 145673, upload-time = "2024-12-24T18:10:21.139Z" }, + { url = "https://files.pythonhosted.org/packages/68/85/f4288e96039abdd5aeb5c546fa20a37b50da71b5cf01e75e87f16cd43304/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c96836c97b1238e9c9e3fe90844c947d5afbf4f4c92762679acfe19927d81d77", size = 140211, upload-time = "2024-12-24T18:10:22.382Z" }, + { url = "https://files.pythonhosted.org/packages/28/a3/a42e70d03cbdabc18997baf4f0227c73591a08041c149e710045c281f97b/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4d86f7aff21ee58f26dcf5ae81a9addbd914115cdebcbb2217e4f0ed8982e146", size = 148039, upload-time = "2024-12-24T18:10:24.802Z" }, + { url = "https://files.pythonhosted.org/packages/85/e4/65699e8ab3014ecbe6f5c71d1a55d810fb716bbfd74f6283d5c2aa87febf/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:09b5e6733cbd160dcc09589227187e242a30a49ca5cefa5a7edd3f9d19ed53fd", size = 151939, upload-time = "2024-12-24T18:10:26.124Z" }, + { url = "https://files.pythonhosted.org/packages/b1/82/8e9fe624cc5374193de6860aba3ea8070f584c8565ee77c168ec13274bd2/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:5777ee0881f9499ed0f71cc82cf873d9a0ca8af166dfa0af8ec4e675b7df48e6", size = 149075, upload-time = "2024-12-24T18:10:30.027Z" }, + { url = "https://files.pythonhosted.org/packages/3d/7b/82865ba54c765560c8433f65e8acb9217cb839a9e32b42af4aa8e945870f/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:237bdbe6159cff53b4f24f397d43c6336c6b0b42affbe857970cefbb620911c8", size = 144340, upload-time = "2024-12-24T18:10:32.679Z" }, + { url = "https://files.pythonhosted.org/packages/b5/b6/9674a4b7d4d99a0d2df9b215da766ee682718f88055751e1e5e753c82db0/charset_normalizer-3.4.1-cp311-cp311-win32.whl", hash = "sha256:8417cb1f36cc0bc7eaba8ccb0e04d55f0ee52df06df3ad55259b9a323555fc8b", size = 95205, upload-time = "2024-12-24T18:10:34.724Z" }, + { url = "https://files.pythonhosted.org/packages/1e/ab/45b180e175de4402dcf7547e4fb617283bae54ce35c27930a6f35b6bef15/charset_normalizer-3.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:d7f50a1f8c450f3925cb367d011448c39239bb3eb4117c36a6d354794de4ce76", size = 102441, upload-time = "2024-12-24T18:10:37.574Z" }, + { url = "https://files.pythonhosted.org/packages/0a/9a/dd1e1cdceb841925b7798369a09279bd1cf183cef0f9ddf15a3a6502ee45/charset_normalizer-3.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:73d94b58ec7fecbc7366247d3b0b10a21681004153238750bb67bd9012414545", size = 196105, upload-time = "2024-12-24T18:10:38.83Z" }, + { url = "https://files.pythonhosted.org/packages/d3/8c/90bfabf8c4809ecb648f39794cf2a84ff2e7d2a6cf159fe68d9a26160467/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dad3e487649f498dd991eeb901125411559b22e8d7ab25d3aeb1af367df5efd7", size = 140404, upload-time = "2024-12-24T18:10:44.272Z" }, + { url = "https://files.pythonhosted.org/packages/ad/8f/e410d57c721945ea3b4f1a04b74f70ce8fa800d393d72899f0a40526401f/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c30197aa96e8eed02200a83fba2657b4c3acd0f0aa4bdc9f6c1af8e8962e0757", size = 150423, upload-time = "2024-12-24T18:10:45.492Z" }, + { url = "https://files.pythonhosted.org/packages/f0/b8/e6825e25deb691ff98cf5c9072ee0605dc2acfca98af70c2d1b1bc75190d/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2369eea1ee4a7610a860d88f268eb39b95cb588acd7235e02fd5a5601773d4fa", size = 143184, upload-time = "2024-12-24T18:10:47.898Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a2/513f6cbe752421f16d969e32f3583762bfd583848b763913ddab8d9bfd4f/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc2722592d8998c870fa4e290c2eec2c1569b87fe58618e67d38b4665dfa680d", size = 145268, upload-time = "2024-12-24T18:10:50.589Z" }, + { url = "https://files.pythonhosted.org/packages/74/94/8a5277664f27c3c438546f3eb53b33f5b19568eb7424736bdc440a88a31f/charset_normalizer-3.4.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffc9202a29ab3920fa812879e95a9e78b2465fd10be7fcbd042899695d75e616", size = 147601, upload-time = "2024-12-24T18:10:52.541Z" }, + { url = "https://files.pythonhosted.org/packages/7c/5f/6d352c51ee763623a98e31194823518e09bfa48be2a7e8383cf691bbb3d0/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:804a4d582ba6e5b747c625bf1255e6b1507465494a40a2130978bda7b932c90b", size = 141098, upload-time = "2024-12-24T18:10:53.789Z" }, + { url = "https://files.pythonhosted.org/packages/78/d4/f5704cb629ba5ab16d1d3d741396aec6dc3ca2b67757c45b0599bb010478/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:0f55e69f030f7163dffe9fd0752b32f070566451afe180f99dbeeb81f511ad8d", size = 149520, upload-time = "2024-12-24T18:10:55.048Z" }, + { url = "https://files.pythonhosted.org/packages/c5/96/64120b1d02b81785f222b976c0fb79a35875457fa9bb40827678e54d1bc8/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c4c3e6da02df6fa1410a7680bd3f63d4f710232d3139089536310d027950696a", size = 152852, upload-time = "2024-12-24T18:10:57.647Z" }, + { url = "https://files.pythonhosted.org/packages/84/c9/98e3732278a99f47d487fd3468bc60b882920cef29d1fa6ca460a1fdf4e6/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:5df196eb874dae23dcfb968c83d4f8fdccb333330fe1fc278ac5ceeb101003a9", size = 150488, upload-time = "2024-12-24T18:10:59.43Z" }, + { url = "https://files.pythonhosted.org/packages/13/0e/9c8d4cb99c98c1007cc11eda969ebfe837bbbd0acdb4736d228ccaabcd22/charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e358e64305fe12299a08e08978f51fc21fac060dcfcddd95453eabe5b93ed0e1", size = 146192, upload-time = "2024-12-24T18:11:00.676Z" }, + { url = "https://files.pythonhosted.org/packages/b2/21/2b6b5b860781a0b49427309cb8670785aa543fb2178de875b87b9cc97746/charset_normalizer-3.4.1-cp312-cp312-win32.whl", hash = "sha256:9b23ca7ef998bc739bf6ffc077c2116917eabcc901f88da1b9856b210ef63f35", size = 95550, upload-time = "2024-12-24T18:11:01.952Z" }, + { url = "https://files.pythonhosted.org/packages/21/5b/1b390b03b1d16c7e382b561c5329f83cc06623916aab983e8ab9239c7d5c/charset_normalizer-3.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:6ff8a4a60c227ad87030d76e99cd1698345d4491638dfa6673027c48b3cd395f", size = 102785, upload-time = "2024-12-24T18:11:03.142Z" }, + { url = "https://files.pythonhosted.org/packages/38/94/ce8e6f63d18049672c76d07d119304e1e2d7c6098f0841b51c666e9f44a0/charset_normalizer-3.4.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:aabfa34badd18f1da5ec1bc2715cadc8dca465868a4e73a0173466b688f29dda", size = 195698, upload-time = "2024-12-24T18:11:05.834Z" }, + { url = "https://files.pythonhosted.org/packages/24/2e/dfdd9770664aae179a96561cc6952ff08f9a8cd09a908f259a9dfa063568/charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22e14b5d70560b8dd51ec22863f370d1e595ac3d024cb8ad7d308b4cd95f8313", size = 140162, upload-time = "2024-12-24T18:11:07.064Z" }, + { url = "https://files.pythonhosted.org/packages/24/4e/f646b9093cff8fc86f2d60af2de4dc17c759de9d554f130b140ea4738ca6/charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8436c508b408b82d87dc5f62496973a1805cd46727c34440b0d29d8a2f50a6c9", size = 150263, upload-time = "2024-12-24T18:11:08.374Z" }, + { url = "https://files.pythonhosted.org/packages/5e/67/2937f8d548c3ef6e2f9aab0f6e21001056f692d43282b165e7c56023e6dd/charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2d074908e1aecee37a7635990b2c6d504cd4766c7bc9fc86d63f9c09af3fa11b", size = 142966, upload-time = "2024-12-24T18:11:09.831Z" }, + { url = "https://files.pythonhosted.org/packages/52/ed/b7f4f07de100bdb95c1756d3a4d17b90c1a3c53715c1a476f8738058e0fa/charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:955f8851919303c92343d2f66165294848d57e9bba6cf6e3625485a70a038d11", size = 144992, upload-time = "2024-12-24T18:11:12.03Z" }, + { url = "https://files.pythonhosted.org/packages/96/2c/d49710a6dbcd3776265f4c923bb73ebe83933dfbaa841c5da850fe0fd20b/charset_normalizer-3.4.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:44ecbf16649486d4aebafeaa7ec4c9fed8b88101f4dd612dcaf65d5e815f837f", size = 147162, upload-time = "2024-12-24T18:11:13.372Z" }, + { url = "https://files.pythonhosted.org/packages/b4/41/35ff1f9a6bd380303dea55e44c4933b4cc3c4850988927d4082ada230273/charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:0924e81d3d5e70f8126529951dac65c1010cdf117bb75eb02dd12339b57749dd", size = 140972, upload-time = "2024-12-24T18:11:14.628Z" }, + { url = "https://files.pythonhosted.org/packages/fb/43/c6a0b685fe6910d08ba971f62cd9c3e862a85770395ba5d9cad4fede33ab/charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2967f74ad52c3b98de4c3b32e1a44e32975e008a9cd2a8cc8966d6a5218c5cb2", size = 149095, upload-time = "2024-12-24T18:11:17.672Z" }, + { url = "https://files.pythonhosted.org/packages/4c/ff/a9a504662452e2d2878512115638966e75633519ec11f25fca3d2049a94a/charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c75cb2a3e389853835e84a2d8fb2b81a10645b503eca9bcb98df6b5a43eb8886", size = 152668, upload-time = "2024-12-24T18:11:18.989Z" }, + { url = "https://files.pythonhosted.org/packages/6c/71/189996b6d9a4b932564701628af5cee6716733e9165af1d5e1b285c530ed/charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:09b26ae6b1abf0d27570633b2b078a2a20419c99d66fb2823173d73f188ce601", size = 150073, upload-time = "2024-12-24T18:11:21.507Z" }, + { url = "https://files.pythonhosted.org/packages/e4/93/946a86ce20790e11312c87c75ba68d5f6ad2208cfb52b2d6a2c32840d922/charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fa88b843d6e211393a37219e6a1c1df99d35e8fd90446f1118f4216e307e48cd", size = 145732, upload-time = "2024-12-24T18:11:22.774Z" }, + { url = "https://files.pythonhosted.org/packages/cd/e5/131d2fb1b0dddafc37be4f3a2fa79aa4c037368be9423061dccadfd90091/charset_normalizer-3.4.1-cp313-cp313-win32.whl", hash = "sha256:eb8178fe3dba6450a3e024e95ac49ed3400e506fd4e9e5c32d30adda88cbd407", size = 95391, upload-time = "2024-12-24T18:11:24.139Z" }, + { url = "https://files.pythonhosted.org/packages/27/f2/4f9a69cc7712b9b5ad8fdb87039fd89abba997ad5cbe690d1835d40405b0/charset_normalizer-3.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:b1ac5992a838106edb89654e0aebfc24f5848ae2547d22c2c3f66454daa11971", size = 102702, upload-time = "2024-12-24T18:11:26.535Z" }, + { url = "https://files.pythonhosted.org/packages/0e/f6/65ecc6878a89bb1c23a086ea335ad4bf21a588990c3f535a227b9eea9108/charset_normalizer-3.4.1-py3-none-any.whl", hash = "sha256:d98b1668f06378c6dbefec3b92299716b931cd4e6061f3c875a71ced1780ab85", size = 49767, upload-time = "2024-12-24T18:12:32.852Z" }, ] [[package]] @@ -131,57 +107,91 @@ source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593 } +sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593, upload-time = "2024-12-21T18:38:44.339Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188 }, + { url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188, upload-time = "2024-12-21T18:38:41.666Z" }, ] [[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 } +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 }, + { 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 = "coverage" -version = "7.6.10" +name = "coloredlogs" +version = "15.0.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/84/ba/ac14d281f80aab516275012e8875991bb06203957aa1e19950139238d658/coverage-7.6.10.tar.gz", hash = "sha256:7fb105327c8f8f0682e29843e2ff96af9dcbe5bab8eeb4b398c6a33a16d80a23", size = 803868 } +dependencies = [ + { name = "humanfriendly" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/cc/c7/eed8f27100517e8c0e6b923d5f0845d0cb99763da6fdee00478f91db7325/coloredlogs-15.0.1.tar.gz", hash = "sha256:7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0", size = 278520, upload-time = "2021-06-11T10:22:45.202Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c5/12/2a2a923edf4ddabdffed7ad6da50d96a5c126dae7b80a33df7310e329a1e/coverage-7.6.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5c912978f7fbf47ef99cec50c4401340436d200d41d714c7a4766f377c5b7b78", size = 207982 }, - { url = "https://files.pythonhosted.org/packages/ca/49/6985dbca9c7be3f3cb62a2e6e492a0c88b65bf40579e16c71ae9c33c6b23/coverage-7.6.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a01ec4af7dfeb96ff0078ad9a48810bb0cc8abcb0115180c6013a6b26237626c", size = 208414 }, - { url = "https://files.pythonhosted.org/packages/35/93/287e8f1d1ed2646f4e0b2605d14616c9a8a2697d0d1b453815eb5c6cebdb/coverage-7.6.10-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a3b204c11e2b2d883946fe1d97f89403aa1811df28ce0447439178cc7463448a", size = 236860 }, - { url = "https://files.pythonhosted.org/packages/de/e1/cfdb5627a03567a10031acc629b75d45a4ca1616e54f7133ca1fa366050a/coverage-7.6.10-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:32ee6d8491fcfc82652a37109f69dee9a830e9379166cb73c16d8dc5c2915165", size = 234758 }, - { url = "https://files.pythonhosted.org/packages/6d/85/fc0de2bcda3f97c2ee9fe8568f7d48f7279e91068958e5b2cc19e0e5f600/coverage-7.6.10-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675cefc4c06e3b4c876b85bfb7c59c5e2218167bbd4da5075cbe3b5790a28988", size = 235920 }, - { url = "https://files.pythonhosted.org/packages/79/73/ef4ea0105531506a6f4cf4ba571a214b14a884630b567ed65b3d9c1975e1/coverage-7.6.10-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f4f620668dbc6f5e909a0946a877310fb3d57aea8198bde792aae369ee1c23b5", size = 234986 }, - { url = "https://files.pythonhosted.org/packages/c6/4d/75afcfe4432e2ad0405c6f27adeb109ff8976c5e636af8604f94f29fa3fc/coverage-7.6.10-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:4eea95ef275de7abaef630c9b2c002ffbc01918b726a39f5a4353916ec72d2f3", size = 233446 }, - { url = "https://files.pythonhosted.org/packages/86/5b/efee56a89c16171288cafff022e8af44f8f94075c2d8da563c3935212871/coverage-7.6.10-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e2f0280519e42b0a17550072861e0bc8a80a0870de260f9796157d3fca2733c5", size = 234566 }, - { url = "https://files.pythonhosted.org/packages/f2/db/67770cceb4a64d3198bf2aa49946f411b85ec6b0a9b489e61c8467a4253b/coverage-7.6.10-cp310-cp310-win32.whl", hash = "sha256:bc67deb76bc3717f22e765ab3e07ee9c7a5e26b9019ca19a3b063d9f4b874244", size = 210675 }, - { url = "https://files.pythonhosted.org/packages/8d/27/e8bfc43f5345ec2c27bc8a1fa77cdc5ce9dcf954445e11f14bb70b889d14/coverage-7.6.10-cp310-cp310-win_amd64.whl", hash = "sha256:0f460286cb94036455e703c66988851d970fdfd8acc2a1122ab7f4f904e4029e", size = 211518 }, - { url = "https://files.pythonhosted.org/packages/85/d2/5e175fcf6766cf7501a8541d81778fd2f52f4870100e791f5327fd23270b/coverage-7.6.10-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ea3c8f04b3e4af80e17bab607c386a830ffc2fb88a5484e1df756478cf70d1d3", size = 208088 }, - { url = "https://files.pythonhosted.org/packages/4b/6f/06db4dc8fca33c13b673986e20e466fd936235a6ec1f0045c3853ac1b593/coverage-7.6.10-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:507a20fc863cae1d5720797761b42d2d87a04b3e5aeb682ef3b7332e90598f43", size = 208536 }, - { url = "https://files.pythonhosted.org/packages/0d/62/c6a0cf80318c1c1af376d52df444da3608eafc913b82c84a4600d8349472/coverage-7.6.10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d37a84878285b903c0fe21ac8794c6dab58150e9359f1aaebbeddd6412d53132", size = 240474 }, - { url = "https://files.pythonhosted.org/packages/a3/59/750adafc2e57786d2e8739a46b680d4fb0fbc2d57fbcb161290a9f1ecf23/coverage-7.6.10-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a534738b47b0de1995f85f582d983d94031dffb48ab86c95bdf88dc62212142f", size = 237880 }, - { url = "https://files.pythonhosted.org/packages/2c/f8/ef009b3b98e9f7033c19deb40d629354aab1d8b2d7f9cfec284dbedf5096/coverage-7.6.10-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d7a2bf79378d8fb8afaa994f91bfd8215134f8631d27eba3e0e2c13546ce994", size = 239750 }, - { url = "https://files.pythonhosted.org/packages/a6/e2/6622f3b70f5f5b59f705e680dae6db64421af05a5d1e389afd24dae62e5b/coverage-7.6.10-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6713ba4b4ebc330f3def51df1d5d38fad60b66720948112f114968feb52d3f99", size = 238642 }, - { url = "https://files.pythonhosted.org/packages/2d/10/57ac3f191a3c95c67844099514ff44e6e19b2915cd1c22269fb27f9b17b6/coverage-7.6.10-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:ab32947f481f7e8c763fa2c92fd9f44eeb143e7610c4ca9ecd6a36adab4081bd", size = 237266 }, - { url = "https://files.pythonhosted.org/packages/ee/2d/7016f4ad9d553cabcb7333ed78ff9d27248ec4eba8dd21fa488254dff894/coverage-7.6.10-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7bbd8c8f1b115b892e34ba66a097b915d3871db7ce0e6b9901f462ff3a975377", size = 238045 }, - { url = "https://files.pythonhosted.org/packages/a7/fe/45af5c82389a71e0cae4546413266d2195c3744849669b0bab4b5f2c75da/coverage-7.6.10-cp311-cp311-win32.whl", hash = "sha256:299e91b274c5c9cdb64cbdf1b3e4a8fe538a7a86acdd08fae52301b28ba297f8", size = 210647 }, - { url = "https://files.pythonhosted.org/packages/db/11/3f8e803a43b79bc534c6a506674da9d614e990e37118b4506faf70d46ed6/coverage-7.6.10-cp311-cp311-win_amd64.whl", hash = "sha256:489a01f94aa581dbd961f306e37d75d4ba16104bbfa2b0edb21d29b73be83609", size = 211508 }, - { url = "https://files.pythonhosted.org/packages/86/77/19d09ea06f92fdf0487499283b1b7af06bc422ea94534c8fe3a4cd023641/coverage-7.6.10-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:27c6e64726b307782fa5cbe531e7647aee385a29b2107cd87ba7c0105a5d3853", size = 208281 }, - { url = "https://files.pythonhosted.org/packages/b6/67/5479b9f2f99fcfb49c0d5cf61912a5255ef80b6e80a3cddba39c38146cf4/coverage-7.6.10-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c56e097019e72c373bae32d946ecf9858fda841e48d82df7e81c63ac25554078", size = 208514 }, - { url = "https://files.pythonhosted.org/packages/15/d1/febf59030ce1c83b7331c3546d7317e5120c5966471727aa7ac157729c4b/coverage-7.6.10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7827a5bc7bdb197b9e066cdf650b2887597ad124dd99777332776f7b7c7d0d0", size = 241537 }, - { url = "https://files.pythonhosted.org/packages/4b/7e/5ac4c90192130e7cf8b63153fe620c8bfd9068f89a6d9b5f26f1550f7a26/coverage-7.6.10-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:204a8238afe787323a8b47d8be4df89772d5c1e4651b9ffa808552bdf20e1d50", size = 238572 }, - { url = "https://files.pythonhosted.org/packages/dc/03/0334a79b26ecf59958f2fe9dd1f5ab3e2f88db876f5071933de39af09647/coverage-7.6.10-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e67926f51821b8e9deb6426ff3164870976fe414d033ad90ea75e7ed0c2e5022", size = 240639 }, - { url = "https://files.pythonhosted.org/packages/d7/45/8a707f23c202208d7b286d78ad6233f50dcf929319b664b6cc18a03c1aae/coverage-7.6.10-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e78b270eadb5702938c3dbe9367f878249b5ef9a2fcc5360ac7bff694310d17b", size = 240072 }, - { url = "https://files.pythonhosted.org/packages/66/02/603ce0ac2d02bc7b393279ef618940b4a0535b0868ee791140bda9ecfa40/coverage-7.6.10-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:714f942b9c15c3a7a5fe6876ce30af831c2ad4ce902410b7466b662358c852c0", size = 238386 }, - { url = "https://files.pythonhosted.org/packages/04/62/4e6887e9be060f5d18f1dd58c2838b2d9646faf353232dec4e2d4b1c8644/coverage-7.6.10-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:abb02e2f5a3187b2ac4cd46b8ced85a0858230b577ccb2c62c81482ca7d18852", size = 240054 }, - { url = "https://files.pythonhosted.org/packages/5c/74/83ae4151c170d8bd071924f212add22a0e62a7fe2b149edf016aeecad17c/coverage-7.6.10-cp312-cp312-win32.whl", hash = "sha256:55b201b97286cf61f5e76063f9e2a1d8d2972fc2fcfd2c1272530172fd28c359", size = 210904 }, - { url = "https://files.pythonhosted.org/packages/c3/54/de0893186a221478f5880283119fc40483bc460b27c4c71d1b8bba3474b9/coverage-7.6.10-cp312-cp312-win_amd64.whl", hash = "sha256:e4ae5ac5e0d1e4edfc9b4b57b4cbecd5bc266a6915c500f358817a8496739247", size = 211692 }, - { url = "https://files.pythonhosted.org/packages/a1/70/de81bfec9ed38a64fc44a77c7665e20ca507fc3265597c28b0d989e4082e/coverage-7.6.10-pp39.pp310-none-any.whl", hash = "sha256:fd34e7b3405f0cc7ab03d54a334c17a9e802897580d964bd8c2001f4b9fd488f", size = 200223 }, + { url = "https://files.pythonhosted.org/packages/a7/06/3d6badcf13db419e25b07041d9c7b4a2c331d3f4e7134445ec5df57714cd/coloredlogs-15.0.1-py2.py3-none-any.whl", hash = "sha256:612ee75c546f53e92e70049c9dbfcc18c935a2b9a53b66085ce9ef6a6e5c0934", size = 46018, upload-time = "2021-06-11T10:22:42.561Z" }, +] + +[[package]] +name = "coverage" +version = "7.13.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ad/49/349848445b0e53660e258acbcc9b0d014895b6739237920886672240f84b/coverage-7.13.2.tar.gz", hash = "sha256:044c6951ec37146b72a50cc81ef02217d27d4c3640efd2640311393cbbf143d3", size = 826523, upload-time = "2026-01-25T13:00:04.889Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/01/abca50583a8975bb6e1c59eff67ed8e48bb127c07dad5c28d9e96ccc09ec/coverage-7.13.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:060ebf6f2c51aff5ba38e1f43a2095e087389b1c69d559fde6049a4b0001320e", size = 218971, upload-time = "2026-01-25T12:57:36.953Z" }, + { url = "https://files.pythonhosted.org/packages/eb/0e/b6489f344d99cd1e5b4d5e1be52dfd3f8a3dc5112aa6c33948da8cabad4e/coverage-7.13.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c1ea8ca9db5e7469cd364552985e15911548ea5b69c48a17291f0cac70484b2e", size = 219473, upload-time = "2026-01-25T12:57:38.934Z" }, + { url = "https://files.pythonhosted.org/packages/17/11/db2f414915a8e4ec53f60b17956c27f21fb68fcf20f8a455ce7c2ccec638/coverage-7.13.2-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b780090d15fd58f07cf2011943e25a5f0c1c894384b13a216b6c86c8a8a7c508", size = 249896, upload-time = "2026-01-25T12:57:40.365Z" }, + { url = "https://files.pythonhosted.org/packages/80/06/0823fe93913663c017e508e8810c998c8ebd3ec2a5a85d2c3754297bdede/coverage-7.13.2-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:88a800258d83acb803c38175b4495d293656d5fac48659c953c18e5f539a274b", size = 251810, upload-time = "2026-01-25T12:57:42.045Z" }, + { url = "https://files.pythonhosted.org/packages/61/dc/b151c3cc41b28cdf7f0166c5fa1271cbc305a8ec0124cce4b04f74791a18/coverage-7.13.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6326e18e9a553e674d948536a04a80d850a5eeefe2aae2e6d7cf05d54046c01b", size = 253920, upload-time = "2026-01-25T12:57:44.026Z" }, + { url = "https://files.pythonhosted.org/packages/2d/35/e83de0556e54a4729a2b94ea816f74ce08732e81945024adee46851c2264/coverage-7.13.2-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:59562de3f797979e1ff07c587e2ac36ba60ca59d16c211eceaa579c266c5022f", size = 250025, upload-time = "2026-01-25T12:57:45.624Z" }, + { url = "https://files.pythonhosted.org/packages/39/67/af2eb9c3926ce3ea0d58a0d2516fcbdacf7a9fc9559fe63076beaf3f2596/coverage-7.13.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:27ba1ed6f66b0e2d61bfa78874dffd4f8c3a12f8e2b5410e515ab345ba7bc9c3", size = 251612, upload-time = "2026-01-25T12:57:47.713Z" }, + { url = "https://files.pythonhosted.org/packages/26/62/5be2e25f3d6c711d23b71296f8b44c978d4c8b4e5b26871abfc164297502/coverage-7.13.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8be48da4d47cc68754ce643ea50b3234557cbefe47c2f120495e7bd0a2756f2b", size = 249670, upload-time = "2026-01-25T12:57:49.378Z" }, + { url = "https://files.pythonhosted.org/packages/b3/51/400d1b09a8344199f9b6a6fc1868005d766b7ea95e7882e494fa862ca69c/coverage-7.13.2-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:2a47a4223d3361b91176aedd9d4e05844ca67d7188456227b6bf5e436630c9a1", size = 249395, upload-time = "2026-01-25T12:57:50.86Z" }, + { url = "https://files.pythonhosted.org/packages/e0/36/f02234bc6e5230e2f0a63fd125d0a2093c73ef20fdf681c7af62a140e4e7/coverage-7.13.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c6f141b468740197d6bd38f2b26ade124363228cc3f9858bd9924ab059e00059", size = 250298, upload-time = "2026-01-25T12:57:52.287Z" }, + { url = "https://files.pythonhosted.org/packages/b0/06/713110d3dd3151b93611c9cbfc65c15b4156b44f927fced49ac0b20b32a4/coverage-7.13.2-cp311-cp311-win32.whl", hash = "sha256:89567798404af067604246e01a49ef907d112edf2b75ef814b1364d5ce267031", size = 221485, upload-time = "2026-01-25T12:57:53.876Z" }, + { url = "https://files.pythonhosted.org/packages/16/0c/3ae6255fa1ebcb7dec19c9a59e85ef5f34566d1265c70af5b2fc981da834/coverage-7.13.2-cp311-cp311-win_amd64.whl", hash = "sha256:21dd57941804ae2ac7e921771a5e21bbf9aabec317a041d164853ad0a96ce31e", size = 222421, upload-time = "2026-01-25T12:57:55.433Z" }, + { url = "https://files.pythonhosted.org/packages/b5/37/fabc3179af4d61d89ea47bd04333fec735cd5e8b59baad44fed9fc4170d7/coverage-7.13.2-cp311-cp311-win_arm64.whl", hash = "sha256:10758e0586c134a0bafa28f2d37dd2cdb5e4a90de25c0fc0c77dabbad46eca28", size = 221088, upload-time = "2026-01-25T12:57:57.41Z" }, + { url = "https://files.pythonhosted.org/packages/46/39/e92a35f7800222d3f7b2cbb7bbc3b65672ae8d501cb31801b2d2bd7acdf1/coverage-7.13.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f106b2af193f965d0d3234f3f83fc35278c7fb935dfbde56ae2da3dd2c03b84d", size = 219142, upload-time = "2026-01-25T12:58:00.448Z" }, + { url = "https://files.pythonhosted.org/packages/45/7a/8bf9e9309c4c996e65c52a7c5a112707ecdd9fbaf49e10b5a705a402bbb4/coverage-7.13.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:78f45d21dc4d5d6bd29323f0320089ef7eae16e4bef712dff79d184fa7330af3", size = 219503, upload-time = "2026-01-25T12:58:02.451Z" }, + { url = "https://files.pythonhosted.org/packages/87/93/17661e06b7b37580923f3f12406ac91d78aeed293fb6da0b69cc7957582f/coverage-7.13.2-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:fae91dfecd816444c74531a9c3d6ded17a504767e97aa674d44f638107265b99", size = 251006, upload-time = "2026-01-25T12:58:04.059Z" }, + { url = "https://files.pythonhosted.org/packages/12/f0/f9e59fb8c310171497f379e25db060abef9fa605e09d63157eebec102676/coverage-7.13.2-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:264657171406c114787b441484de620e03d8f7202f113d62fcd3d9688baa3e6f", size = 253750, upload-time = "2026-01-25T12:58:05.574Z" }, + { url = "https://files.pythonhosted.org/packages/e5/b1/1935e31add2232663cf7edd8269548b122a7d100047ff93475dbaaae673e/coverage-7.13.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae47d8dcd3ded0155afbb59c62bd8ab07ea0fd4902e1c40567439e6db9dcaf2f", size = 254862, upload-time = "2026-01-25T12:58:07.647Z" }, + { url = "https://files.pythonhosted.org/packages/af/59/b5e97071ec13df5f45da2b3391b6cdbec78ba20757bc92580a5b3d5fa53c/coverage-7.13.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8a0b33e9fd838220b007ce8f299114d406c1e8edb21336af4c97a26ecfd185aa", size = 251420, upload-time = "2026-01-25T12:58:09.309Z" }, + { url = "https://files.pythonhosted.org/packages/3f/75/9495932f87469d013dc515fb0ce1aac5fa97766f38f6b1a1deb1ee7b7f3a/coverage-7.13.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b3becbea7f3ce9a2d4d430f223ec15888e4deb31395840a79e916368d6004cce", size = 252786, upload-time = "2026-01-25T12:58:10.909Z" }, + { url = "https://files.pythonhosted.org/packages/6a/59/af550721f0eb62f46f7b8cb7e6f1860592189267b1c411a4e3a057caacee/coverage-7.13.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:f819c727a6e6eeb8711e4ce63d78c620f69630a2e9d53bc95ca5379f57b6ba94", size = 250928, upload-time = "2026-01-25T12:58:12.449Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b1/21b4445709aae500be4ab43bbcfb4e53dc0811c3396dcb11bf9f23fd0226/coverage-7.13.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:4f7b71757a3ab19f7ba286e04c181004c1d61be921795ee8ba6970fd0ec91da5", size = 250496, upload-time = "2026-01-25T12:58:14.047Z" }, + { url = "https://files.pythonhosted.org/packages/ba/b1/0f5d89dfe0392990e4f3980adbde3eb34885bc1effb2dc369e0bf385e389/coverage-7.13.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b7fc50d2afd2e6b4f6f2f403b70103d280a8e0cb35320cbbe6debcda02a1030b", size = 252373, upload-time = "2026-01-25T12:58:15.976Z" }, + { url = "https://files.pythonhosted.org/packages/01/c9/0cf1a6a57a9968cc049a6b896693faa523c638a5314b1fc374eb2b2ac904/coverage-7.13.2-cp312-cp312-win32.whl", hash = "sha256:292250282cf9bcf206b543d7608bda17ca6fc151f4cbae949fc7e115112fbd41", size = 221696, upload-time = "2026-01-25T12:58:17.517Z" }, + { url = "https://files.pythonhosted.org/packages/4d/05/d7540bf983f09d32803911afed135524570f8c47bb394bf6206c1dc3a786/coverage-7.13.2-cp312-cp312-win_amd64.whl", hash = "sha256:eeea10169fac01549a7921d27a3e517194ae254b542102267bef7a93ed38c40e", size = 222504, upload-time = "2026-01-25T12:58:19.115Z" }, + { url = "https://files.pythonhosted.org/packages/15/8b/1a9f037a736ced0a12aacf6330cdaad5008081142a7070bc58b0f7930cbc/coverage-7.13.2-cp312-cp312-win_arm64.whl", hash = "sha256:2a5b567f0b635b592c917f96b9a9cb3dbd4c320d03f4bf94e9084e494f2e8894", size = 221120, upload-time = "2026-01-25T12:58:21.334Z" }, + { url = "https://files.pythonhosted.org/packages/a7/f0/3d3eac7568ab6096ff23791a526b0048a1ff3f49d0e236b2af6fb6558e88/coverage-7.13.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ed75de7d1217cf3b99365d110975f83af0528c849ef5180a12fd91b5064df9d6", size = 219168, upload-time = "2026-01-25T12:58:23.376Z" }, + { url = "https://files.pythonhosted.org/packages/a3/a6/f8b5cfeddbab95fdef4dcd682d82e5dcff7a112ced57a959f89537ee9995/coverage-7.13.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:97e596de8fa9bada4d88fde64a3f4d37f1b6131e4faa32bad7808abc79887ddc", size = 219537, upload-time = "2026-01-25T12:58:24.932Z" }, + { url = "https://files.pythonhosted.org/packages/7b/e6/8d8e6e0c516c838229d1e41cadcec91745f4b1031d4db17ce0043a0423b4/coverage-7.13.2-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:68c86173562ed4413345410c9480a8d64864ac5e54a5cda236748031e094229f", size = 250528, upload-time = "2026-01-25T12:58:26.567Z" }, + { url = "https://files.pythonhosted.org/packages/8e/78/befa6640f74092b86961f957f26504c8fba3d7da57cc2ab7407391870495/coverage-7.13.2-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7be4d613638d678b2b3773b8f687537b284d7074695a43fe2fbbfc0e31ceaed1", size = 253132, upload-time = "2026-01-25T12:58:28.251Z" }, + { url = "https://files.pythonhosted.org/packages/9d/10/1630db1edd8ce675124a2ee0f7becc603d2bb7b345c2387b4b95c6907094/coverage-7.13.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d7f63ce526a96acd0e16c4af8b50b64334239550402fb1607ce6a584a6d62ce9", size = 254374, upload-time = "2026-01-25T12:58:30.294Z" }, + { url = "https://files.pythonhosted.org/packages/ed/1d/0d9381647b1e8e6d310ac4140be9c428a0277330991e0c35bdd751e338a4/coverage-7.13.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:406821f37f864f968e29ac14c3fccae0fec9fdeba48327f0341decf4daf92d7c", size = 250762, upload-time = "2026-01-25T12:58:32.036Z" }, + { url = "https://files.pythonhosted.org/packages/43/e4/5636dfc9a7c871ee8776af83ee33b4c26bc508ad6cee1e89b6419a366582/coverage-7.13.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ee68e5a4e3e5443623406b905db447dceddffee0dceb39f4e0cd9ec2a35004b5", size = 252502, upload-time = "2026-01-25T12:58:33.961Z" }, + { url = "https://files.pythonhosted.org/packages/02/2a/7ff2884d79d420cbb2d12fed6fff727b6d0ef27253140d3cdbbd03187ee0/coverage-7.13.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2ee0e58cca0c17dd9c6c1cdde02bb705c7b3fbfa5f3b0b5afeda20d4ebff8ef4", size = 250463, upload-time = "2026-01-25T12:58:35.529Z" }, + { url = "https://files.pythonhosted.org/packages/91/c0/ba51087db645b6c7261570400fc62c89a16278763f36ba618dc8657a187b/coverage-7.13.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:6e5bbb5018bf76a56aabdb64246b5288d5ae1b7d0dd4d0534fe86df2c2992d1c", size = 250288, upload-time = "2026-01-25T12:58:37.226Z" }, + { url = "https://files.pythonhosted.org/packages/03/07/44e6f428551c4d9faf63ebcefe49b30e5c89d1be96f6a3abd86a52da9d15/coverage-7.13.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a55516c68ef3e08e134e818d5e308ffa6b1337cc8b092b69b24287bf07d38e31", size = 252063, upload-time = "2026-01-25T12:58:38.821Z" }, + { url = "https://files.pythonhosted.org/packages/c2/67/35b730ad7e1859dd57e834d1bc06080d22d2f87457d53f692fce3f24a5a9/coverage-7.13.2-cp313-cp313-win32.whl", hash = "sha256:5b20211c47a8abf4abc3319d8ce2464864fa9f30c5fcaf958a3eed92f4f1fef8", size = 221716, upload-time = "2026-01-25T12:58:40.484Z" }, + { url = "https://files.pythonhosted.org/packages/0d/82/e5fcf5a97c72f45fc14829237a6550bf49d0ab882ac90e04b12a69db76b4/coverage-7.13.2-cp313-cp313-win_amd64.whl", hash = "sha256:14f500232e521201cf031549fb1ebdfc0a40f401cf519157f76c397e586c3beb", size = 222522, upload-time = "2026-01-25T12:58:43.247Z" }, + { url = "https://files.pythonhosted.org/packages/b1/f1/25d7b2f946d239dd2d6644ca2cc060d24f97551e2af13b6c24c722ae5f97/coverage-7.13.2-cp313-cp313-win_arm64.whl", hash = "sha256:9779310cb5a9778a60c899f075a8514c89fa6d10131445c2207fc893e0b14557", size = 221145, upload-time = "2026-01-25T12:58:45Z" }, + { url = "https://files.pythonhosted.org/packages/9e/f7/080376c029c8f76fadfe43911d0daffa0cbdc9f9418a0eead70c56fb7f4b/coverage-7.13.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:e64fa5a1e41ce5df6b547cbc3d3699381c9e2c2c369c67837e716ed0f549d48e", size = 219861, upload-time = "2026-01-25T12:58:46.586Z" }, + { url = "https://files.pythonhosted.org/packages/42/11/0b5e315af5ab35f4c4a70e64d3314e4eec25eefc6dec13be3a7d5ffe8ac5/coverage-7.13.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b01899e82a04085b6561eb233fd688474f57455e8ad35cd82286463ba06332b7", size = 220207, upload-time = "2026-01-25T12:58:48.277Z" }, + { url = "https://files.pythonhosted.org/packages/b2/0c/0874d0318fb1062117acbef06a09cf8b63f3060c22265adaad24b36306b7/coverage-7.13.2-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:838943bea48be0e2768b0cf7819544cdedc1bbb2f28427eabb6eb8c9eb2285d3", size = 261504, upload-time = "2026-01-25T12:58:49.904Z" }, + { url = "https://files.pythonhosted.org/packages/83/5e/1cd72c22ecb30751e43a72f40ba50fcef1b7e93e3ea823bd9feda8e51f9a/coverage-7.13.2-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:93d1d25ec2b27e90bcfef7012992d1f5121b51161b8bffcda756a816cf13c2c3", size = 263582, upload-time = "2026-01-25T12:58:51.582Z" }, + { url = "https://files.pythonhosted.org/packages/9b/da/8acf356707c7a42df4d0657020308e23e5a07397e81492640c186268497c/coverage-7.13.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:93b57142f9621b0d12349c43fc7741fe578e4bc914c1e5a54142856cfc0bf421", size = 266008, upload-time = "2026-01-25T12:58:53.234Z" }, + { url = "https://files.pythonhosted.org/packages/41/41/ea1730af99960309423c6ea8d6a4f1fa5564b2d97bd1d29dda4b42611f04/coverage-7.13.2-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f06799ae1bdfff7ccb8665d75f8291c69110ba9585253de254688aa8a1ccc6c5", size = 260762, upload-time = "2026-01-25T12:58:55.372Z" }, + { url = "https://files.pythonhosted.org/packages/22/fa/02884d2080ba71db64fdc127b311db60e01fe6ba797d9c8363725e39f4d5/coverage-7.13.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:7f9405ab4f81d490811b1d91c7a20361135a2df4c170e7f0b747a794da5b7f23", size = 263571, upload-time = "2026-01-25T12:58:57.52Z" }, + { url = "https://files.pythonhosted.org/packages/d2/6b/4083aaaeba9b3112f55ac57c2ce7001dc4d8fa3fcc228a39f09cc84ede27/coverage-7.13.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:f9ab1d5b86f8fbc97a5b3cd6280a3fd85fef3b028689d8a2c00918f0d82c728c", size = 261200, upload-time = "2026-01-25T12:58:59.255Z" }, + { url = "https://files.pythonhosted.org/packages/e9/d2/aea92fa36d61955e8c416ede9cf9bf142aa196f3aea214bb67f85235a050/coverage-7.13.2-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:f674f59712d67e841525b99e5e2b595250e39b529c3bda14764e4f625a3fa01f", size = 260095, upload-time = "2026-01-25T12:59:01.066Z" }, + { url = "https://files.pythonhosted.org/packages/0d/ae/04ffe96a80f107ea21b22b2367175c621da920063260a1c22f9452fd7866/coverage-7.13.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c6cadac7b8ace1ba9144feb1ae3cb787a6065ba6d23ffc59a934b16406c26573", size = 262284, upload-time = "2026-01-25T12:59:02.802Z" }, + { url = "https://files.pythonhosted.org/packages/1c/7a/6f354dcd7dfc41297791d6fb4e0d618acb55810bde2c1fd14b3939e05c2b/coverage-7.13.2-cp313-cp313t-win32.whl", hash = "sha256:14ae4146465f8e6e6253eba0cccd57423e598a4cb925958b240c805300918343", size = 222389, upload-time = "2026-01-25T12:59:04.563Z" }, + { url = "https://files.pythonhosted.org/packages/8d/d5/080ad292a4a3d3daf411574be0a1f56d6dee2c4fdf6b005342be9fac807f/coverage-7.13.2-cp313-cp313t-win_amd64.whl", hash = "sha256:9074896edd705a05769e3de0eac0a8388484b503b68863dd06d5e473f874fd47", size = 223450, upload-time = "2026-01-25T12:59:06.677Z" }, + { url = "https://files.pythonhosted.org/packages/88/96/df576fbacc522e9fb8d1c4b7a7fc62eb734be56e2cba1d88d2eabe08ea3f/coverage-7.13.2-cp313-cp313t-win_arm64.whl", hash = "sha256:69e526e14f3f854eda573d3cf40cffd29a1a91c684743d904c33dbdcd0e0f3e7", size = 221707, upload-time = "2026-01-25T12:59:08.363Z" }, + { url = "https://files.pythonhosted.org/packages/d2/db/d291e30fdf7ea617a335531e72294e0c723356d7fdde8fba00610a76bda9/coverage-7.13.2-py3-none-any.whl", hash = "sha256:40ce1ea1e25125556d8e76bd0b61500839a07944cc287ac21d5626f3e620cad5", size = 210943, upload-time = "2026-01-25T13:00:02.388Z" }, ] [package.optional-dependencies] @@ -189,159 +199,95 @@ toml = [ { name = "tomli", marker = "python_full_version <= '3.11'" }, ] +[[package]] +name = "detect-secrets" +version = "1.5.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pyyaml" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/69/67/382a863fff94eae5a0cf05542179169a1c49a4c8784a9480621e2066ca7d/detect_secrets-1.5.0.tar.gz", hash = "sha256:6bb46dcc553c10df51475641bb30fd69d25645cc12339e46c824c1e0c388898a", size = 97351, upload-time = "2024-05-06T17:46:19.721Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4e/5e/4f5fe4b89fde1dc3ed0eb51bd4ce4c0bca406246673d370ea2ad0c58d747/detect_secrets-1.5.0-py3-none-any.whl", hash = "sha256:e24e7b9b5a35048c313e983f76c4bd09dad89f045ff059e354f9943bf45aa060", size = 120341, upload-time = "2024-05-06T17:46:16.628Z" }, +] + [[package]] name = "distlib" version = "0.3.9" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/0d/dd/1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d/distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403", size = 613923 } +sdist = { url = "https://files.pythonhosted.org/packages/0d/dd/1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d/distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403", size = 613923, upload-time = "2024-10-09T18:35:47.551Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/91/a1/cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87/distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87", size = 468973 }, + { url = "https://files.pythonhosted.org/packages/91/a1/cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87/distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87", size = 468973, upload-time = "2024-10-09T18:35:44.272Z" }, ] [[package]] -name = "docker" -version = "7.1.0" +name = "docformatter" +version = "1.7.7" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "pywin32", marker = "sys_platform == 'win32'" }, - { name = "requests" }, - { name = "urllib3" }, + { name = "charset-normalizer" }, + { name = "untokenize" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/91/9b/4a2ea29aeba62471211598dac5d96825bb49348fa07e906ea930394a83ce/docker-7.1.0.tar.gz", hash = "sha256:ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c", size = 117834 } +sdist = { url = "https://files.pythonhosted.org/packages/2a/7b/ee08cb5fe2627ed0b6f0cc4a1c6be6c9c71de5a3e9785de8174273fc3128/docformatter-1.7.7.tar.gz", hash = "sha256:ea0e1e8867e5af468dfc3f9e947b92230a55be9ec17cd1609556387bffac7978", size = 26587, upload-time = "2025-05-11T04:54:04.356Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0", size = 147774 }, + { url = "https://files.pythonhosted.org/packages/dc/b4/a7ec1eaee86761a9dbfd339732b4706db3c6b65e970c12f0f56cfcce3dcf/docformatter-1.7.7-py3-none-any.whl", hash = "sha256:7af49f8a46346a77858f6651f431b882c503c2f4442c8b4524b920c863277834", size = 33525, upload-time = "2025-05-11T04:54:03.353Z" }, ] [[package]] -name = "exceptiongroup" -version = "1.2.2" +name = "docker" +version = "7.1.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883 } +dependencies = [ + { name = "pywin32", marker = "sys_platform == 'win32'" }, + { name = "requests" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/91/9b/4a2ea29aeba62471211598dac5d96825bb49348fa07e906ea930394a83ce/docker-7.1.0.tar.gz", hash = "sha256:ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c", size = 117834, upload-time = "2024-05-23T11:13:57.216Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453 }, + { url = "https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0", size = 147774, upload-time = "2024-05-23T11:13:55.01Z" }, ] [[package]] name = "fastapi" -version = "0.115.6" +version = "0.128.0" source = { registry = "https://pypi.org/simple" } dependencies = [ + { name = "annotated-doc" }, { name = "pydantic" }, { name = "starlette" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/93/72/d83b98cd106541e8f5e5bfab8ef2974ab45a62e8a6c5b5e6940f26d2ed4b/fastapi-0.115.6.tar.gz", hash = "sha256:9ec46f7addc14ea472958a96aae5b5de65f39721a46aaf5705c480d9a8b76654", size = 301336 } +sdist = { url = "https://files.pythonhosted.org/packages/52/08/8c8508db6c7b9aae8f7175046af41baad690771c9bcde676419965e338c7/fastapi-0.128.0.tar.gz", hash = "sha256:1cc179e1cef10a6be60ffe429f79b829dce99d8de32d7acb7e6c8dfdf7f2645a", size = 365682, upload-time = "2025-12-27T15:21:13.714Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/52/b3/7e4df40e585df024fac2f80d1a2d579c854ac37109675db2b0cc22c0bb9e/fastapi-0.115.6-py3-none-any.whl", hash = "sha256:e9240b29e36fa8f4bb7290316988e90c381e5092e0cbe84e7818cc3713bcf305", size = 94843 }, + { url = "https://files.pythonhosted.org/packages/5c/05/5cbb59154b093548acd0f4c7c474a118eda06da25aa75c616b72d8fcd92a/fastapi-0.128.0-py3-none-any.whl", hash = "sha256:aebd93f9716ee3b4f4fcfe13ffb7cf308d99c9f3ab5622d8877441072561582d", size = 103094, upload-time = "2025-12-27T15:21:12.154Z" }, ] [[package]] name = "filelock" version = "3.16.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/9d/db/3ef5bb276dae18d6ec2124224403d1d67bccdbefc17af4cc8f553e341ab1/filelock-3.16.1.tar.gz", hash = "sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435", size = 18037 } +sdist = { url = "https://files.pythonhosted.org/packages/9d/db/3ef5bb276dae18d6ec2124224403d1d67bccdbefc17af4cc8f553e341ab1/filelock-3.16.1.tar.gz", hash = "sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435", size = 18037, upload-time = "2024-09-17T19:02:01.779Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b9/f8/feced7779d755758a52d1f6635d990b8d98dc0a29fa568bbe0625f18fdf3/filelock-3.16.1-py3-none-any.whl", hash = "sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0", size = 16163 }, + { url = "https://files.pythonhosted.org/packages/b9/f8/feced7779d755758a52d1f6635d990b8d98dc0a29fa568bbe0625f18fdf3/filelock-3.16.1-py3-none-any.whl", hash = "sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0", size = 16163, upload-time = "2024-09-17T19:02:00.268Z" }, ] [[package]] name = "flatbuffers" version = "24.12.23" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/a3/83/9ae01534f7e92a0c04f86586a0d62a4a0266e51d8bb2bfd5b8ea8165abba/flatbuffers-24.12.23.tar.gz", hash = "sha256:2910b0bc6ae9b6db78dd2b18d0b7a0709ba240fb5585f286a3a2b30785c22dac", size = 22164 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fb/b4/31c461eef98b96b8ab736d97274548eaf2b2e349bf09e4de3902f7d53084/flatbuffers-24.12.23-py2.py3-none-any.whl", hash = "sha256:c418e0d48890f4142b92fd3e343e73a48f194e1f80075ddcc5793779b3585444", size = 30962 }, -] - -[[package]] -name = "gast" -version = "0.6.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/3c/14/c566f5ca00c115db7725263408ff952b8ae6d6a4e792ef9c84e77d9af7a1/gast-0.6.0.tar.gz", hash = "sha256:88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb", size = 27708 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a3/61/8001b38461d751cd1a0c3a6ae84346796a5758123f3ed97a1b121dfbf4f3/gast-0.6.0-py3-none-any.whl", hash = "sha256:52b182313f7330389f72b069ba00f174cfe2a06411099547288839c6cbafbd54", size = 21173 }, -] - -[[package]] -name = "google-pasta" -version = "0.2.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "six" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/35/4a/0bd53b36ff0323d10d5f24ebd67af2de10a1117f5cf4d7add90df92756f1/google-pasta-0.2.0.tar.gz", hash = "sha256:c9f2c8dfc8f96d0d5808299920721be30c9eec37f2389f28904f454565c8a16e", size = 40430 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a3/de/c648ef6835192e6e2cc03f40b19eeda4382c49b5bafb43d88b931c4c74ac/google_pasta-0.2.0-py3-none-any.whl", hash = "sha256:b32482794a366b5366a32c92a9a9201b107821889935a02b3e51f6b432ea84ed", size = 57471 }, -] - -[[package]] -name = "grpcio" -version = "1.69.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e4/87/06a145284cbe86c91ca517fe6b57be5efbb733c0d6374b407f0992054d18/grpcio-1.69.0.tar.gz", hash = "sha256:936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5", size = 12738244 } +sdist = { url = "https://files.pythonhosted.org/packages/a3/83/9ae01534f7e92a0c04f86586a0d62a4a0266e51d8bb2bfd5b8ea8165abba/flatbuffers-24.12.23.tar.gz", hash = "sha256:2910b0bc6ae9b6db78dd2b18d0b7a0709ba240fb5585f286a3a2b30785c22dac", size = 22164, upload-time = "2024-12-23T21:11:23.954Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b0/6e/2f8ee5fb65aef962d0bd7e46b815e7b52820687e29c138eaee207a688abc/grpcio-1.69.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:2060ca95a8db295ae828d0fc1c7f38fb26ccd5edf9aa51a0f44251f5da332e97", size = 5190753 }, - { url = "https://files.pythonhosted.org/packages/89/07/028dcda44d40f9488f0a0de79c5ffc80e2c1bc5ed89da9483932e3ea67cf/grpcio-1.69.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:2e52e107261fd8fa8fa457fe44bfadb904ae869d87c1280bf60f93ecd3e79278", size = 11096752 }, - { url = "https://files.pythonhosted.org/packages/99/a0/c727041b1410605ba38b585b6b52c1a289d7fcd70a41bccbc2c58fc643b2/grpcio-1.69.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:316463c0832d5fcdb5e35ff2826d9aa3f26758d29cdfb59a368c1d6c39615a11", size = 5705442 }, - { url = "https://files.pythonhosted.org/packages/7a/2f/1c53f5d127ff882443b19c757d087da1908f41c58c4b098e8eaf6b2bb70a/grpcio-1.69.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:26c9a9c4ac917efab4704b18eed9082ed3b6ad19595f047e8173b5182fec0d5e", size = 6333796 }, - { url = "https://files.pythonhosted.org/packages/cc/f6/2017da2a1b64e896af710253e5bfbb4188605cdc18bce3930dae5cdbf502/grpcio-1.69.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90b3646ced2eae3a0599658eeccc5ba7f303bf51b82514c50715bdd2b109e5ec", size = 5954245 }, - { url = "https://files.pythonhosted.org/packages/c1/65/1395bec928e99ba600464fb01b541e7e4cdd462e6db25259d755ef9f8d02/grpcio-1.69.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:3b75aea7c6cb91b341c85e7c1d9db1e09e1dd630b0717f836be94971e015031e", size = 6664854 }, - { url = "https://files.pythonhosted.org/packages/40/57/8b3389cfeb92056c8b44288c9c4ed1d331bcad0215c4eea9ae4629e156d9/grpcio-1.69.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5cfd14175f9db33d4b74d63de87c64bb0ee29ce475ce3c00c01ad2a3dc2a9e51", size = 6226854 }, - { url = "https://files.pythonhosted.org/packages/cc/61/1f2bbeb7c15544dffc98b3f65c093e746019995e6f1e21dc3655eec3dc23/grpcio-1.69.0-cp310-cp310-win32.whl", hash = "sha256:9031069d36cb949205293cf0e243abd5e64d6c93e01b078c37921493a41b72dc", size = 3662734 }, - { url = "https://files.pythonhosted.org/packages/ef/ba/bf1a6d9f5c17d2da849793d72039776c56c98c889c9527f6721b6ee57e6e/grpcio-1.69.0-cp310-cp310-win_amd64.whl", hash = "sha256:cc89b6c29f3dccbe12d7a3b3f1b3999db4882ae076c1c1f6df231d55dbd767a5", size = 4410306 }, - { url = "https://files.pythonhosted.org/packages/8d/cd/ca256aeef64047881586331347cd5a68a4574ba1a236e293cd8eba34e355/grpcio-1.69.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:8de1b192c29b8ce45ee26a700044717bcbbd21c697fa1124d440548964328561", size = 5198734 }, - { url = "https://files.pythonhosted.org/packages/37/3f/10c1e5e0150bf59aa08ea6aebf38f87622f95f7f33f98954b43d1b2a3200/grpcio-1.69.0-cp311-cp311-macosx_10_14_universal2.whl", hash = "sha256:7e76accf38808f5c5c752b0ab3fd919eb14ff8fafb8db520ad1cc12afff74de6", size = 11135285 }, - { url = "https://files.pythonhosted.org/packages/08/61/61cd116a572203a740684fcba3fef37a3524f1cf032b6568e1e639e59db0/grpcio-1.69.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:d5658c3c2660417d82db51e168b277e0ff036d0b0f859fa7576c0ffd2aec1442", size = 5699468 }, - { url = "https://files.pythonhosted.org/packages/01/f1/a841662e8e2465ba171c973b77d18fa7438ced535519b3c53617b7e6e25c/grpcio-1.69.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5494d0e52bf77a2f7eb17c6da662886ca0a731e56c1c85b93505bece8dc6cf4c", size = 6332337 }, - { url = "https://files.pythonhosted.org/packages/62/b1/c30e932e02c2e0bfdb8df46fe3b0c47f518fb04158ebdc0eb96cc97d642f/grpcio-1.69.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4ed866f9edb574fd9be71bf64c954ce1b88fc93b2a4cbf94af221e9426eb14d6", size = 5949844 }, - { url = "https://files.pythonhosted.org/packages/5e/cb/55327d43b6286100ffae7d1791be6178d13c917382f3e9f43f82e8b393cf/grpcio-1.69.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c5ba38aeac7a2fe353615c6b4213d1fbb3a3c34f86b4aaa8be08baaaee8cc56d", size = 6661828 }, - { url = "https://files.pythonhosted.org/packages/6f/e4/120d72ae982d51cb9cabcd9672f8a1c6d62011b493a4d049d2abdf564db0/grpcio-1.69.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f79e05f5bbf551c4057c227d1b041ace0e78462ac8128e2ad39ec58a382536d2", size = 6226026 }, - { url = "https://files.pythonhosted.org/packages/96/e8/2cc15f11db506d7b1778f0587fa7bdd781602b05b3c4d75b7ca13de33d62/grpcio-1.69.0-cp311-cp311-win32.whl", hash = "sha256:bf1f8be0da3fcdb2c1e9f374f3c2d043d606d69f425cd685110dd6d0d2d61258", size = 3662653 }, - { url = "https://files.pythonhosted.org/packages/42/78/3c5216829a48237fcb71a077f891328a435e980d9757a9ebc49114d88768/grpcio-1.69.0-cp311-cp311-win_amd64.whl", hash = "sha256:fb9302afc3a0e4ba0b225cd651ef8e478bf0070cf11a529175caecd5ea2474e7", size = 4412824 }, - { url = "https://files.pythonhosted.org/packages/61/1d/8f28f147d7f3f5d6b6082f14e1e0f40d58e50bc2bd30d2377c730c57a286/grpcio-1.69.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:fc18a4de8c33491ad6f70022af5c460b39611e39578a4d84de0fe92f12d5d47b", size = 5161414 }, - { url = "https://files.pythonhosted.org/packages/35/4b/9ab8ea65e515e1844feced1ef9e7a5d8359c48d986c93f3d2a2006fbdb63/grpcio-1.69.0-cp312-cp312-macosx_10_14_universal2.whl", hash = "sha256:0f0270bd9ffbff6961fe1da487bdcd594407ad390cc7960e738725d4807b18c4", size = 11108909 }, - { url = "https://files.pythonhosted.org/packages/99/68/1856fde2b3c3162bdfb9845978608deef3606e6907fdc2c87443fce6ecd0/grpcio-1.69.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:dc48f99cc05e0698e689b51a05933253c69a8c8559a47f605cff83801b03af0e", size = 5658302 }, - { url = "https://files.pythonhosted.org/packages/3e/21/3fa78d38dc5080d0d677103fad3a8cd55091635cc2069a7c06c7a54e6c4d/grpcio-1.69.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e925954b18d41aeb5ae250262116d0970893b38232689c4240024e4333ac084", size = 6306201 }, - { url = "https://files.pythonhosted.org/packages/f3/cb/5c47b82fd1baf43dba973ae399095d51aaf0085ab0439838b4cbb1e87e3c/grpcio-1.69.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:87d222569273720366f68a99cb62e6194681eb763ee1d3b1005840678d4884f9", size = 5919649 }, - { url = "https://files.pythonhosted.org/packages/c6/67/59d1a56a0f9508a29ea03e1ce800bdfacc1f32b4f6b15274b2e057bf8758/grpcio-1.69.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b62b0f41e6e01a3e5082000b612064c87c93a49b05f7602fe1b7aa9fd5171a1d", size = 6648974 }, - { url = "https://files.pythonhosted.org/packages/f8/fe/ca70c14d98c6400095f19a0f4df8273d09c2106189751b564b26019f1dbe/grpcio-1.69.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:db6f9fd2578dbe37db4b2994c94a1d9c93552ed77dca80e1657bb8a05b898b55", size = 6215144 }, - { url = "https://files.pythonhosted.org/packages/b3/94/b2b0a9fd487fc8262e20e6dd0ec90d9fa462c82a43b4855285620f6e9d01/grpcio-1.69.0-cp312-cp312-win32.whl", hash = "sha256:b192b81076073ed46f4b4dd612b8897d9a1e39d4eabd822e5da7b38497ed77e1", size = 3644552 }, - { url = "https://files.pythonhosted.org/packages/93/99/81aec9f85412e3255a591ae2ccb799238e074be774e5f741abae08a23418/grpcio-1.69.0-cp312-cp312-win_amd64.whl", hash = "sha256:1227ff7836f7b3a4ab04e5754f1d001fa52a730685d3dc894ed8bc262cc96c01", size = 4399532 }, + { url = "https://files.pythonhosted.org/packages/fb/b4/31c461eef98b96b8ab736d97274548eaf2b2e349bf09e4de3902f7d53084/flatbuffers-24.12.23-py2.py3-none-any.whl", hash = "sha256:c418e0d48890f4142b92fd3e343e73a48f194e1f80075ddcc5793779b3585444", size = 30962, upload-time = "2024-12-23T21:11:20.167Z" }, ] [[package]] name = "h11" version = "0.14.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d", size = 100418 } +sdist = { url = "https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d", size = 100418, upload-time = "2022-09-25T15:40:01.519Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761", size = 58259 }, -] - -[[package]] -name = "h5py" -version = "3.12.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "numpy" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/cc/0c/5c2b0a88158682aeafb10c1c2b735df5bc31f165bfe192f2ee9f2a23b5f1/h5py-3.12.1.tar.gz", hash = "sha256:326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf", size = 411457 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/df/7d/b21045fbb004ad8bb6fb3be4e6ca903841722706f7130b9bba31ef2f88e3/h5py-3.12.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2f0f1a382cbf494679c07b4371f90c70391dedb027d517ac94fa2c05299dacda", size = 3402133 }, - { url = "https://files.pythonhosted.org/packages/29/a7/3c2a33fba1da64a0846744726fd067a92fb8abb887875a0dd8e3bac8b45d/h5py-3.12.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:cb65f619dfbdd15e662423e8d257780f9a66677eae5b4b3fc9dca70b5fd2d2a3", size = 2866436 }, - { url = "https://files.pythonhosted.org/packages/1e/d0/4bf67c3937a2437c20844165766ddd1a1817ae6b9544c3743050d8e0f403/h5py-3.12.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3b15d8dbd912c97541312c0e07438864d27dbca857c5ad634de68110c6beb1c2", size = 5168596 }, - { url = "https://files.pythonhosted.org/packages/85/bc/e76f4b2096e0859225f5441d1b7f5e2041fffa19fc2c16756c67078417aa/h5py-3.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:59685fe40d8c1fbbee088c88cd4da415a2f8bee5c270337dc5a1c4aa634e3307", size = 5341537 }, - { url = "https://files.pythonhosted.org/packages/99/bd/fb8ed45308bb97e04c02bd7aed324ba11e6a4bf9ed73967ca2a168e9cf92/h5py-3.12.1-cp310-cp310-win_amd64.whl", hash = "sha256:577d618d6b6dea3da07d13cc903ef9634cde5596b13e832476dd861aaf651f3e", size = 2990575 }, - { url = "https://files.pythonhosted.org/packages/33/61/c463dc5fc02fbe019566d067a9d18746cd3c664f29c9b8b3c3f9ed025365/h5py-3.12.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ccd9006d92232727d23f784795191bfd02294a4f2ba68708825cb1da39511a93", size = 3410828 }, - { url = "https://files.pythonhosted.org/packages/95/9d/eb91a9076aa998bb2179d6b1788055ea09cdf9d6619cd967f1d3321ed056/h5py-3.12.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ad8a76557880aed5234cfe7279805f4ab5ce16b17954606cca90d578d3e713ef", size = 2872586 }, - { url = "https://files.pythonhosted.org/packages/b0/62/e2b1f9723ff713e3bd3c16dfeceec7017eadc21ef063d8b7080c0fcdc58a/h5py-3.12.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1473348139b885393125126258ae2d70753ef7e9cec8e7848434f385ae72069e", size = 5273038 }, - { url = "https://files.pythonhosted.org/packages/e1/89/118c3255d6ff2db33b062ec996a762d99ae50c21f54a8a6047ae8eda1b9f/h5py-3.12.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:018a4597f35092ae3fb28ee851fdc756d2b88c96336b8480e124ce1ac6fb9166", size = 5452688 }, - { url = "https://files.pythonhosted.org/packages/1d/4d/cbd3014eb78d1e449b29beba1f3293a841aa8086c6f7968c383c2c7ff076/h5py-3.12.1-cp311-cp311-win_amd64.whl", hash = "sha256:3fdf95092d60e8130ba6ae0ef7a9bd4ade8edbe3569c13ebbaf39baefffc5ba4", size = 3006095 }, - { url = "https://files.pythonhosted.org/packages/d4/e1/ea9bfe18a3075cdc873f0588ff26ce394726047653557876d7101bf0c74e/h5py-3.12.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:06a903a4e4e9e3ebbc8b548959c3c2552ca2d70dac14fcfa650d9261c66939ed", size = 3372538 }, - { url = "https://files.pythonhosted.org/packages/0d/74/1009b663387c025e8fa5f3ee3cf3cd0d99b1ad5c72eeb70e75366b1ce878/h5py-3.12.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7b3b8f3b48717e46c6a790e3128d39c61ab595ae0a7237f06dfad6a3b51d5351", size = 2868104 }, - { url = "https://files.pythonhosted.org/packages/af/52/c604adc06280c15a29037d4aa79a24fe54d8d0b51085e81ed24b2fa995f7/h5py-3.12.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:050a4f2c9126054515169c49cb900949814987f0c7ae74c341b0c9f9b5056834", size = 5194606 }, - { url = "https://files.pythonhosted.org/packages/fa/63/eeaacff417b393491beebabb8a3dc5342950409eb6d7b39d437289abdbae/h5py-3.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5c4b41d1019322a5afc5082864dfd6359f8935ecd37c11ac0029be78c5d112c9", size = 5413256 }, - { url = "https://files.pythonhosted.org/packages/86/f7/bb465dcb92ca3521a15cbe1031f6d18234dbf1fb52a6796a00bfaa846ebf/h5py-3.12.1-cp312-cp312-win_amd64.whl", hash = "sha256:e4d51919110a030913201422fb07987db4338eba5ec8c5a15d6fab8e03d443fc", size = 2993055 }, + { url = "https://files.pythonhosted.org/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761", size = 58259, upload-time = "2022-09-25T15:39:59.68Z" }, ] [[package]] @@ -352,9 +298,9 @@ dependencies = [ { name = "certifi" }, { name = "h11" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/6a/41/d7d0a89eb493922c37d343b607bc1b5da7f5be7e383740b4753ad8943e90/httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c", size = 85196 } +sdist = { url = "https://files.pythonhosted.org/packages/6a/41/d7d0a89eb493922c37d343b607bc1b5da7f5be7e383740b4753ad8943e90/httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c", size = 85196, upload-time = "2024-11-15T12:30:47.531Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/87/f5/72347bc88306acb359581ac4d52f23c0ef445b57157adedb9aee0cd689d2/httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd", size = 78551 }, + { url = "https://files.pythonhosted.org/packages/87/f5/72347bc88306acb359581ac4d52f23c0ef445b57157adedb9aee0cd689d2/httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd", size = 78551, upload-time = "2024-11-15T12:30:45.782Z" }, ] [[package]] @@ -367,364 +313,284 @@ dependencies = [ { name = "httpcore" }, { name = "idna" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517 }, -] - -[[package]] -name = "identify" -version = "2.6.5" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/cf/92/69934b9ef3c31ca2470980423fda3d00f0460ddefdf30a67adf7f17e2e00/identify-2.6.5.tar.gz", hash = "sha256:c10b33f250e5bba374fae86fb57f3adcebf1161bce7cdf92031915fd480c13bc", size = 99213 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ec/fa/dce098f4cdf7621aa8f7b4f919ce545891f489482f0bfa5102f3eca8608b/identify-2.6.5-py2.py3-none-any.whl", hash = "sha256:14181a47091eb75b337af4c23078c9d09225cd4c48929f521f3bf16b09d02566", size = 99078 }, -] - -[[package]] -name = "idna" -version = "3.10" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 }, -] - -[[package]] -name = "iniconfig" -version = "2.0.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, -] - -[[package]] -name = "keras" -version = "3.8.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "absl-py" }, - { name = "h5py" }, - { name = "ml-dtypes" }, - { name = "namex" }, - { name = "numpy" }, - { name = "optree" }, - { name = "packaging" }, - { name = "rich" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/cd/97/8b0b420e14008100a330d30e78df9bce04fd1845edc5d29b0a6f4d8ad061/keras-3.8.0.tar.gz", hash = "sha256:6289006e6f6cb2b68a563b58cf8ae5a45569449c5a791df6b2f54c1877f3f344", size = 975959 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fe/cf/aea9087c4d7fafe956a0cc0ff6c3327d10fb8442cda50f992a2186921fa0/keras-3.8.0-py3-none-any.whl", hash = "sha256:b65d125976b0f8bf8ad1e93311a98e7dfb334ff6023627a59a52b35499165ec3", size = 1301880 }, -] - -[[package]] -name = "libclang" -version = "18.1.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/6e/5c/ca35e19a4f142adffa27e3d652196b7362fa612243e2b916845d801454fc/libclang-18.1.1.tar.gz", hash = "sha256:a1214966d08d73d971287fc3ead8dfaf82eb07fb197680d8b3859dbbbbf78250", size = 39612 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/4b/49/f5e3e7e1419872b69f6f5e82ba56e33955a74bd537d8a1f5f1eff2f3668a/libclang-18.1.1-1-py2.py3-none-macosx_11_0_arm64.whl", hash = "sha256:0b2e143f0fac830156feb56f9231ff8338c20aecfe72b4ffe96f19e5a1dbb69a", size = 25836045 }, - { url = "https://files.pythonhosted.org/packages/e2/e5/fc61bbded91a8830ccce94c5294ecd6e88e496cc85f6704bf350c0634b70/libclang-18.1.1-py2.py3-none-macosx_10_9_x86_64.whl", hash = "sha256:6f14c3f194704e5d09769108f03185fce7acaf1d1ae4bbb2f30a72c2400cb7c5", size = 26502641 }, - { url = "https://files.pythonhosted.org/packages/db/ed/1df62b44db2583375f6a8a5e2ca5432bbdc3edb477942b9b7c848c720055/libclang-18.1.1-py2.py3-none-macosx_11_0_arm64.whl", hash = "sha256:83ce5045d101b669ac38e6da8e58765f12da2d3aafb3b9b98d88b286a60964d8", size = 26420207 }, - { url = "https://files.pythonhosted.org/packages/1d/fc/716c1e62e512ef1c160e7984a73a5fc7df45166f2ff3f254e71c58076f7c/libclang-18.1.1-py2.py3-none-manylinux2010_x86_64.whl", hash = "sha256:c533091d8a3bbf7460a00cb6c1a71da93bffe148f172c7d03b1c31fbf8aa2a0b", size = 24515943 }, - { url = "https://files.pythonhosted.org/packages/3c/3d/f0ac1150280d8d20d059608cf2d5ff61b7c3b7f7bcf9c0f425ab92df769a/libclang-18.1.1-py2.py3-none-manylinux2014_aarch64.whl", hash = "sha256:54dda940a4a0491a9d1532bf071ea3ef26e6dbaf03b5000ed94dd7174e8f9592", size = 23784972 }, - { url = "https://files.pythonhosted.org/packages/fe/2f/d920822c2b1ce9326a4c78c0c2b4aa3fde610c7ee9f631b600acb5376c26/libclang-18.1.1-py2.py3-none-manylinux2014_armv7l.whl", hash = "sha256:cf4a99b05376513717ab5d82a0db832c56ccea4fd61a69dbb7bccf2dfb207dbe", size = 20259606 }, - { url = "https://files.pythonhosted.org/packages/2d/c2/de1db8c6d413597076a4259cea409b83459b2db997c003578affdd32bf66/libclang-18.1.1-py2.py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:69f8eb8f65c279e765ffd28aaa7e9e364c776c17618af8bff22a8df58677ff4f", size = 24921494 }, - { url = "https://files.pythonhosted.org/packages/0b/2d/3f480b1e1d31eb3d6de5e3ef641954e5c67430d5ac93b7fa7e07589576c7/libclang-18.1.1-py2.py3-none-win_amd64.whl", hash = "sha256:4dd2d3b82fab35e2bf9ca717d7b63ac990a3519c7e312f19fa8e86dcc712f7fb", size = 26415083 }, - { url = "https://files.pythonhosted.org/packages/71/cf/e01dc4cc79779cd82d77888a88ae2fa424d93b445ad4f6c02bfc18335b70/libclang-18.1.1-py2.py3-none-win_arm64.whl", hash = "sha256:3f0e1f49f04d3cd198985fea0511576b0aee16f9ff0e0f0cad7f9c57ec3c20e8", size = 22361112 }, -] - -[[package]] -name = "markdown" -version = "3.7" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/54/28/3af612670f82f4c056911fbbbb42760255801b3068c48de792d354ff4472/markdown-3.7.tar.gz", hash = "sha256:2ae2471477cfd02dbbf038d5d9bc226d40def84b4fe2986e49b59b6b472bbed2", size = 357086 } +sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/3f/08/83871f3c50fc983b88547c196d11cf8c3340e37c32d2e9d6152abe2c61f7/Markdown-3.7-py3-none-any.whl", hash = "sha256:7eb6df5690b81a1d7942992c97fad2938e956e79df20cbc6186e9c3a77b1c803", size = 106349 }, + { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, ] [[package]] -name = "markdown-it-py" -version = "3.0.0" +name = "humanfriendly" +version = "10.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "mdurl" }, + { name = "pyreadline3", marker = "sys_platform == 'win32'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3.0.0.tar.gz", hash = "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb", size = 74596 } +sdist = { url = "https://files.pythonhosted.org/packages/cc/3f/2c29224acb2e2df4d2046e4c73ee2662023c58ff5b113c4c1adac0886c43/humanfriendly-10.0.tar.gz", hash = "sha256:6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc", size = 360702, upload-time = "2021-09-17T21:40:43.31Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1", size = 87528 }, + { url = "https://files.pythonhosted.org/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477", size = 86794, upload-time = "2021-09-17T21:40:39.897Z" }, ] [[package]] -name = "markupsafe" -version = "3.0.2" +name = "identify" +version = "2.6.5" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0", size = 20537 } +sdist = { url = "https://files.pythonhosted.org/packages/cf/92/69934b9ef3c31ca2470980423fda3d00f0460ddefdf30a67adf7f17e2e00/identify-2.6.5.tar.gz", hash = "sha256:c10b33f250e5bba374fae86fb57f3adcebf1161bce7cdf92031915fd480c13bc", size = 99213, upload-time = "2025-01-04T17:01:41.99Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/04/90/d08277ce111dd22f77149fd1a5d4653eeb3b3eaacbdfcbae5afb2600eebd/MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8", size = 14357 }, - { url = "https://files.pythonhosted.org/packages/04/e1/6e2194baeae0bca1fae6629dc0cbbb968d4d941469cbab11a3872edff374/MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158", size = 12393 }, - { url = "https://files.pythonhosted.org/packages/1d/69/35fa85a8ece0a437493dc61ce0bb6d459dcba482c34197e3efc829aa357f/MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38a9ef736c01fccdd6600705b09dc574584b89bea478200c5fbf112a6b0d5579", size = 21732 }, - { url = "https://files.pythonhosted.org/packages/22/35/137da042dfb4720b638d2937c38a9c2df83fe32d20e8c8f3185dbfef05f7/MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbcb445fa71794da8f178f0f6d66789a28d7319071af7a496d4d507ed566270d", size = 20866 }, - { url = "https://files.pythonhosted.org/packages/29/28/6d029a903727a1b62edb51863232152fd335d602def598dade38996887f0/MarkupSafe-3.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:57cb5a3cf367aeb1d316576250f65edec5bb3be939e9247ae594b4bcbc317dfb", size = 20964 }, - { url = "https://files.pythonhosted.org/packages/cc/cd/07438f95f83e8bc028279909d9c9bd39e24149b0d60053a97b2bc4f8aa51/MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3809ede931876f5b2ec92eef964286840ed3540dadf803dd570c3b7e13141a3b", size = 21977 }, - { url = "https://files.pythonhosted.org/packages/29/01/84b57395b4cc062f9c4c55ce0df7d3108ca32397299d9df00fedd9117d3d/MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e07c3764494e3776c602c1e78e298937c3315ccc9043ead7e685b7f2b8d47b3c", size = 21366 }, - { url = "https://files.pythonhosted.org/packages/bd/6e/61ebf08d8940553afff20d1fb1ba7294b6f8d279df9fd0c0db911b4bbcfd/MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b424c77b206d63d500bcb69fa55ed8d0e6a3774056bdc4839fc9298a7edca171", size = 21091 }, - { url = "https://files.pythonhosted.org/packages/11/23/ffbf53694e8c94ebd1e7e491de185124277964344733c45481f32ede2499/MarkupSafe-3.0.2-cp310-cp310-win32.whl", hash = "sha256:fcabf5ff6eea076f859677f5f0b6b5c1a51e70a376b0579e0eadef8db48c6b50", size = 15065 }, - { url = "https://files.pythonhosted.org/packages/44/06/e7175d06dd6e9172d4a69a72592cb3f7a996a9c396eee29082826449bbc3/MarkupSafe-3.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:6af100e168aa82a50e186c82875a5893c5597a0c1ccdb0d8b40240b1f28b969a", size = 15514 }, - { url = "https://files.pythonhosted.org/packages/6b/28/bbf83e3f76936960b850435576dd5e67034e200469571be53f69174a2dfd/MarkupSafe-3.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9025b4018f3a1314059769c7bf15441064b2207cb3f065e6ea1e7359cb46db9d", size = 14353 }, - { url = "https://files.pythonhosted.org/packages/6c/30/316d194b093cde57d448a4c3209f22e3046c5bb2fb0820b118292b334be7/MarkupSafe-3.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:93335ca3812df2f366e80509ae119189886b0f3c2b81325d39efdb84a1e2ae93", size = 12392 }, - { url = "https://files.pythonhosted.org/packages/f2/96/9cdafba8445d3a53cae530aaf83c38ec64c4d5427d975c974084af5bc5d2/MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8438c3cbb25e220c2ab33bb226559e7afb3baec11c4f218ffa7308603c832", size = 23984 }, - { url = "https://files.pythonhosted.org/packages/f1/a4/aefb044a2cd8d7334c8a47d3fb2c9f328ac48cb349468cc31c20b539305f/MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a123e330ef0853c6e822384873bef7507557d8e4a082961e1defa947aa59ba84", size = 23120 }, - { url = "https://files.pythonhosted.org/packages/8d/21/5e4851379f88f3fad1de30361db501300d4f07bcad047d3cb0449fc51f8c/MarkupSafe-3.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e084f686b92e5b83186b07e8a17fc09e38fff551f3602b249881fec658d3eca", size = 23032 }, - { url = "https://files.pythonhosted.org/packages/00/7b/e92c64e079b2d0d7ddf69899c98842f3f9a60a1ae72657c89ce2655c999d/MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d8213e09c917a951de9d09ecee036d5c7d36cb6cb7dbaece4c71a60d79fb9798", size = 24057 }, - { url = "https://files.pythonhosted.org/packages/f9/ac/46f960ca323037caa0a10662ef97d0a4728e890334fc156b9f9e52bcc4ca/MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:5b02fb34468b6aaa40dfc198d813a641e3a63b98c2b05a16b9f80b7ec314185e", size = 23359 }, - { url = "https://files.pythonhosted.org/packages/69/84/83439e16197337b8b14b6a5b9c2105fff81d42c2a7c5b58ac7b62ee2c3b1/MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0bff5e0ae4ef2e1ae4fdf2dfd5b76c75e5c2fa4132d05fc1b0dabcd20c7e28c4", size = 23306 }, - { url = "https://files.pythonhosted.org/packages/9a/34/a15aa69f01e2181ed8d2b685c0d2f6655d5cca2c4db0ddea775e631918cd/MarkupSafe-3.0.2-cp311-cp311-win32.whl", hash = "sha256:6c89876f41da747c8d3677a2b540fb32ef5715f97b66eeb0c6b66f5e3ef6f59d", size = 15094 }, - { url = "https://files.pythonhosted.org/packages/da/b8/3a3bd761922d416f3dc5d00bfbed11f66b1ab89a0c2b6e887240a30b0f6b/MarkupSafe-3.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:70a87b411535ccad5ef2f1df5136506a10775d267e197e4cf531ced10537bd6b", size = 15521 }, - { url = "https://files.pythonhosted.org/packages/22/09/d1f21434c97fc42f09d290cbb6350d44eb12f09cc62c9476effdb33a18aa/MarkupSafe-3.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:9778bd8ab0a994ebf6f84c2b949e65736d5575320a17ae8984a77fab08db94cf", size = 14274 }, - { url = "https://files.pythonhosted.org/packages/6b/b0/18f76bba336fa5aecf79d45dcd6c806c280ec44538b3c13671d49099fdd0/MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:846ade7b71e3536c4e56b386c2a47adf5741d2d8b94ec9dc3e92e5e1ee1e2225", size = 12348 }, - { url = "https://files.pythonhosted.org/packages/e0/25/dd5c0f6ac1311e9b40f4af06c78efde0f3b5cbf02502f8ef9501294c425b/MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c99d261bd2d5f6b59325c92c73df481e05e57f19837bdca8413b9eac4bd8028", size = 24149 }, - { url = "https://files.pythonhosted.org/packages/f3/f0/89e7aadfb3749d0f52234a0c8c7867877876e0a20b60e2188e9850794c17/MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8", size = 23118 }, - { url = "https://files.pythonhosted.org/packages/d5/da/f2eeb64c723f5e3777bc081da884b414671982008c47dcc1873d81f625b6/MarkupSafe-3.0.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88416bd1e65dcea10bc7569faacb2c20ce071dd1f87539ca2ab364bf6231393c", size = 22993 }, - { url = "https://files.pythonhosted.org/packages/da/0e/1f32af846df486dce7c227fe0f2398dc7e2e51d4a370508281f3c1c5cddc/MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2181e67807fc2fa785d0592dc2d6206c019b9502410671cc905d132a92866557", size = 24178 }, - { url = "https://files.pythonhosted.org/packages/c4/f6/bb3ca0532de8086cbff5f06d137064c8410d10779c4c127e0e47d17c0b71/MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:52305740fe773d09cffb16f8ed0427942901f00adedac82ec8b67752f58a1b22", size = 23319 }, - { url = "https://files.pythonhosted.org/packages/a2/82/8be4c96ffee03c5b4a034e60a31294daf481e12c7c43ab8e34a1453ee48b/MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ad10d3ded218f1039f11a75f8091880239651b52e9bb592ca27de44eed242a48", size = 23352 }, - { url = "https://files.pythonhosted.org/packages/51/ae/97827349d3fcffee7e184bdf7f41cd6b88d9919c80f0263ba7acd1bbcb18/MarkupSafe-3.0.2-cp312-cp312-win32.whl", hash = "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30", size = 15097 }, - { url = "https://files.pythonhosted.org/packages/c1/80/a61f99dc3a936413c3ee4e1eecac96c0da5ed07ad56fd975f1a9da5bc630/MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87", size = 15601 }, + { url = "https://files.pythonhosted.org/packages/ec/fa/dce098f4cdf7621aa8f7b4f919ce545891f489482f0bfa5102f3eca8608b/identify-2.6.5-py2.py3-none-any.whl", hash = "sha256:14181a47091eb75b337af4c23078c9d09225cd4c48929f521f3bf16b09d02566", size = 99078, upload-time = "2025-01-04T17:01:40.667Z" }, ] [[package]] -name = "mdurl" -version = "0.1.2" +name = "idna" +version = "3.10" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729 } +sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490, upload-time = "2024-09-15T18:07:39.745Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979 }, + { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" }, ] [[package]] -name = "ml-dtypes" -version = "0.4.1" +name = "iniconfig" +version = "2.0.0" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "numpy" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/fd/15/76f86faa0902836cc133939732f7611ace68cf54148487a99c539c272dc8/ml_dtypes-0.4.1.tar.gz", hash = "sha256:fad5f2de464fd09127e49b7fd1252b9006fb43d2edc1ff112d390c324af5ca7a", size = 692594 } +sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646, upload-time = "2023-01-07T11:08:11.254Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/56/9e/76b84f77c7afee3b116dc8407903a2d5004ba3059a8f3dcdcfa6ebf33fff/ml_dtypes-0.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:1fe8b5b5e70cd67211db94b05cfd58dace592f24489b038dc6f9fe347d2e07d5", size = 397975 }, - { url = "https://files.pythonhosted.org/packages/03/7b/32650e1b2a2713a5923a0af2a8503d0d4a8fc99d1e1e0a1c40e996634460/ml_dtypes-0.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c09a6d11d8475c2a9fd2bc0695628aec105f97cab3b3a3fb7c9660348ff7d24", size = 2182570 }, - { url = "https://files.pythonhosted.org/packages/16/86/a9f7569e7e4f5395f927de38a13b92efa73f809285d04f2923b291783dd2/ml_dtypes-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f5e8f75fa371020dd30f9196e7d73babae2abd51cf59bdd56cb4f8de7e13354", size = 2160365 }, - { url = "https://files.pythonhosted.org/packages/04/1b/9a3afb437702503514f3934ec8d7904270edf013d28074f3e700e5dfbb0f/ml_dtypes-0.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:15fdd922fea57e493844e5abb930b9c0bd0af217d9edd3724479fc3d7ce70e3f", size = 126633 }, - { url = "https://files.pythonhosted.org/packages/d1/76/9835c8609c29f2214359e88f29255fc4aad4ea0f613fb48aa8815ceda1b6/ml_dtypes-0.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:2d55b588116a7085d6e074cf0cdb1d6fa3875c059dddc4d2c94a4cc81c23e975", size = 397973 }, - { url = "https://files.pythonhosted.org/packages/7e/99/e68c56fac5de973007a10254b6e17a0362393724f40f66d5e4033f4962c2/ml_dtypes-0.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e138a9b7a48079c900ea969341a5754019a1ad17ae27ee330f7ebf43f23877f9", size = 2185134 }, - { url = "https://files.pythonhosted.org/packages/28/bc/6a2344338ea7b61cd7b46fb24ec459360a5a0903b57c55b156c1e46c644a/ml_dtypes-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:74c6cfb5cf78535b103fde9ea3ded8e9f16f75bc07789054edc7776abfb3d752", size = 2163661 }, - { url = "https://files.pythonhosted.org/packages/e8/d3/ddfd9878b223b3aa9a930c6100a99afca5cfab7ea703662e00323acb7568/ml_dtypes-0.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:274cc7193dd73b35fb26bef6c5d40ae3eb258359ee71cd82f6e96a8c948bdaa6", size = 126727 }, - { url = "https://files.pythonhosted.org/packages/ba/1a/99e924f12e4b62139fbac87419698c65f956d58de0dbfa7c028fa5b096aa/ml_dtypes-0.4.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:827d3ca2097085cf0355f8fdf092b888890bb1b1455f52801a2d7756f056f54b", size = 405077 }, - { url = "https://files.pythonhosted.org/packages/8f/8c/7b610bd500617854c8cc6ed7c8cfb9d48d6a5c21a1437a36a4b9bc8a3598/ml_dtypes-0.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:772426b08a6172a891274d581ce58ea2789cc8abc1c002a27223f314aaf894e7", size = 2181554 }, - { url = "https://files.pythonhosted.org/packages/c7/c6/f89620cecc0581dc1839e218c4315171312e46c62a62da6ace204bda91c0/ml_dtypes-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:126e7d679b8676d1a958f2651949fbfa182832c3cd08020d8facd94e4114f3e9", size = 2160488 }, - { url = "https://files.pythonhosted.org/packages/ae/11/a742d3c31b2cc8557a48efdde53427fd5f9caa2fa3c9c27d826e78a66f51/ml_dtypes-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:df0fb650d5c582a9e72bb5bd96cfebb2cdb889d89daff621c8fbc60295eba66c", size = 127462 }, + { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892, upload-time = "2023-01-07T11:08:09.864Z" }, ] [[package]] -name = "namex" -version = "0.0.8" +name = "mpmath" +version = "1.3.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/9d/48/d275cdb6216c6bb4f9351675795a0b48974e138f16b1ffe0252c1f8faa28/namex-0.0.8.tar.gz", hash = "sha256:32a50f6c565c0bb10aa76298c959507abdc0e850efe085dc38f3440fcb3aa90b", size = 6623 } +sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/73/59/7854fbfb59f8ae35483ce93493708be5942ebb6328cd85b3a609df629736/namex-0.0.8-py3-none-any.whl", hash = "sha256:7ddb6c2bb0e753a311b7590f84f6da659dd0c05e65cb89d519d54c0a250c0487", size = 5806 }, + { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" }, ] [[package]] name = "nodeenv" version = "1.9.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437 } +sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437, upload-time = "2024-06-04T18:44:11.171Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314 }, + { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314, upload-time = "2024-06-04T18:44:08.352Z" }, ] [[package]] name = "numpy" -version = "1.26.4" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010", size = 15786129 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a7/94/ace0fdea5241a27d13543ee117cbc65868e82213fb31a8eb7fe9ff23f313/numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9ff0f4f29c51e2803569d7a51c2304de5554655a60c5d776e35b4a41413830d0", size = 20631468 }, - { url = "https://files.pythonhosted.org/packages/20/f7/b24208eba89f9d1b58c1668bc6c8c4fd472b20c45573cb767f59d49fb0f6/numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e4ee3380d6de9c9ec04745830fd9e2eccb3e6cf790d39d7b98ffd19b0dd754a", size = 13966411 }, - { url = "https://files.pythonhosted.org/packages/fc/a5/4beee6488160798683eed5bdb7eead455892c3b4e1f78d79d8d3f3b084ac/numpy-1.26.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d209d8969599b27ad20994c8e41936ee0964e6da07478d6c35016bc386b66ad4", size = 14219016 }, - { url = "https://files.pythonhosted.org/packages/4b/d7/ecf66c1cd12dc28b4040b15ab4d17b773b87fa9d29ca16125de01adb36cd/numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ffa75af20b44f8dba823498024771d5ac50620e6915abac414251bd971b4529f", size = 18240889 }, - { url = "https://files.pythonhosted.org/packages/24/03/6f229fe3187546435c4f6f89f6d26c129d4f5bed40552899fcf1f0bf9e50/numpy-1.26.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:62b8e4b1e28009ef2846b4c7852046736bab361f7aeadeb6a5b89ebec3c7055a", size = 13876746 }, - { url = "https://files.pythonhosted.org/packages/39/fe/39ada9b094f01f5a35486577c848fe274e374bbf8d8f472e1423a0bbd26d/numpy-1.26.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a4abb4f9001ad2858e7ac189089c42178fcce737e4169dc61321660f1a96c7d2", size = 18078620 }, - { url = "https://files.pythonhosted.org/packages/d5/ef/6ad11d51197aad206a9ad2286dc1aac6a378059e06e8cf22cd08ed4f20dc/numpy-1.26.4-cp310-cp310-win32.whl", hash = "sha256:bfe25acf8b437eb2a8b2d49d443800a5f18508cd811fea3181723922a8a82b07", size = 5972659 }, - { url = "https://files.pythonhosted.org/packages/19/77/538f202862b9183f54108557bfda67e17603fc560c384559e769321c9d92/numpy-1.26.4-cp310-cp310-win_amd64.whl", hash = "sha256:b97fe8060236edf3662adfc2c633f56a08ae30560c56310562cb4f95500022d5", size = 15808905 }, - { url = "https://files.pythonhosted.org/packages/11/57/baae43d14fe163fa0e4c47f307b6b2511ab8d7d30177c491960504252053/numpy-1.26.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c66707fabe114439db9068ee468c26bbdf909cac0fb58686a42a24de1760c71", size = 20630554 }, - { url = "https://files.pythonhosted.org/packages/1a/2e/151484f49fd03944c4a3ad9c418ed193cfd02724e138ac8a9505d056c582/numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:edd8b5fe47dab091176d21bb6de568acdd906d1887a4584a15a9a96a1dca06ef", size = 13997127 }, - { url = "https://files.pythonhosted.org/packages/79/ae/7e5b85136806f9dadf4878bf73cf223fe5c2636818ba3ab1c585d0403164/numpy-1.26.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ab55401287bfec946ced39700c053796e7cc0e3acbef09993a9ad2adba6ca6e", size = 14222994 }, - { url = "https://files.pythonhosted.org/packages/3a/d0/edc009c27b406c4f9cbc79274d6e46d634d139075492ad055e3d68445925/numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:666dbfb6ec68962c033a450943ded891bed2d54e6755e35e5835d63f4f6931d5", size = 18252005 }, - { url = "https://files.pythonhosted.org/packages/09/bf/2b1aaf8f525f2923ff6cfcf134ae5e750e279ac65ebf386c75a0cf6da06a/numpy-1.26.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:96ff0b2ad353d8f990b63294c8986f1ec3cb19d749234014f4e7eb0112ceba5a", size = 13885297 }, - { url = "https://files.pythonhosted.org/packages/df/a0/4e0f14d847cfc2a633a1c8621d00724f3206cfeddeb66d35698c4e2cf3d2/numpy-1.26.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:60dedbb91afcbfdc9bc0b1f3f402804070deed7392c23eb7a7f07fa857868e8a", size = 18093567 }, - { url = "https://files.pythonhosted.org/packages/d2/b7/a734c733286e10a7f1a8ad1ae8c90f2d33bf604a96548e0a4a3a6739b468/numpy-1.26.4-cp311-cp311-win32.whl", hash = "sha256:1af303d6b2210eb850fcf03064d364652b7120803a0b872f5211f5234b399f20", size = 5968812 }, - { url = "https://files.pythonhosted.org/packages/3f/6b/5610004206cf7f8e7ad91c5a85a8c71b2f2f8051a0c0c4d5916b76d6cbb2/numpy-1.26.4-cp311-cp311-win_amd64.whl", hash = "sha256:cd25bcecc4974d09257ffcd1f098ee778f7834c3ad767fe5db785be9a4aa9cb2", size = 15811913 }, - { url = "https://files.pythonhosted.org/packages/95/12/8f2020a8e8b8383ac0177dc9570aad031a3beb12e38847f7129bacd96228/numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b3ce300f3644fb06443ee2222c2201dd3a89ea6040541412b8fa189341847218", size = 20335901 }, - { url = "https://files.pythonhosted.org/packages/75/5b/ca6c8bd14007e5ca171c7c03102d17b4f4e0ceb53957e8c44343a9546dcc/numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03a8c78d01d9781b28a6989f6fa1bb2c4f2d51201cf99d3dd875df6fbd96b23b", size = 13685868 }, - { url = "https://files.pythonhosted.org/packages/79/f8/97f10e6755e2a7d027ca783f63044d5b1bc1ae7acb12afe6a9b4286eac17/numpy-1.26.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9fad7dcb1aac3c7f0584a5a8133e3a43eeb2fe127f47e3632d43d677c66c102b", size = 13925109 }, - { url = "https://files.pythonhosted.org/packages/0f/50/de23fde84e45f5c4fda2488c759b69990fd4512387a8632860f3ac9cd225/numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675d61ffbfa78604709862923189bad94014bef562cc35cf61d3a07bba02a7ed", size = 17950613 }, - { url = "https://files.pythonhosted.org/packages/4c/0c/9c603826b6465e82591e05ca230dfc13376da512b25ccd0894709b054ed0/numpy-1.26.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab47dbe5cc8210f55aa58e4805fe224dac469cde56b9f731a4c098b91917159a", size = 13572172 }, - { url = "https://files.pythonhosted.org/packages/76/8c/2ba3902e1a0fc1c74962ea9bb33a534bb05984ad7ff9515bf8d07527cadd/numpy-1.26.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1dda2e7b4ec9dd512f84935c5f126c8bd8b9f2fc001e9f54af255e8c5f16b0e0", size = 17786643 }, - { url = "https://files.pythonhosted.org/packages/28/4a/46d9e65106879492374999e76eb85f87b15328e06bd1550668f79f7b18c6/numpy-1.26.4-cp312-cp312-win32.whl", hash = "sha256:50193e430acfc1346175fcbdaa28ffec49947a06918b7b92130744e81e640110", size = 5677803 }, - { url = "https://files.pythonhosted.org/packages/16/2e/86f24451c2d530c88daf997cb8d6ac622c1d40d19f5a031ed68a4b73a374/numpy-1.26.4-cp312-cp312-win_amd64.whl", hash = "sha256:08beddf13648eb95f8d867350f6a018a4be2e5ad54c8d8caed89ebca558b2818", size = 15517754 }, -] - -[[package]] -name = "opencv-python" -version = "4.11.0.86" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/24/62/ae72ff66c0f1fd959925b4c11f8c2dea61f47f6acaea75a08512cdfe3fed/numpy-2.4.1.tar.gz", hash = "sha256:a1ceafc5042451a858231588a104093474c6a5c57dcc724841f5c888d237d690", size = 20721320, upload-time = "2026-01-10T06:44:59.619Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/34/2b1bc18424f3ad9af577f6ce23600319968a70575bd7db31ce66731bbef9/numpy-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0cce2a669e3c8ba02ee563c7835f92c153cf02edff1ae05e1823f1dde21b16a5", size = 16944563, upload-time = "2026-01-10T06:42:14.615Z" }, + { url = "https://files.pythonhosted.org/packages/2c/57/26e5f97d075aef3794045a6ca9eada6a4ed70eb9a40e7a4a93f9ac80d704/numpy-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:899d2c18024984814ac7e83f8f49d8e8180e2fbe1b2e252f2e7f1d06bea92425", size = 12645658, upload-time = "2026-01-10T06:42:17.298Z" }, + { url = "https://files.pythonhosted.org/packages/8e/ba/80fc0b1e3cb2fd5c6143f00f42eb67762aa043eaa05ca924ecc3222a7849/numpy-2.4.1-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:09aa8a87e45b55a1c2c205d42e2808849ece5c484b2aab11fecabec3841cafba", size = 5474132, upload-time = "2026-01-10T06:42:19.637Z" }, + { url = "https://files.pythonhosted.org/packages/40/ae/0a5b9a397f0e865ec171187c78d9b57e5588afc439a04ba9cab1ebb2c945/numpy-2.4.1-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:edee228f76ee2dab4579fad6f51f6a305de09d444280109e0f75df247ff21501", size = 6804159, upload-time = "2026-01-10T06:42:21.44Z" }, + { url = "https://files.pythonhosted.org/packages/86/9c/841c15e691c7085caa6fd162f063eff494099c8327aeccd509d1ab1e36ab/numpy-2.4.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a92f227dbcdc9e4c3e193add1a189a9909947d4f8504c576f4a732fd0b54240a", size = 14708058, upload-time = "2026-01-10T06:42:23.546Z" }, + { url = "https://files.pythonhosted.org/packages/5d/9d/7862db06743f489e6a502a3b93136d73aea27d97b2cf91504f70a27501d6/numpy-2.4.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:538bf4ec353709c765ff75ae616c34d3c3dca1a68312727e8f2676ea644f8509", size = 16651501, upload-time = "2026-01-10T06:42:25.909Z" }, + { url = "https://files.pythonhosted.org/packages/a6/9c/6fc34ebcbd4015c6e5f0c0ce38264010ce8a546cb6beacb457b84a75dfc8/numpy-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ac08c63cb7779b85e9d5318e6c3518b424bc1f364ac4cb2c6136f12e5ff2dccc", size = 16492627, upload-time = "2026-01-10T06:42:28.938Z" }, + { url = "https://files.pythonhosted.org/packages/aa/63/2494a8597502dacda439f61b3c0db4da59928150e62be0e99395c3ad23c5/numpy-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:4f9c360ecef085e5841c539a9a12b883dff005fbd7ce46722f5e9cef52634d82", size = 18585052, upload-time = "2026-01-10T06:42:31.312Z" }, + { url = "https://files.pythonhosted.org/packages/6a/93/098e1162ae7522fc9b618d6272b77404c4656c72432ecee3abc029aa3de0/numpy-2.4.1-cp311-cp311-win32.whl", hash = "sha256:0f118ce6b972080ba0758c6087c3617b5ba243d806268623dc34216d69099ba0", size = 6236575, upload-time = "2026-01-10T06:42:33.872Z" }, + { url = "https://files.pythonhosted.org/packages/8c/de/f5e79650d23d9e12f38a7bc6b03ea0835b9575494f8ec94c11c6e773b1b1/numpy-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:18e14c4d09d55eef39a6ab5b08406e84bc6869c1e34eef45564804f90b7e0574", size = 12604479, upload-time = "2026-01-10T06:42:35.778Z" }, + { url = "https://files.pythonhosted.org/packages/dd/65/e1097a7047cff12ce3369bd003811516b20ba1078dbdec135e1cd7c16c56/numpy-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:6461de5113088b399d655d45c3897fa188766415d0f568f175ab071c8873bd73", size = 10578325, upload-time = "2026-01-10T06:42:38.518Z" }, + { url = "https://files.pythonhosted.org/packages/78/7f/ec53e32bf10c813604edf07a3682616bd931d026fcde7b6d13195dfb684a/numpy-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d3703409aac693fa82c0aee023a1ae06a6e9d065dba10f5e8e80f642f1e9d0a2", size = 16656888, upload-time = "2026-01-10T06:42:40.913Z" }, + { url = "https://files.pythonhosted.org/packages/b8/e0/1f9585d7dae8f14864e948fd7fa86c6cb72dee2676ca2748e63b1c5acfe0/numpy-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7211b95ca365519d3596a1d8688a95874cc94219d417504d9ecb2df99fa7bfa8", size = 12373956, upload-time = "2026-01-10T06:42:43.091Z" }, + { url = "https://files.pythonhosted.org/packages/8e/43/9762e88909ff2326f5e7536fa8cb3c49fb03a7d92705f23e6e7f553d9cb3/numpy-2.4.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:5adf01965456a664fc727ed69cc71848f28d063217c63e1a0e200a118d5eec9a", size = 5202567, upload-time = "2026-01-10T06:42:45.107Z" }, + { url = "https://files.pythonhosted.org/packages/4b/ee/34b7930eb61e79feb4478800a4b95b46566969d837546aa7c034c742ef98/numpy-2.4.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:26f0bcd9c79a00e339565b303badc74d3ea2bd6d52191eeca5f95936cad107d0", size = 6549459, upload-time = "2026-01-10T06:42:48.152Z" }, + { url = "https://files.pythonhosted.org/packages/79/e3/5f115fae982565771be994867c89bcd8d7208dbfe9469185497d70de5ddf/numpy-2.4.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0093e85df2960d7e4049664b26afc58b03236e967fb942354deef3208857a04c", size = 14404859, upload-time = "2026-01-10T06:42:49.947Z" }, + { url = "https://files.pythonhosted.org/packages/d9/7d/9c8a781c88933725445a859cac5d01b5871588a15969ee6aeb618ba99eee/numpy-2.4.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7ad270f438cbdd402c364980317fb6b117d9ec5e226fff5b4148dd9aa9fc6e02", size = 16371419, upload-time = "2026-01-10T06:42:52.409Z" }, + { url = "https://files.pythonhosted.org/packages/a6/d2/8aa084818554543f17cf4162c42f162acbd3bb42688aefdba6628a859f77/numpy-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:297c72b1b98100c2e8f873d5d35fb551fce7040ade83d67dd51d38c8d42a2162", size = 16182131, upload-time = "2026-01-10T06:42:54.694Z" }, + { url = "https://files.pythonhosted.org/packages/60/db/0425216684297c58a8df35f3284ef56ec4a043e6d283f8a59c53562caf1b/numpy-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cf6470d91d34bf669f61d515499859fa7a4c2f7c36434afb70e82df7217933f9", size = 18295342, upload-time = "2026-01-10T06:42:56.991Z" }, + { url = "https://files.pythonhosted.org/packages/31/4c/14cb9d86240bd8c386c881bafbe43f001284b7cce3bc01623ac9475da163/numpy-2.4.1-cp312-cp312-win32.whl", hash = "sha256:b6bcf39112e956594b3331316d90c90c90fb961e39696bda97b89462f5f3943f", size = 5959015, upload-time = "2026-01-10T06:42:59.631Z" }, + { url = "https://files.pythonhosted.org/packages/51/cf/52a703dbeb0c65807540d29699fef5fda073434ff61846a564d5c296420f/numpy-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:e1a27bb1b2dee45a2a53f5ca6ff2d1a7f135287883a1689e930d44d1ff296c87", size = 12310730, upload-time = "2026-01-10T06:43:01.627Z" }, + { url = "https://files.pythonhosted.org/packages/69/80/a828b2d0ade5e74a9fe0f4e0a17c30fdc26232ad2bc8c9f8b3197cf7cf18/numpy-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:0e6e8f9d9ecf95399982019c01223dc130542960a12edfa8edd1122dfa66a8a8", size = 10312166, upload-time = "2026-01-10T06:43:03.673Z" }, + { url = "https://files.pythonhosted.org/packages/04/68/732d4b7811c00775f3bd522a21e8dd5a23f77eb11acdeb663e4a4ebf0ef4/numpy-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d797454e37570cfd61143b73b8debd623c3c0952959adb817dd310a483d58a1b", size = 16652495, upload-time = "2026-01-10T06:43:06.283Z" }, + { url = "https://files.pythonhosted.org/packages/20/ca/857722353421a27f1465652b2c66813eeeccea9d76d5f7b74b99f298e60e/numpy-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:82c55962006156aeef1629b953fd359064aa47e4d82cfc8e67f0918f7da3344f", size = 12368657, upload-time = "2026-01-10T06:43:09.094Z" }, + { url = "https://files.pythonhosted.org/packages/81/0d/2377c917513449cc6240031a79d30eb9a163d32a91e79e0da47c43f2c0c8/numpy-2.4.1-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:71abbea030f2cfc3092a0ff9f8c8fdefdc5e0bf7d9d9c99663538bb0ecdac0b9", size = 5197256, upload-time = "2026-01-10T06:43:13.634Z" }, + { url = "https://files.pythonhosted.org/packages/17/39/569452228de3f5de9064ac75137082c6214be1f5c532016549a7923ab4b5/numpy-2.4.1-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:5b55aa56165b17aaf15520beb9cbd33c9039810e0d9643dd4379e44294c7303e", size = 6545212, upload-time = "2026-01-10T06:43:15.661Z" }, + { url = "https://files.pythonhosted.org/packages/8c/a4/77333f4d1e4dac4395385482557aeecf4826e6ff517e32ca48e1dafbe42a/numpy-2.4.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0faba4a331195bfa96f93dd9dfaa10b2c7aa8cda3a02b7fd635e588fe821bf5", size = 14402871, upload-time = "2026-01-10T06:43:17.324Z" }, + { url = "https://files.pythonhosted.org/packages/ba/87/d341e519956273b39d8d47969dd1eaa1af740615394fe67d06f1efa68773/numpy-2.4.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d3e3087f53e2b4428766b54932644d148613c5a595150533ae7f00dab2f319a8", size = 16359305, upload-time = "2026-01-10T06:43:19.376Z" }, + { url = "https://files.pythonhosted.org/packages/32/91/789132c6666288eaa20ae8066bb99eba1939362e8f1a534949a215246e97/numpy-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:49e792ec351315e16da54b543db06ca8a86985ab682602d90c60ef4ff4db2a9c", size = 16181909, upload-time = "2026-01-10T06:43:21.808Z" }, + { url = "https://files.pythonhosted.org/packages/cf/b8/090b8bd27b82a844bb22ff8fdf7935cb1980b48d6e439ae116f53cdc2143/numpy-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:79e9e06c4c2379db47f3f6fc7a8652e7498251789bf8ff5bd43bf478ef314ca2", size = 18284380, upload-time = "2026-01-10T06:43:23.957Z" }, + { url = "https://files.pythonhosted.org/packages/67/78/722b62bd31842ff029412271556a1a27a98f45359dea78b1548a3a9996aa/numpy-2.4.1-cp313-cp313-win32.whl", hash = "sha256:3d1a100e48cb266090a031397863ff8a30050ceefd798f686ff92c67a486753d", size = 5957089, upload-time = "2026-01-10T06:43:27.535Z" }, + { url = "https://files.pythonhosted.org/packages/da/a6/cf32198b0b6e18d4fbfa9a21a992a7fca535b9bb2b0cdd217d4a3445b5ca/numpy-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:92a0e65272fd60bfa0d9278e0484c2f52fe03b97aedc02b357f33fe752c52ffb", size = 12307230, upload-time = "2026-01-10T06:43:29.298Z" }, + { url = "https://files.pythonhosted.org/packages/44/6c/534d692bfb7d0afe30611320c5fb713659dcb5104d7cc182aff2aea092f5/numpy-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:20d4649c773f66cc2fc36f663e091f57c3b7655f936a4c681b4250855d1da8f5", size = 10313125, upload-time = "2026-01-10T06:43:31.782Z" }, + { url = "https://files.pythonhosted.org/packages/da/a1/354583ac5c4caa566de6ddfbc42744409b515039e085fab6e0ff942e0df5/numpy-2.4.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:f93bc6892fe7b0663e5ffa83b61aab510aacffd58c16e012bb9352d489d90cb7", size = 12496156, upload-time = "2026-01-10T06:43:34.237Z" }, + { url = "https://files.pythonhosted.org/packages/51/b0/42807c6e8cce58c00127b1dc24d365305189991f2a7917aa694a109c8d7d/numpy-2.4.1-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:178de8f87948163d98a4c9ab5bee4ce6519ca918926ec8df195af582de28544d", size = 5324663, upload-time = "2026-01-10T06:43:36.211Z" }, + { url = "https://files.pythonhosted.org/packages/fe/55/7a621694010d92375ed82f312b2f28017694ed784775269115323e37f5e2/numpy-2.4.1-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:98b35775e03ab7f868908b524fc0a84d38932d8daf7b7e1c3c3a1b6c7a2c9f15", size = 6645224, upload-time = "2026-01-10T06:43:37.884Z" }, + { url = "https://files.pythonhosted.org/packages/50/96/9fa8635ed9d7c847d87e30c834f7109fac5e88549d79ef3324ab5c20919f/numpy-2.4.1-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:941c2a93313d030f219f3a71fd3d91a728b82979a5e8034eb2e60d394a2b83f9", size = 14462352, upload-time = "2026-01-10T06:43:39.479Z" }, + { url = "https://files.pythonhosted.org/packages/03/d1/8cf62d8bb2062da4fb82dd5d49e47c923f9c0738032f054e0a75342faba7/numpy-2.4.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:529050522e983e00a6c1c6b67411083630de8b57f65e853d7b03d9281b8694d2", size = 16407279, upload-time = "2026-01-10T06:43:41.93Z" }, + { url = "https://files.pythonhosted.org/packages/86/1c/95c86e17c6b0b31ce6ef219da00f71113b220bcb14938c8d9a05cee0ff53/numpy-2.4.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:2302dc0224c1cbc49bb94f7064f3f923a971bfae45c33870dcbff63a2a550505", size = 16248316, upload-time = "2026-01-10T06:43:44.121Z" }, + { url = "https://files.pythonhosted.org/packages/30/b4/e7f5ff8697274c9d0fa82398b6a372a27e5cef069b37df6355ccb1f1db1a/numpy-2.4.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:9171a42fcad32dcf3fa86f0a4faa5e9f8facefdb276f54b8b390d90447cff4e2", size = 18329884, upload-time = "2026-01-10T06:43:46.613Z" }, + { url = "https://files.pythonhosted.org/packages/37/a4/b073f3e9d77f9aec8debe8ca7f9f6a09e888ad1ba7488f0c3b36a94c03ac/numpy-2.4.1-cp313-cp313t-win32.whl", hash = "sha256:382ad67d99ef49024f11d1ce5dcb5ad8432446e4246a4b014418ba3a1175a1f4", size = 6081138, upload-time = "2026-01-10T06:43:48.854Z" }, + { url = "https://files.pythonhosted.org/packages/16/16/af42337b53844e67752a092481ab869c0523bc95c4e5c98e4dac4e9581ac/numpy-2.4.1-cp313-cp313t-win_amd64.whl", hash = "sha256:62fea415f83ad8fdb6c20840578e5fbaf5ddd65e0ec6c3c47eda0f69da172510", size = 12447478, upload-time = "2026-01-10T06:43:50.476Z" }, + { url = "https://files.pythonhosted.org/packages/6c/f8/fa85b2eac68ec631d0b631abc448552cb17d39afd17ec53dcbcc3537681a/numpy-2.4.1-cp313-cp313t-win_arm64.whl", hash = "sha256:a7870e8c5fc11aef57d6fea4b4085e537a3a60ad2cdd14322ed531fdca68d261", size = 10382981, upload-time = "2026-01-10T06:43:52.575Z" }, + { url = "https://files.pythonhosted.org/packages/1e/48/d86f97919e79314a1cdee4c832178763e6e98e623e123d0bada19e92c15a/numpy-2.4.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:8ad35f20be147a204e28b6a0575fbf3540c5e5f802634d4258d55b1ff5facce1", size = 16822202, upload-time = "2026-01-10T06:44:43.738Z" }, + { url = "https://files.pythonhosted.org/packages/51/e9/1e62a7f77e0f37dcfb0ad6a9744e65df00242b6ea37dfafb55debcbf5b55/numpy-2.4.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:8097529164c0f3e32bb89412a0905d9100bf434d9692d9fc275e18dcf53c9344", size = 12569985, upload-time = "2026-01-10T06:44:45.945Z" }, + { url = "https://files.pythonhosted.org/packages/c7/7e/914d54f0c801342306fdcdce3e994a56476f1b818c46c47fc21ae968088c/numpy-2.4.1-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:ea66d2b41ca4a1630aae5507ee0a71647d3124d1741980138aa8f28f44dac36e", size = 5398484, upload-time = "2026-01-10T06:44:48.012Z" }, + { url = "https://files.pythonhosted.org/packages/1c/d8/9570b68584e293a33474e7b5a77ca404f1dcc655e40050a600dee81d27fb/numpy-2.4.1-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:d3f8f0df9f4b8be57b3bf74a1d087fec68f927a2fab68231fdb442bf2c12e426", size = 6713216, upload-time = "2026-01-10T06:44:49.725Z" }, + { url = "https://files.pythonhosted.org/packages/33/9b/9dd6e2db8d49eb24f86acaaa5258e5f4c8ed38209a4ee9de2d1a0ca25045/numpy-2.4.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2023ef86243690c2791fd6353e5b4848eedaa88ca8a2d129f462049f6d484696", size = 14538937, upload-time = "2026-01-10T06:44:51.498Z" }, + { url = "https://files.pythonhosted.org/packages/53/87/d5bd995b0f798a37105b876350d346eea5838bd8f77ea3d7a48392f3812b/numpy-2.4.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8361ea4220d763e54cff2fbe7d8c93526b744f7cd9ddab47afeff7e14e8503be", size = 16479830, upload-time = "2026-01-10T06:44:53.931Z" }, + { url = "https://files.pythonhosted.org/packages/5b/c7/b801bf98514b6ae6475e941ac05c58e6411dd863ea92916bfd6d510b08c1/numpy-2.4.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:4f1b68ff47680c2925f8063402a693ede215f0257f02596b1318ecdfb1d79e33", size = 12492579, upload-time = "2026-01-10T06:44:57.094Z" }, +] + +[[package]] +name = "onnxruntime" +version = "1.23.2" source = { registry = "https://pypi.org/simple" } dependencies = [ + { name = "coloredlogs" }, + { name = "flatbuffers" }, { name = "numpy" }, + { name = "packaging" }, + { name = "protobuf" }, + { name = "sympy" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/17/06/68c27a523103dad5837dc5b87e71285280c4f098c60e4fe8a8db6486ab09/opencv-python-4.11.0.86.tar.gz", hash = "sha256:03d60ccae62304860d232272e4a4fda93c39d595780cb40b161b310244b736a4", size = 95171956 } wheels = [ - { url = "https://files.pythonhosted.org/packages/05/4d/53b30a2a3ac1f75f65a59eb29cf2ee7207ce64867db47036ad61743d5a23/opencv_python-4.11.0.86-cp37-abi3-macosx_13_0_arm64.whl", hash = "sha256:432f67c223f1dc2824f5e73cdfcd9db0efc8710647d4e813012195dc9122a52a", size = 37326322 }, - { url = "https://files.pythonhosted.org/packages/3b/84/0a67490741867eacdfa37bc18df96e08a9d579583b419010d7f3da8ff503/opencv_python-4.11.0.86-cp37-abi3-macosx_13_0_x86_64.whl", hash = "sha256:9d05ef13d23fe97f575153558653e2d6e87103995d54e6a35db3f282fe1f9c66", size = 56723197 }, - { url = "https://files.pythonhosted.org/packages/f3/bd/29c126788da65c1fb2b5fb621b7fed0ed5f9122aa22a0868c5e2c15c6d23/opencv_python-4.11.0.86-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1b92ae2c8852208817e6776ba1ea0d6b1e0a1b5431e971a2a0ddd2a8cc398202", size = 42230439 }, - { url = "https://files.pythonhosted.org/packages/2c/8b/90eb44a40476fa0e71e05a0283947cfd74a5d36121a11d926ad6f3193cc4/opencv_python-4.11.0.86-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6b02611523803495003bd87362db3e1d2a0454a6a63025dc6658a9830570aa0d", size = 62986597 }, - { url = "https://files.pythonhosted.org/packages/fb/d7/1d5941a9dde095468b288d989ff6539dd69cd429dbf1b9e839013d21b6f0/opencv_python-4.11.0.86-cp37-abi3-win32.whl", hash = "sha256:810549cb2a4aedaa84ad9a1c92fbfdfc14090e2749cedf2c1589ad8359aa169b", size = 29384337 }, - { url = "https://files.pythonhosted.org/packages/a4/7d/f1c30a92854540bf789e9cd5dde7ef49bbe63f855b85a2e6b3db8135c591/opencv_python-4.11.0.86-cp37-abi3-win_amd64.whl", hash = "sha256:085ad9b77c18853ea66283e98affefe2de8cc4c1f43eda4c100cf9b2721142ec", size = 39488044 }, + { url = "https://files.pythonhosted.org/packages/44/be/467b00f09061572f022ffd17e49e49e5a7a789056bad95b54dfd3bee73ff/onnxruntime-1.23.2-cp311-cp311-macosx_13_0_arm64.whl", hash = "sha256:6f91d2c9b0965e86827a5ba01531d5b669770b01775b23199565d6c1f136616c", size = 17196113, upload-time = "2025-10-22T03:47:33.526Z" }, + { url = "https://files.pythonhosted.org/packages/9f/a8/3c23a8f75f93122d2b3410bfb74d06d0f8da4ac663185f91866b03f7da1b/onnxruntime-1.23.2-cp311-cp311-macosx_13_0_x86_64.whl", hash = "sha256:87d8b6eaf0fbeb6835a60a4265fde7a3b60157cf1b2764773ac47237b4d48612", size = 19153857, upload-time = "2025-10-22T03:46:37.578Z" }, + { url = "https://files.pythonhosted.org/packages/3f/d8/506eed9af03d86f8db4880a4c47cd0dffee973ef7e4f4cff9f1d4bcf7d22/onnxruntime-1.23.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bbfd2fca76c855317568c1b36a885ddea2272c13cb0e395002c402f2360429a6", size = 15220095, upload-time = "2025-10-22T03:46:24.769Z" }, + { url = "https://files.pythonhosted.org/packages/1b/9e/f748cd64161213adeef83d0cb16cb8ace1e62fa501033acdd9f9341fff57/onnxruntime-1.23.2-cp312-cp312-macosx_13_0_arm64.whl", hash = "sha256:b8f029a6b98d3cf5be564d52802bb50a8489ab73409fa9db0bf583eabb7c2321", size = 17195929, upload-time = "2025-10-22T03:47:36.24Z" }, + { url = "https://files.pythonhosted.org/packages/91/9d/a81aafd899b900101988ead7fb14974c8a58695338ab6a0f3d6b0100f30b/onnxruntime-1.23.2-cp312-cp312-macosx_13_0_x86_64.whl", hash = "sha256:218295a8acae83905f6f1aed8cacb8e3eb3bd7513a13fe4ba3b2664a19fc4a6b", size = 19157705, upload-time = "2025-10-22T03:46:40.415Z" }, + { url = "https://files.pythonhosted.org/packages/3c/35/4e40f2fba272a6698d62be2cd21ddc3675edfc1a4b9ddefcc4648f115315/onnxruntime-1.23.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:76ff670550dc23e58ea9bc53b5149b99a44e63b34b524f7b8547469aaa0dcb8c", size = 15226915, upload-time = "2025-10-22T03:46:27.773Z" }, + { url = "https://files.pythonhosted.org/packages/3d/41/fba0cabccecefe4a1b5fc8020c44febb334637f133acefc7ec492029dd2c/onnxruntime-1.23.2-cp313-cp313-macosx_13_0_arm64.whl", hash = "sha256:2ff531ad8496281b4297f32b83b01cdd719617e2351ffe0dba5684fb283afa1f", size = 17196337, upload-time = "2025-10-22T03:46:35.168Z" }, + { url = "https://files.pythonhosted.org/packages/fe/f9/2d49ca491c6a986acce9f1d1d5fc2099108958cc1710c28e89a032c9cfe9/onnxruntime-1.23.2-cp313-cp313-macosx_13_0_x86_64.whl", hash = "sha256:162f4ca894ec3de1a6fd53589e511e06ecdc3ff646849b62a9da7489dee9ce95", size = 19157691, upload-time = "2025-10-22T03:46:43.518Z" }, + { url = "https://files.pythonhosted.org/packages/1c/a1/428ee29c6eaf09a6f6be56f836213f104618fb35ac6cc586ff0f477263eb/onnxruntime-1.23.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45d127d6e1e9b99d1ebeae9bcd8f98617a812f53f46699eafeb976275744826b", size = 15226898, upload-time = "2025-10-22T03:46:30.039Z" }, + { url = "https://files.pythonhosted.org/packages/7c/3d/6830fa61c69ca8e905f237001dbfc01689a4e4ab06147020a4518318881f/onnxruntime-1.23.2-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9d2385e774f46ac38f02b3a91a91e30263d41b2f1f4f26ae34805b2a9ddef466", size = 15229610, upload-time = "2025-10-22T03:46:32.239Z" }, ] [[package]] -name = "opt-einsum" -version = "3.4.0" +name = "onnxruntime-gpu" +version = "1.23.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/8c/b9/2ac072041e899a52f20cf9510850ff58295003aa75525e58343591b0cbfb/opt_einsum-3.4.0.tar.gz", hash = "sha256:96ca72f1b886d148241348783498194c577fa30a8faac108586b14f1ba4473ac", size = 63004 } +dependencies = [ + { name = "coloredlogs" }, + { name = "flatbuffers" }, + { name = "numpy" }, + { name = "packaging" }, + { name = "protobuf" }, + { name = "sympy" }, +] wheels = [ - { url = "https://files.pythonhosted.org/packages/23/cd/066e86230ae37ed0be70aae89aabf03ca8d9f39c8aea0dec8029455b5540/opt_einsum-3.4.0-py3-none-any.whl", hash = "sha256:69bb92469f86a1565195ece4ac0323943e83477171b91d24c35afe028a90d7cd", size = 71932 }, + { url = "https://files.pythonhosted.org/packages/43/a4/e3d7fbe32b44e814ae24ed642f05fac5d96d120efd82db7a7cac936e85a9/onnxruntime_gpu-1.23.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d76d1ac7a479ecc3ac54482eea4ba3b10d68e888a0f8b5f420f0bdf82c5eec59", size = 300525715, upload-time = "2025-10-22T16:56:19.928Z" }, + { url = "https://files.pythonhosted.org/packages/a9/5c/dba7c009e73dcce02e7f714574345b5e607c5c75510eb8d7bef682b45e5d/onnxruntime_gpu-1.23.2-cp311-cp311-win_amd64.whl", hash = "sha256:054282614c2fc9a4a27d74242afbae706a410f1f63cc35bc72f99709029a5ba4", size = 244506823, upload-time = "2025-10-22T16:55:09.526Z" }, + { url = "https://files.pythonhosted.org/packages/6c/d9/b7140a4f1615195938c7e358c0804bb84271f0d6886b5cbf105c6cb58aae/onnxruntime_gpu-1.23.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f2d1f720685d729b5258ec1b36dee1de381b8898189908c98cbeecdb2f2b5c2", size = 300509596, upload-time = "2025-10-22T16:56:31.728Z" }, + { url = "https://files.pythonhosted.org/packages/87/da/2685c79e5ea587beddebe083601fead0bdf3620bc2f92d18756e7de8a636/onnxruntime_gpu-1.23.2-cp312-cp312-win_amd64.whl", hash = "sha256:fe925a84b00e291e0ad3fac29bfd8f8e06112abc760cdc82cb711b4f3935bd95", size = 244508327, upload-time = "2025-10-22T16:55:19.397Z" }, + { url = "https://files.pythonhosted.org/packages/03/05/40d561636e4114b54aa06d2371bfbca2d03e12cfdf5d4b85814802f18a75/onnxruntime_gpu-1.23.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1e8f75af5da07329d0c3a5006087f4051d8abd133b4be7c9bae8cdab7bea4c26", size = 300515567, upload-time = "2025-10-22T16:56:43.794Z" }, + { url = "https://files.pythonhosted.org/packages/b6/3b/418300438063d403384c79eaef1cb13c97627042f2247b35a887276a355a/onnxruntime_gpu-1.23.2-cp313-cp313-win_amd64.whl", hash = "sha256:7f1b3f49e5e126b99e23ec86b4203db41c2a911f6165f7624f2bc8267aaca767", size = 244507535, upload-time = "2025-10-22T16:55:28.532Z" }, + { url = "https://files.pythonhosted.org/packages/b8/dc/80b145e3134d7eba31309b3299a2836e37c76e4c419a261ad9796f8f8d65/onnxruntime_gpu-1.23.2-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20959cd4ae358aab6579ab9123284a7b1498f7d51ec291d429a5edc26511306f", size = 300525759, upload-time = "2025-10-22T16:56:56.925Z" }, ] [[package]] -name = "optree" -version = "0.14.0" +name = "opencv-python" +version = "4.13.0.90" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions" }, + { name = "numpy" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/86/3a/313dae3303d526c333259544e9196207d33a43f0768cdca45f8e69cdd8ba/optree-0.14.0.tar.gz", hash = "sha256:d2b4b8784f5c7651a899997c9d6d4cd814c4222cd450c76d1fa386b8f5728d61", size = 158834 } wheels = [ - { url = "https://files.pythonhosted.org/packages/59/48/4e7ad3cd97556383d358f6fca48d85829d3fc1b969992042e8f09c92db21/optree-0.14.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d83eca94393fd4a3dbcd5c64ed90e45606c96d28041653fce1318ed19dbfb93c", size = 599832 }, - { url = "https://files.pythonhosted.org/packages/e1/81/f30aa5d3c548e30890f9de0a51b6de6804337e37c1729bbbef2e273fdf24/optree-0.14.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b89e755790644d92c9780f10eb77ee2aca0e2a28d11abacd9fc08be9b10b4b1a", size = 324102 }, - { url = "https://files.pythonhosted.org/packages/87/31/3bfc5e4975615dfb9d963b1e60c703d717a9c74c32c5bd87fa86577acb03/optree-0.14.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aeac4d1a936d71367afb382c0019f699f402f1354f54f350311e5d5ec31a4b23", size = 356393 }, - { url = "https://files.pythonhosted.org/packages/28/28/fd07506b0753f513cd235a23a8bcfbe39d43a3045949030801e5e4b3aac0/optree-0.14.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1ce82e985fee053455290c68ebedc86a0b1adc204fef26c16f136ccc523b4bef", size = 401006 }, - { url = "https://files.pythonhosted.org/packages/d4/14/c648dac7e873f580e6b33c75532ec74d32e5c590e89007615440a9814d1e/optree-0.14.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ac060f9716e52bb79d26cb26b13eaf4d14bfd1357ba95d0804d7479f957b4b65", size = 398479 }, - { url = "https://files.pythonhosted.org/packages/da/b6/94f790ecdd6c15ca4f280b6fa558b7e24ce452d38d756354d791ae881077/optree-0.14.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2ae71f7b4dbf914064ef824623230677f6a5dfe312f67e2bef47d3a7f864564c", size = 368972 }, - { url = "https://files.pythonhosted.org/packages/09/89/b0cbfadc5006028a7be33f5e20527228f169576100ae58c1c54ca9268f43/optree-0.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:875da3a78d9adf3d8175716c72693aad8719bd3a1f72d9dfe47ced98ce9449c2", size = 391840 }, - { url = "https://files.pythonhosted.org/packages/b9/75/04f924fd69f7985bb558a9f867e301f577b9c14d6e8102e90744d4cdeca8/optree-0.14.0-cp310-cp310-win32.whl", hash = "sha256:762dbe52a79538bc25eb93586ce7449b77a65c136a410fe1101c96dfed73f889", size = 262444 }, - { url = "https://files.pythonhosted.org/packages/e8/d5/7def4897684cbadd38ea49f88976550a21a4cff69a8a2a02b42ee3cac48c/optree-0.14.0-cp310-cp310-win_amd64.whl", hash = "sha256:3e62e8c2987376340337a1ad6767dd54f3c4be4cb26523598af53c6500fecff0", size = 290871 }, - { url = "https://files.pythonhosted.org/packages/e1/7c/6a970668a4d149c138fdc53acfb437cf508e25bfcd98950f17cb83c9899c/optree-0.14.0-cp310-cp310-win_arm64.whl", hash = "sha256:21d5d41e3ffae3cf27f89370fab4eb2bef65dafbc8cb0924db30f3f486684507", size = 289628 }, - { url = "https://files.pythonhosted.org/packages/60/a6/32d2de89191c932fedb3f864de8b0510373798604a784e862943582f3728/optree-0.14.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0adb1ad31a55ae4e32595dc94cac3b06b53f6a7b1710acec9b56f5ccfc82c873", size = 619759 }, - { url = "https://files.pythonhosted.org/packages/aa/61/5b7c9966e90367fbd958266d0ffd940a67c0a481ebb4047e7ec44191182d/optree-0.14.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f74dd8365ea32573a2f334717dd784349aafb00bb5e01a3536da951a4db31cd4", size = 332368 }, - { url = "https://files.pythonhosted.org/packages/82/22/e5cd0bc4b0a7c5a628abcade03e4de4a0fb693f377acf4306afe946e83ad/optree-0.14.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:83209a27df29e297398a1fc0b8c2412946aac5bd1372cdb9c952bcc4b4fe0ed6", size = 368521 }, - { url = "https://files.pythonhosted.org/packages/26/70/8e5d2e47d2762ac2f978b35a271dfc8dc813a3e9704a7c19adeb8ef87fb5/optree-0.14.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9d35bc23e478234181dde92e082ae6c8403e2aa9499a8a2e307fb962e4a407a4", size = 416621 }, - { url = "https://files.pythonhosted.org/packages/2c/45/2a5154a062eebd0b561ac495de9c31158c95f740b1015d3ddc0faf953da0/optree-0.14.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:333951d76c9cb10fc3e435f105af6cca72463fb1f2c9ba018d04763f4eb52baf", size = 414091 }, - { url = "https://files.pythonhosted.org/packages/69/f5/7a9e7e55733bd1670c7e3870152ca75a2fd155aa8b8870b290095e8c8be6/optree-0.14.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ccef727fff1731f72a078cfbdef3eb6f972dd1bbeea049b32fb2ef7cd88e3e0a", size = 381856 }, - { url = "https://files.pythonhosted.org/packages/b3/9b/b2420d5830d3e65c98543e69dbcebdc903830b897bd601dfab8481fa0b5b/optree-0.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ef0a191e3696cad377faa191390328bb83e5cac01a68a8be793e222c59f327d", size = 405508 }, - { url = "https://files.pythonhosted.org/packages/0e/3c/b0430f94aff803b35777e7453e058457a377fd6dfa775917805e58c15158/optree-0.14.0-cp311-cp311-win32.whl", hash = "sha256:c30ea1dfff229183941c97159a58216ea354b97d181e6cd02b1e9faf5023af4f", size = 268403 }, - { url = "https://files.pythonhosted.org/packages/af/c2/811b76e321b3a83828fa63da17e3409d577ce7d0366a601d913eaeb49679/optree-0.14.0-cp311-cp311-win_amd64.whl", hash = "sha256:68bdf5cc6cf87983462720095bf0982920065bddec24831c90be4e424071dfe8", size = 300373 }, - { url = "https://files.pythonhosted.org/packages/7e/a8/6f15eb9d291bccc824429d1c9888203d9824ada153f43cd8a7979746c99e/optree-0.14.0-cp311-cp311-win_arm64.whl", hash = "sha256:fd53ad33bf2c677da5c177a577b2c74dd1374e9c69ee45a804302b38be24a88a", size = 299071 }, - { url = "https://files.pythonhosted.org/packages/45/1f/9e9693af1bf6d1db829a62599a7b48a6c89b574a586a9797a37beac2d98e/optree-0.14.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:14da8391e74e315ec7e19e7da6a4ed88f4ff928ca1be59e13d4572b60e3f95bf", size = 630052 }, - { url = "https://files.pythonhosted.org/packages/dd/23/0a20a1e682c6980b3c814fff27eca61ddb9ea1ff7f88991ff0f9ddb290e9/optree-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ebe98ca371b98881c7568a8ea88fb0446d92687485da0ef71fa5e45902c03b7b", size = 335831 }, - { url = "https://files.pythonhosted.org/packages/05/43/4d5042a032ad453fd7b6edd4eefa4a100f44688ba4189e6638e81bdc865d/optree-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dfff8174eaae1c11bd52a30a78a739ad7e75fae6cceaaf3f63e2c8c9dd40dd70", size = 364596 }, - { url = "https://files.pythonhosted.org/packages/5f/d2/090e54b6c3c7587defce0240026dc11599bfa5bb28a159f413b3a8f7829a/optree-0.14.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc8c1689faa73f5a2f3f38476ae5620b6bda6d06a4b04d1882b8faf1ee0d94f1", size = 410846 }, - { url = "https://files.pythonhosted.org/packages/32/ec/90939a428fd1a4fb329cef9c716db3042db7827f36b6e3c488966eeed337/optree-0.14.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c2d6d3fba532ab9f55be9efde7b5f0b22efed198e640199fdbe7da61c9412dff", size = 408181 }, - { url = "https://files.pythonhosted.org/packages/58/d7/05406b862f218815da96f0ab59ad6e494a8187cb406ef74e45b4a8748975/optree-0.14.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:74444c294795895456e376d31840197f7cf91381d73cd3ebcaa0e30818aad12e", size = 376675 }, - { url = "https://files.pythonhosted.org/packages/0e/06/48b29242acb1180ca5b7bb4208c58b6418e271811bf03a89548ff18010b4/optree-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6b63187a249cd3a4d0d1221e1d2f82175c4a147e7374230a121c44df5364da9f", size = 400226 }, - { url = "https://files.pythonhosted.org/packages/d1/42/cd327132f2a481939d07315cf98393fd62912c31bc3288b83dd142a7d0d2/optree-0.14.0-cp312-cp312-win32.whl", hash = "sha256:c153bb5b5d2286109d1d8bee704b59f9303aed9c92822075e7002ea5362fa534", size = 268878 }, - { url = "https://files.pythonhosted.org/packages/ce/e6/b1c08aa53a2db9d8102d439f680ae2065ca7a3ea7da62902b7f57f576236/optree-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:c79cad5da479ee6931f2c96cacccf588ff75029072661021963117df895305d9", size = 299568 }, - { url = "https://files.pythonhosted.org/packages/9d/42/db1e14970e3dd6ff0b2aea7767e92989769a0dc8b07f89850197515ecf97/optree-0.14.0-cp312-cp312-win_arm64.whl", hash = "sha256:c844427e28cc661782fdfba6a2a13d89acabc3b183f49f5e366f8b4fab9616f4", size = 295279 }, - { url = "https://files.pythonhosted.org/packages/dc/f3/eb0379246428ef28484a40607f74248766c40986567b6d4e7d416dcaddfd/optree-0.14.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:a4934f4da6f79314760e9559f8c8484e00aa99ea79f8d3326f66cf8e11db71b0", size = 330719 }, - { url = "https://files.pythonhosted.org/packages/12/48/71ca54dc7d4729af8b7d4706549d5c4236e2a24d9a9a41c20bd4b36d3442/optree-0.14.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:78d33c499c102e2aba05abf99876025ba7f1d5ca98f2e3c75d5cddc9dc42cfa5", size = 360622 }, - { url = "https://files.pythonhosted.org/packages/22/21/6438ee6c4894ff996e85e187e83975eef4d95bcd58978f1f2e473e0882c2/optree-0.14.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b3eea1ab8fb32cf5745eead68671100db8547e6d22e8b5c3780376369560659c", size = 405706 }, - { url = "https://files.pythonhosted.org/packages/e8/37/a12cfe33b5db4949905bc02dfeca494b153057d70eb680fd520e0b4b529a/optree-0.14.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d3fe8f48cb16454e3b9c44f081b940062180e0d6c10fda0a098ed7855be8d0a9", size = 395076 }, - { url = "https://files.pythonhosted.org/packages/da/5a/e9b94bbf183ab83565fd31146b509f39288c2b293208337deaeb9ff300f9/optree-0.14.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:3e53c3aa6303efb9a64ccef160ec6638bb4a97b41b77c3871a1204397e27a98a", size = 293687 }, + { url = "https://files.pythonhosted.org/packages/77/d7/133d5756aef78090f4d8dd4895793aed24942dec6064a15375cfac9175fc/opencv_python-4.13.0.90-cp37-abi3-macosx_13_0_arm64.whl", hash = "sha256:58803f8b05b51d8a785e2306d83b44173b32536f980342f3bc76d8c122b5938d", size = 46020278, upload-time = "2026-01-18T08:57:42.539Z" }, + { url = "https://files.pythonhosted.org/packages/7b/65/3b8cdbe13fa2436695d00e1d8c1ddf5edb4050a93436f34ed867233d1960/opencv_python-4.13.0.90-cp37-abi3-macosx_14_0_x86_64.whl", hash = "sha256:a5354e8b161409fce7710ba4c1cfe88b7bb460d97f705dc4e714a1636616f87d", size = 32568376, upload-time = "2026-01-18T08:58:47.19Z" }, + { url = "https://files.pythonhosted.org/packages/34/ff/e4d7c165e678563f49505d3d2811fcc16011e929cd00bc4b0070c7ee82b0/opencv_python-4.13.0.90-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d557cbf0c7818081c9acf56585b68e781af4f00638971f75eaa3de70904a6314", size = 47685110, upload-time = "2026-01-18T08:59:58.045Z" }, + { url = "https://files.pythonhosted.org/packages/cf/02/d9b73dbce28712204e85ae4c1e179505e9a771f95b33743a97e170caedde/opencv_python-4.13.0.90-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9911581e37b24169e4842069ff01d6645ea2bc4af7e10a022d9ebe340fd035ec", size = 70460479, upload-time = "2026-01-18T09:01:16.377Z" }, + { url = "https://files.pythonhosted.org/packages/fc/1c/87fa71968beb71481ed359e21772061ceff7c9b45a61b3e7daa71e5b0b66/opencv_python-4.13.0.90-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:1150b8f1947761b848bbfa9c96ceba8877743ffef157c08a04af6f7717ddd709", size = 46707819, upload-time = "2026-01-18T09:02:48.049Z" }, + { url = "https://files.pythonhosted.org/packages/af/16/915a94e5b537c328fa3e96b769c7d4eed3b67d1be978e0af658a3d3faed8/opencv_python-4.13.0.90-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:d6716f16149b04eea52f953b8ca983d60dd9cd4872c1fd5113f6e2fcebb90e93", size = 72926629, upload-time = "2026-01-18T09:04:29.23Z" }, + { url = "https://files.pythonhosted.org/packages/bf/84/9c63c84be013943dd4c5fff36157f1ec0ec894b69a2fc3026fd4e3c9280a/opencv_python-4.13.0.90-cp37-abi3-win32.whl", hash = "sha256:458a00f2ba47a877eca385be3e7bcc45e6d30a4361d107ce73c1800f516dab09", size = 30932151, upload-time = "2026-01-18T09:05:22.181Z" }, + { url = "https://files.pythonhosted.org/packages/13/de/291cbb17f44242ed6bfd3450fc2535d6bd298115c0ccd6f01cd51d4a11d7/opencv_python-4.13.0.90-cp37-abi3-win_amd64.whl", hash = "sha256:526bde4c33a86808a751e2bb57bf4921beb49794621810971926c472897f6433", size = 40211706, upload-time = "2026-01-18T09:06:06.749Z" }, ] [[package]] name = "packaging" version = "24.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950 } +sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451 }, + { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, ] [[package]] name = "perfectframeai" -version = "2.3.3" +version = "2.4.0" source = { virtual = "." } dependencies = [ { name = "fastapi" }, + { name = "numpy" }, + { name = "onnxruntime", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or sys_platform == 'darwin'" }, + { name = "onnxruntime-gpu", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or sys_platform == 'win32'" }, { name = "opencv-python" }, { name = "requests" }, - { name = "tensorflow" }, { name = "uvicorn" }, ] [package.dev-dependencies] dev = [ + { name = "detect-secrets" }, + { name = "docformatter" }, { name = "pre-commit" }, { name = "ruff" }, + { name = "ty" }, ] test = [ { name = "docker" }, { name = "httpx" }, { name = "pytest" }, { name = "pytest-cov" }, + { name = "pytest-mock" }, { name = "pytest-order" }, + { name = "pytest-timeout" }, + { name = "testcontainers" }, ] [package.metadata] requires-dist = [ - { name = "fastapi", specifier = "==0.115.6" }, - { name = "opencv-python", specifier = "==4.11.0.86" }, - { name = "requests", specifier = "==2.32.2" }, - { name = "tensorflow", specifier = "==2.18.0" }, - { name = "uvicorn", specifier = "==0.34.0" }, + { name = "fastapi", specifier = "==0.128.0" }, + { name = "numpy", specifier = "==2.4.1" }, + { name = "onnxruntime", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or sys_platform == 'darwin'", specifier = "==1.23.2" }, + { name = "onnxruntime-gpu", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or sys_platform == 'win32'", specifier = "==1.23.2" }, + { name = "opencv-python", specifier = "==4.13.0.90" }, + { name = "requests", specifier = "==2.32.5" }, + { name = "uvicorn", specifier = "==0.40.0" }, ] [package.metadata.requires-dev] dev = [ - { name = "pre-commit", specifier = ">=4.0.1" }, - { name = "ruff", specifier = ">=0.9.2" }, + { name = "detect-secrets", specifier = ">=1.5.0" }, + { name = "docformatter", specifier = ">=1.7.5" }, + { name = "pre-commit", specifier = ">=4.5.1" }, + { name = "ruff", specifier = ">=0.14.14" }, + { name = "ty", specifier = ">=0.0.13" }, ] test = [ { name = "docker", specifier = ">=7.1.0" }, { name = "httpx", specifier = ">=0.28.1" }, - { name = "pytest", specifier = ">=8.3.4" }, - { name = "pytest-cov", specifier = ">=5.0.0" }, - { name = "pytest-order", specifier = ">=1.2.1" }, + { name = "pytest", specifier = ">=9.0.2" }, + { name = "pytest-cov", specifier = ">=7.0.0" }, + { name = "pytest-mock", specifier = ">=3.14.0" }, + { name = "pytest-order", specifier = ">=1.3.0" }, + { name = "pytest-timeout", specifier = ">=2.3.1" }, + { name = "testcontainers", specifier = ">=4.14.0" }, ] [[package]] name = "platformdirs" version = "4.3.6" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/13/fc/128cc9cb8f03208bdbf93d3aa862e16d376844a14f9a0ce5cf4507372de4/platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907", size = 21302 } +sdist = { url = "https://files.pythonhosted.org/packages/13/fc/128cc9cb8f03208bdbf93d3aa862e16d376844a14f9a0ce5cf4507372de4/platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907", size = 21302, upload-time = "2024-09-17T19:06:50.688Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb", size = 18439 }, + { url = "https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb", size = 18439, upload-time = "2024-09-17T19:06:49.212Z" }, ] [[package]] name = "pluggy" version = "1.5.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955 } +sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955, upload-time = "2024-04-20T21:34:42.531Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 }, + { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556, upload-time = "2024-04-20T21:34:40.434Z" }, ] [[package]] name = "pre-commit" -version = "4.0.1" +version = "4.5.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cfgv" }, @@ -733,23 +599,23 @@ dependencies = [ { name = "pyyaml" }, { name = "virtualenv" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/2e/c8/e22c292035f1bac8b9f5237a2622305bc0304e776080b246f3df57c4ff9f/pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2", size = 191678 } +sdist = { url = "https://files.pythonhosted.org/packages/40/f1/6d86a29246dfd2e9b6237f0b5823717f60cad94d47ddc26afa916d21f525/pre_commit-4.5.1.tar.gz", hash = "sha256:eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61", size = 198232, upload-time = "2025-12-16T21:14:33.552Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/16/8f/496e10d51edd6671ebe0432e33ff800aa86775d2d147ce7d43389324a525/pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878", size = 218713 }, + { url = "https://files.pythonhosted.org/packages/5d/19/fd3ef348460c80af7bb4669ea7926651d1f95c23ff2df18b9d24bab4f3fa/pre_commit-4.5.1-py2.py3-none-any.whl", hash = "sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77", size = 226437, upload-time = "2025-12-16T21:14:32.409Z" }, ] [[package]] name = "protobuf" -version = "4.25.5" +version = "6.33.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/67/dd/48d5fdb68ec74d70fabcc252e434492e56f70944d9f17b6a15e3746d2295/protobuf-4.25.5.tar.gz", hash = "sha256:7f8249476b4a9473645db7f8ab42b02fe1488cbe5fb72fddd445e0665afd8584", size = 380315 } +sdist = { url = "https://files.pythonhosted.org/packages/53/b8/cda15d9d46d03d4aa3a67cb6bffe05173440ccf86a9541afaf7ac59a1b6b/protobuf-6.33.4.tar.gz", hash = "sha256:dc2e61bca3b10470c1912d166fe0af67bfc20eb55971dcef8dfa48ce14f0ed91", size = 444346, upload-time = "2026-01-12T18:33:40.109Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/00/35/1b3c5a5e6107859c4ca902f4fbb762e48599b78129a05d20684fef4a4d04/protobuf-4.25.5-cp310-abi3-win32.whl", hash = "sha256:5e61fd921603f58d2f5acb2806a929b4675f8874ff5f330b7d6f7e2e784bbcd8", size = 392457 }, - { url = "https://files.pythonhosted.org/packages/a7/ad/bf3f358e90b7e70bf7fb520702cb15307ef268262292d3bdb16ad8ebc815/protobuf-4.25.5-cp310-abi3-win_amd64.whl", hash = "sha256:4be0571adcbe712b282a330c6e89eae24281344429ae95c6d85e79e84780f5ea", size = 413449 }, - { url = "https://files.pythonhosted.org/packages/51/49/d110f0a43beb365758a252203c43eaaad169fe7749da918869a8c991f726/protobuf-4.25.5-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:b2fde3d805354df675ea4c7c6338c1aecd254dfc9925e88c6d31a2bcb97eb173", size = 394248 }, - { url = "https://files.pythonhosted.org/packages/c6/ab/0f384ca0bc6054b1a7b6009000ab75d28a5506e4459378b81280ae7fd358/protobuf-4.25.5-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:919ad92d9b0310070f8356c24b855c98df2b8bd207ebc1c0c6fcc9ab1e007f3d", size = 293717 }, - { url = "https://files.pythonhosted.org/packages/05/a6/094a2640be576d760baa34c902dcb8199d89bce9ed7dd7a6af74dcbbd62d/protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:fe14e16c22be926d3abfcb500e60cab068baf10b542b8c858fa27e098123e331", size = 294635 }, - { url = "https://files.pythonhosted.org/packages/33/90/f198a61df8381fb43ae0fe81b3d2718e8dcc51ae8502c7657ab9381fbc4f/protobuf-4.25.5-py3-none-any.whl", hash = "sha256:0aebecb809cae990f8129ada5ca273d9d670b76d9bfc9b1809f0a9c02b7dbf41", size = 156467 }, + { url = "https://files.pythonhosted.org/packages/e0/be/24ef9f3095bacdf95b458543334d0c4908ccdaee5130420bf064492c325f/protobuf-6.33.4-cp310-abi3-win32.whl", hash = "sha256:918966612c8232fc6c24c78e1cd89784307f5814ad7506c308ee3cf86662850d", size = 425612, upload-time = "2026-01-12T18:33:29.656Z" }, + { url = "https://files.pythonhosted.org/packages/31/ad/e5693e1974a28869e7cd244302911955c1cebc0161eb32dfa2b25b6e96f0/protobuf-6.33.4-cp310-abi3-win_amd64.whl", hash = "sha256:8f11ffae31ec67fc2554c2ef891dcb561dae9a2a3ed941f9e134c2db06657dbc", size = 436962, upload-time = "2026-01-12T18:33:31.345Z" }, + { url = "https://files.pythonhosted.org/packages/66/15/6ee23553b6bfd82670207ead921f4d8ef14c107e5e11443b04caeb5ab5ec/protobuf-6.33.4-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:2fe67f6c014c84f655ee06f6f66213f9254b3a8b6bda6cda0ccd4232c73c06f0", size = 427612, upload-time = "2026-01-12T18:33:32.646Z" }, + { url = "https://files.pythonhosted.org/packages/2b/48/d301907ce6d0db75f959ca74f44b475a9caa8fcba102d098d3c3dd0f2d3f/protobuf-6.33.4-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:757c978f82e74d75cba88eddec479df9b99a42b31193313b75e492c06a51764e", size = 324484, upload-time = "2026-01-12T18:33:33.789Z" }, + { url = "https://files.pythonhosted.org/packages/e8/8e/971c0edd084914f7ee7c23aa70ba89e8903918adca179319ee94403701d5/protobuf-6.33.4-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:3df850c2f8db9934de4cf8f9152f8dc2558f49f298f37f90c517e8e5c84c30e9", size = 323311, upload-time = "2026-01-12T18:33:36.305Z" }, + { url = "https://files.pythonhosted.org/packages/75/b1/1dc83c2c661b4c62d56cc081706ee33a4fc2835bd90f965baa2663ef7676/protobuf-6.33.4-py3-none-any.whl", hash = "sha256:1fe3730068fcf2e595816a6c34fe66eeedd37d51d0400b72fabc848811fdc1bc", size = 170532, upload-time = "2026-01-12T18:33:39.199Z" }, ] [[package]] @@ -761,9 +627,9 @@ dependencies = [ { name = "pydantic-core" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/6a/c7/ca334c2ef6f2e046b1144fe4bb2a5da8a4c574e7f2ebf7e16b34a6a2fa92/pydantic-2.10.5.tar.gz", hash = "sha256:278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff", size = 761287 } +sdist = { url = "https://files.pythonhosted.org/packages/6a/c7/ca334c2ef6f2e046b1144fe4bb2a5da8a4c574e7f2ebf7e16b34a6a2fa92/pydantic-2.10.5.tar.gz", hash = "sha256:278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff", size = 761287, upload-time = "2025-01-09T13:33:25.929Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/58/26/82663c79010b28eddf29dcdd0ea723439535fa917fce5905885c0e9ba562/pydantic-2.10.5-py3-none-any.whl", hash = "sha256:4dd4e322dbe55472cb7ca7e73f4b63574eecccf2835ffa2af9021ce113c83c53", size = 431426 }, + { url = "https://files.pythonhosted.org/packages/58/26/82663c79010b28eddf29dcdd0ea723439535fa917fce5905885c0e9ba562/pydantic-2.10.5-py3-none-any.whl", hash = "sha256:4dd4e322dbe55472cb7ca7e73f4b63574eecccf2835ffa2af9021ce113c83c53", size = 431426, upload-time = "2025-01-09T13:33:22.312Z" }, ] [[package]] @@ -773,241 +639,244 @@ source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/fc/01/f3e5ac5e7c25833db5eb555f7b7ab24cd6f8c322d3a3ad2d67a952dc0abc/pydantic_core-2.27.2.tar.gz", hash = "sha256:eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39", size = 413443 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/3a/bc/fed5f74b5d802cf9a03e83f60f18864e90e3aed7223adaca5ffb7a8d8d64/pydantic_core-2.27.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2d367ca20b2f14095a8f4fa1210f5a7b78b8a20009ecced6b12818f455b1e9fa", size = 1895938 }, - { url = "https://files.pythonhosted.org/packages/71/2a/185aff24ce844e39abb8dd680f4e959f0006944f4a8a0ea372d9f9ae2e53/pydantic_core-2.27.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:491a2b73db93fab69731eaee494f320faa4e093dbed776be1a829c2eb222c34c", size = 1815684 }, - { url = "https://files.pythonhosted.org/packages/c3/43/fafabd3d94d159d4f1ed62e383e264f146a17dd4d48453319fd782e7979e/pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7969e133a6f183be60e9f6f56bfae753585680f3b7307a8e555a948d443cc05a", size = 1829169 }, - { url = "https://files.pythonhosted.org/packages/a2/d1/f2dfe1a2a637ce6800b799aa086d079998959f6f1215eb4497966efd2274/pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3de9961f2a346257caf0aa508a4da705467f53778e9ef6fe744c038119737ef5", size = 1867227 }, - { url = "https://files.pythonhosted.org/packages/7d/39/e06fcbcc1c785daa3160ccf6c1c38fea31f5754b756e34b65f74e99780b5/pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e2bb4d3e5873c37bb3dd58714d4cd0b0e6238cebc4177ac8fe878f8b3aa8e74c", size = 2037695 }, - { url = "https://files.pythonhosted.org/packages/7a/67/61291ee98e07f0650eb756d44998214231f50751ba7e13f4f325d95249ab/pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:280d219beebb0752699480fe8f1dc61ab6615c2046d76b7ab7ee38858de0a4e7", size = 2741662 }, - { url = "https://files.pythonhosted.org/packages/32/90/3b15e31b88ca39e9e626630b4c4a1f5a0dfd09076366f4219429e6786076/pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47956ae78b6422cbd46f772f1746799cbb862de838fd8d1fbd34a82e05b0983a", size = 1993370 }, - { url = "https://files.pythonhosted.org/packages/ff/83/c06d333ee3a67e2e13e07794995c1535565132940715931c1c43bfc85b11/pydantic_core-2.27.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:14d4a5c49d2f009d62a2a7140d3064f686d17a5d1a268bc641954ba181880236", size = 1996813 }, - { url = "https://files.pythonhosted.org/packages/7c/f7/89be1c8deb6e22618a74f0ca0d933fdcb8baa254753b26b25ad3acff8f74/pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:337b443af21d488716f8d0b6164de833e788aa6bd7e3a39c005febc1284f4962", size = 2005287 }, - { url = "https://files.pythonhosted.org/packages/b7/7d/8eb3e23206c00ef7feee17b83a4ffa0a623eb1a9d382e56e4aa46fd15ff2/pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:03d0f86ea3184a12f41a2d23f7ccb79cdb5a18e06993f8a45baa8dfec746f0e9", size = 2128414 }, - { url = "https://files.pythonhosted.org/packages/4e/99/fe80f3ff8dd71a3ea15763878d464476e6cb0a2db95ff1c5c554133b6b83/pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7041c36f5680c6e0f08d922aed302e98b3745d97fe1589db0a3eebf6624523af", size = 2155301 }, - { url = "https://files.pythonhosted.org/packages/2b/a3/e50460b9a5789ca1451b70d4f52546fa9e2b420ba3bfa6100105c0559238/pydantic_core-2.27.2-cp310-cp310-win32.whl", hash = "sha256:50a68f3e3819077be2c98110c1f9dcb3817e93f267ba80a2c05bb4f8799e2ff4", size = 1816685 }, - { url = "https://files.pythonhosted.org/packages/57/4c/a8838731cb0f2c2a39d3535376466de6049034d7b239c0202a64aaa05533/pydantic_core-2.27.2-cp310-cp310-win_amd64.whl", hash = "sha256:e0fd26b16394ead34a424eecf8a31a1f5137094cabe84a1bcb10fa6ba39d3d31", size = 1982876 }, - { url = "https://files.pythonhosted.org/packages/c2/89/f3450af9d09d44eea1f2c369f49e8f181d742f28220f88cc4dfaae91ea6e/pydantic_core-2.27.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:8e10c99ef58cfdf2a66fc15d66b16c4a04f62bca39db589ae8cba08bc55331bc", size = 1893421 }, - { url = "https://files.pythonhosted.org/packages/9e/e3/71fe85af2021f3f386da42d291412e5baf6ce7716bd7101ea49c810eda90/pydantic_core-2.27.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:26f32e0adf166a84d0cb63be85c562ca8a6fa8de28e5f0d92250c6b7e9e2aff7", size = 1814998 }, - { url = "https://files.pythonhosted.org/packages/a6/3c/724039e0d848fd69dbf5806894e26479577316c6f0f112bacaf67aa889ac/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c19d1ea0673cd13cc2f872f6c9ab42acc4e4f492a7ca9d3795ce2b112dd7e15", size = 1826167 }, - { url = "https://files.pythonhosted.org/packages/2b/5b/1b29e8c1fb5f3199a9a57c1452004ff39f494bbe9bdbe9a81e18172e40d3/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5e68c4446fe0810e959cdff46ab0a41ce2f2c86d227d96dc3847af0ba7def306", size = 1865071 }, - { url = "https://files.pythonhosted.org/packages/89/6c/3985203863d76bb7d7266e36970d7e3b6385148c18a68cc8915fd8c84d57/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d9640b0059ff4f14d1f37321b94061c6db164fbe49b334b31643e0528d100d99", size = 2036244 }, - { url = "https://files.pythonhosted.org/packages/0e/41/f15316858a246b5d723f7d7f599f79e37493b2e84bfc789e58d88c209f8a/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:40d02e7d45c9f8af700f3452f329ead92da4c5f4317ca9b896de7ce7199ea459", size = 2737470 }, - { url = "https://files.pythonhosted.org/packages/a8/7c/b860618c25678bbd6d1d99dbdfdf0510ccb50790099b963ff78a124b754f/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c1fd185014191700554795c99b347d64f2bb637966c4cfc16998a0ca700d048", size = 1992291 }, - { url = "https://files.pythonhosted.org/packages/bf/73/42c3742a391eccbeab39f15213ecda3104ae8682ba3c0c28069fbcb8c10d/pydantic_core-2.27.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d81d2068e1c1228a565af076598f9e7451712700b673de8f502f0334f281387d", size = 1994613 }, - { url = "https://files.pythonhosted.org/packages/94/7a/941e89096d1175d56f59340f3a8ebaf20762fef222c298ea96d36a6328c5/pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1a4207639fb02ec2dbb76227d7c751a20b1a6b4bc52850568e52260cae64ca3b", size = 2002355 }, - { url = "https://files.pythonhosted.org/packages/6e/95/2359937a73d49e336a5a19848713555605d4d8d6940c3ec6c6c0ca4dcf25/pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:3de3ce3c9ddc8bbd88f6e0e304dea0e66d843ec9de1b0042b0911c1663ffd474", size = 2126661 }, - { url = "https://files.pythonhosted.org/packages/2b/4c/ca02b7bdb6012a1adef21a50625b14f43ed4d11f1fc237f9d7490aa5078c/pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:30c5f68ded0c36466acede341551106821043e9afaad516adfb6e8fa80a4e6a6", size = 2153261 }, - { url = "https://files.pythonhosted.org/packages/72/9d/a241db83f973049a1092a079272ffe2e3e82e98561ef6214ab53fe53b1c7/pydantic_core-2.27.2-cp311-cp311-win32.whl", hash = "sha256:c70c26d2c99f78b125a3459f8afe1aed4d9687c24fd677c6a4436bc042e50d6c", size = 1812361 }, - { url = "https://files.pythonhosted.org/packages/e8/ef/013f07248041b74abd48a385e2110aa3a9bbfef0fbd97d4e6d07d2f5b89a/pydantic_core-2.27.2-cp311-cp311-win_amd64.whl", hash = "sha256:08e125dbdc505fa69ca7d9c499639ab6407cfa909214d500897d02afb816e7cc", size = 1982484 }, - { url = "https://files.pythonhosted.org/packages/10/1c/16b3a3e3398fd29dca77cea0a1d998d6bde3902fa2706985191e2313cc76/pydantic_core-2.27.2-cp311-cp311-win_arm64.whl", hash = "sha256:26f0d68d4b235a2bae0c3fc585c585b4ecc51382db0e3ba402a22cbc440915e4", size = 1867102 }, - { url = "https://files.pythonhosted.org/packages/d6/74/51c8a5482ca447871c93e142d9d4a92ead74de6c8dc5e66733e22c9bba89/pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:9e0c8cfefa0ef83b4da9588448b6d8d2a2bf1a53c3f1ae5fca39eb3061e2f0b0", size = 1893127 }, - { url = "https://files.pythonhosted.org/packages/d3/f3/c97e80721735868313c58b89d2de85fa80fe8dfeeed84dc51598b92a135e/pydantic_core-2.27.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:83097677b8e3bd7eaa6775720ec8e0405f1575015a463285a92bfdfe254529ef", size = 1811340 }, - { url = "https://files.pythonhosted.org/packages/9e/91/840ec1375e686dbae1bd80a9e46c26a1e0083e1186abc610efa3d9a36180/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:172fce187655fece0c90d90a678424b013f8fbb0ca8b036ac266749c09438cb7", size = 1822900 }, - { url = "https://files.pythonhosted.org/packages/f6/31/4240bc96025035500c18adc149aa6ffdf1a0062a4b525c932065ceb4d868/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:519f29f5213271eeeeb3093f662ba2fd512b91c5f188f3bb7b27bc5973816934", size = 1869177 }, - { url = "https://files.pythonhosted.org/packages/fa/20/02fbaadb7808be578317015c462655c317a77a7c8f0ef274bc016a784c54/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:05e3a55d124407fffba0dd6b0c0cd056d10e983ceb4e5dbd10dda135c31071d6", size = 2038046 }, - { url = "https://files.pythonhosted.org/packages/06/86/7f306b904e6c9eccf0668248b3f272090e49c275bc488a7b88b0823444a4/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c3ed807c7b91de05e63930188f19e921d1fe90de6b4f5cd43ee7fcc3525cb8c", size = 2685386 }, - { url = "https://files.pythonhosted.org/packages/8d/f0/49129b27c43396581a635d8710dae54a791b17dfc50c70164866bbf865e3/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fb4aadc0b9a0c063206846d603b92030eb6f03069151a625667f982887153e2", size = 1997060 }, - { url = "https://files.pythonhosted.org/packages/0d/0f/943b4af7cd416c477fd40b187036c4f89b416a33d3cc0ab7b82708a667aa/pydantic_core-2.27.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:28ccb213807e037460326424ceb8b5245acb88f32f3d2777427476e1b32c48c4", size = 2004870 }, - { url = "https://files.pythonhosted.org/packages/35/40/aea70b5b1a63911c53a4c8117c0a828d6790483f858041f47bab0b779f44/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:de3cd1899e2c279b140adde9357c4495ed9d47131b4a4eaff9052f23398076b3", size = 1999822 }, - { url = "https://files.pythonhosted.org/packages/f2/b3/807b94fd337d58effc5498fd1a7a4d9d59af4133e83e32ae39a96fddec9d/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:220f892729375e2d736b97d0e51466252ad84c51857d4d15f5e9692f9ef12be4", size = 2130364 }, - { url = "https://files.pythonhosted.org/packages/fc/df/791c827cd4ee6efd59248dca9369fb35e80a9484462c33c6649a8d02b565/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a0fcd29cd6b4e74fe8ddd2c90330fd8edf2e30cb52acda47f06dd615ae72da57", size = 2158303 }, - { url = "https://files.pythonhosted.org/packages/9b/67/4e197c300976af185b7cef4c02203e175fb127e414125916bf1128b639a9/pydantic_core-2.27.2-cp312-cp312-win32.whl", hash = "sha256:1e2cb691ed9834cd6a8be61228471d0a503731abfb42f82458ff27be7b2186fc", size = 1834064 }, - { url = "https://files.pythonhosted.org/packages/1f/ea/cd7209a889163b8dcca139fe32b9687dd05249161a3edda62860430457a5/pydantic_core-2.27.2-cp312-cp312-win_amd64.whl", hash = "sha256:cc3f1a99a4f4f9dd1de4fe0312c114e740b5ddead65bb4102884b384c15d8bc9", size = 1989046 }, - { url = "https://files.pythonhosted.org/packages/bc/49/c54baab2f4658c26ac633d798dab66b4c3a9bbf47cff5284e9c182f4137a/pydantic_core-2.27.2-cp312-cp312-win_arm64.whl", hash = "sha256:3911ac9284cd8a1792d3cb26a2da18f3ca26c6908cc434a18f730dc0db7bfa3b", size = 1885092 }, - { url = "https://files.pythonhosted.org/packages/46/72/af70981a341500419e67d5cb45abe552a7c74b66326ac8877588488da1ac/pydantic_core-2.27.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:2bf14caea37e91198329b828eae1618c068dfb8ef17bb33287a7ad4b61ac314e", size = 1891159 }, - { url = "https://files.pythonhosted.org/packages/ad/3d/c5913cccdef93e0a6a95c2d057d2c2cba347815c845cda79ddd3c0f5e17d/pydantic_core-2.27.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:b0cb791f5b45307caae8810c2023a184c74605ec3bcbb67d13846c28ff731ff8", size = 1768331 }, - { url = "https://files.pythonhosted.org/packages/f6/f0/a3ae8fbee269e4934f14e2e0e00928f9346c5943174f2811193113e58252/pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:688d3fd9fcb71f41c4c015c023d12a79d1c4c0732ec9eb35d96e3388a120dcf3", size = 1822467 }, - { url = "https://files.pythonhosted.org/packages/d7/7a/7bbf241a04e9f9ea24cd5874354a83526d639b02674648af3f350554276c/pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d591580c34f4d731592f0e9fe40f9cc1b430d297eecc70b962e93c5c668f15f", size = 1979797 }, - { url = "https://files.pythonhosted.org/packages/4f/5f/4784c6107731f89e0005a92ecb8a2efeafdb55eb992b8e9d0a2be5199335/pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:82f986faf4e644ffc189a7f1aafc86e46ef70372bb153e7001e8afccc6e54133", size = 1987839 }, - { url = "https://files.pythonhosted.org/packages/6d/a7/61246562b651dff00de86a5f01b6e4befb518df314c54dec187a78d81c84/pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:bec317a27290e2537f922639cafd54990551725fc844249e64c523301d0822fc", size = 1998861 }, - { url = "https://files.pythonhosted.org/packages/86/aa/837821ecf0c022bbb74ca132e117c358321e72e7f9702d1b6a03758545e2/pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:0296abcb83a797db256b773f45773da397da75a08f5fcaef41f2044adec05f50", size = 2116582 }, - { url = "https://files.pythonhosted.org/packages/81/b0/5e74656e95623cbaa0a6278d16cf15e10a51f6002e3ec126541e95c29ea3/pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:0d75070718e369e452075a6017fbf187f788e17ed67a3abd47fa934d001863d9", size = 2151985 }, - { url = "https://files.pythonhosted.org/packages/63/37/3e32eeb2a451fddaa3898e2163746b0cffbbdbb4740d38372db0490d67f3/pydantic_core-2.27.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:7e17b560be3c98a8e3aa66ce828bdebb9e9ac6ad5466fba92eb74c4c95cb1151", size = 2004715 }, +sdist = { url = "https://files.pythonhosted.org/packages/fc/01/f3e5ac5e7c25833db5eb555f7b7ab24cd6f8c322d3a3ad2d67a952dc0abc/pydantic_core-2.27.2.tar.gz", hash = "sha256:eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39", size = 413443, upload-time = "2024-12-18T11:31:54.917Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c2/89/f3450af9d09d44eea1f2c369f49e8f181d742f28220f88cc4dfaae91ea6e/pydantic_core-2.27.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:8e10c99ef58cfdf2a66fc15d66b16c4a04f62bca39db589ae8cba08bc55331bc", size = 1893421, upload-time = "2024-12-18T11:27:55.409Z" }, + { url = "https://files.pythonhosted.org/packages/9e/e3/71fe85af2021f3f386da42d291412e5baf6ce7716bd7101ea49c810eda90/pydantic_core-2.27.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:26f32e0adf166a84d0cb63be85c562ca8a6fa8de28e5f0d92250c6b7e9e2aff7", size = 1814998, upload-time = "2024-12-18T11:27:57.252Z" }, + { url = "https://files.pythonhosted.org/packages/a6/3c/724039e0d848fd69dbf5806894e26479577316c6f0f112bacaf67aa889ac/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c19d1ea0673cd13cc2f872f6c9ab42acc4e4f492a7ca9d3795ce2b112dd7e15", size = 1826167, upload-time = "2024-12-18T11:27:59.146Z" }, + { url = "https://files.pythonhosted.org/packages/2b/5b/1b29e8c1fb5f3199a9a57c1452004ff39f494bbe9bdbe9a81e18172e40d3/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5e68c4446fe0810e959cdff46ab0a41ce2f2c86d227d96dc3847af0ba7def306", size = 1865071, upload-time = "2024-12-18T11:28:02.625Z" }, + { url = "https://files.pythonhosted.org/packages/89/6c/3985203863d76bb7d7266e36970d7e3b6385148c18a68cc8915fd8c84d57/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d9640b0059ff4f14d1f37321b94061c6db164fbe49b334b31643e0528d100d99", size = 2036244, upload-time = "2024-12-18T11:28:04.442Z" }, + { url = "https://files.pythonhosted.org/packages/0e/41/f15316858a246b5d723f7d7f599f79e37493b2e84bfc789e58d88c209f8a/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:40d02e7d45c9f8af700f3452f329ead92da4c5f4317ca9b896de7ce7199ea459", size = 2737470, upload-time = "2024-12-18T11:28:07.679Z" }, + { url = "https://files.pythonhosted.org/packages/a8/7c/b860618c25678bbd6d1d99dbdfdf0510ccb50790099b963ff78a124b754f/pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c1fd185014191700554795c99b347d64f2bb637966c4cfc16998a0ca700d048", size = 1992291, upload-time = "2024-12-18T11:28:10.297Z" }, + { url = "https://files.pythonhosted.org/packages/bf/73/42c3742a391eccbeab39f15213ecda3104ae8682ba3c0c28069fbcb8c10d/pydantic_core-2.27.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d81d2068e1c1228a565af076598f9e7451712700b673de8f502f0334f281387d", size = 1994613, upload-time = "2024-12-18T11:28:13.362Z" }, + { url = "https://files.pythonhosted.org/packages/94/7a/941e89096d1175d56f59340f3a8ebaf20762fef222c298ea96d36a6328c5/pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1a4207639fb02ec2dbb76227d7c751a20b1a6b4bc52850568e52260cae64ca3b", size = 2002355, upload-time = "2024-12-18T11:28:16.587Z" }, + { url = "https://files.pythonhosted.org/packages/6e/95/2359937a73d49e336a5a19848713555605d4d8d6940c3ec6c6c0ca4dcf25/pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:3de3ce3c9ddc8bbd88f6e0e304dea0e66d843ec9de1b0042b0911c1663ffd474", size = 2126661, upload-time = "2024-12-18T11:28:18.407Z" }, + { url = "https://files.pythonhosted.org/packages/2b/4c/ca02b7bdb6012a1adef21a50625b14f43ed4d11f1fc237f9d7490aa5078c/pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:30c5f68ded0c36466acede341551106821043e9afaad516adfb6e8fa80a4e6a6", size = 2153261, upload-time = "2024-12-18T11:28:21.471Z" }, + { url = "https://files.pythonhosted.org/packages/72/9d/a241db83f973049a1092a079272ffe2e3e82e98561ef6214ab53fe53b1c7/pydantic_core-2.27.2-cp311-cp311-win32.whl", hash = "sha256:c70c26d2c99f78b125a3459f8afe1aed4d9687c24fd677c6a4436bc042e50d6c", size = 1812361, upload-time = "2024-12-18T11:28:23.53Z" }, + { url = "https://files.pythonhosted.org/packages/e8/ef/013f07248041b74abd48a385e2110aa3a9bbfef0fbd97d4e6d07d2f5b89a/pydantic_core-2.27.2-cp311-cp311-win_amd64.whl", hash = "sha256:08e125dbdc505fa69ca7d9c499639ab6407cfa909214d500897d02afb816e7cc", size = 1982484, upload-time = "2024-12-18T11:28:25.391Z" }, + { url = "https://files.pythonhosted.org/packages/10/1c/16b3a3e3398fd29dca77cea0a1d998d6bde3902fa2706985191e2313cc76/pydantic_core-2.27.2-cp311-cp311-win_arm64.whl", hash = "sha256:26f0d68d4b235a2bae0c3fc585c585b4ecc51382db0e3ba402a22cbc440915e4", size = 1867102, upload-time = "2024-12-18T11:28:28.593Z" }, + { url = "https://files.pythonhosted.org/packages/d6/74/51c8a5482ca447871c93e142d9d4a92ead74de6c8dc5e66733e22c9bba89/pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:9e0c8cfefa0ef83b4da9588448b6d8d2a2bf1a53c3f1ae5fca39eb3061e2f0b0", size = 1893127, upload-time = "2024-12-18T11:28:30.346Z" }, + { url = "https://files.pythonhosted.org/packages/d3/f3/c97e80721735868313c58b89d2de85fa80fe8dfeeed84dc51598b92a135e/pydantic_core-2.27.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:83097677b8e3bd7eaa6775720ec8e0405f1575015a463285a92bfdfe254529ef", size = 1811340, upload-time = "2024-12-18T11:28:32.521Z" }, + { url = "https://files.pythonhosted.org/packages/9e/91/840ec1375e686dbae1bd80a9e46c26a1e0083e1186abc610efa3d9a36180/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:172fce187655fece0c90d90a678424b013f8fbb0ca8b036ac266749c09438cb7", size = 1822900, upload-time = "2024-12-18T11:28:34.507Z" }, + { url = "https://files.pythonhosted.org/packages/f6/31/4240bc96025035500c18adc149aa6ffdf1a0062a4b525c932065ceb4d868/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:519f29f5213271eeeeb3093f662ba2fd512b91c5f188f3bb7b27bc5973816934", size = 1869177, upload-time = "2024-12-18T11:28:36.488Z" }, + { url = "https://files.pythonhosted.org/packages/fa/20/02fbaadb7808be578317015c462655c317a77a7c8f0ef274bc016a784c54/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:05e3a55d124407fffba0dd6b0c0cd056d10e983ceb4e5dbd10dda135c31071d6", size = 2038046, upload-time = "2024-12-18T11:28:39.409Z" }, + { url = "https://files.pythonhosted.org/packages/06/86/7f306b904e6c9eccf0668248b3f272090e49c275bc488a7b88b0823444a4/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c3ed807c7b91de05e63930188f19e921d1fe90de6b4f5cd43ee7fcc3525cb8c", size = 2685386, upload-time = "2024-12-18T11:28:41.221Z" }, + { url = "https://files.pythonhosted.org/packages/8d/f0/49129b27c43396581a635d8710dae54a791b17dfc50c70164866bbf865e3/pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fb4aadc0b9a0c063206846d603b92030eb6f03069151a625667f982887153e2", size = 1997060, upload-time = "2024-12-18T11:28:44.709Z" }, + { url = "https://files.pythonhosted.org/packages/0d/0f/943b4af7cd416c477fd40b187036c4f89b416a33d3cc0ab7b82708a667aa/pydantic_core-2.27.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:28ccb213807e037460326424ceb8b5245acb88f32f3d2777427476e1b32c48c4", size = 2004870, upload-time = "2024-12-18T11:28:46.839Z" }, + { url = "https://files.pythonhosted.org/packages/35/40/aea70b5b1a63911c53a4c8117c0a828d6790483f858041f47bab0b779f44/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:de3cd1899e2c279b140adde9357c4495ed9d47131b4a4eaff9052f23398076b3", size = 1999822, upload-time = "2024-12-18T11:28:48.896Z" }, + { url = "https://files.pythonhosted.org/packages/f2/b3/807b94fd337d58effc5498fd1a7a4d9d59af4133e83e32ae39a96fddec9d/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:220f892729375e2d736b97d0e51466252ad84c51857d4d15f5e9692f9ef12be4", size = 2130364, upload-time = "2024-12-18T11:28:50.755Z" }, + { url = "https://files.pythonhosted.org/packages/fc/df/791c827cd4ee6efd59248dca9369fb35e80a9484462c33c6649a8d02b565/pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a0fcd29cd6b4e74fe8ddd2c90330fd8edf2e30cb52acda47f06dd615ae72da57", size = 2158303, upload-time = "2024-12-18T11:28:54.122Z" }, + { url = "https://files.pythonhosted.org/packages/9b/67/4e197c300976af185b7cef4c02203e175fb127e414125916bf1128b639a9/pydantic_core-2.27.2-cp312-cp312-win32.whl", hash = "sha256:1e2cb691ed9834cd6a8be61228471d0a503731abfb42f82458ff27be7b2186fc", size = 1834064, upload-time = "2024-12-18T11:28:56.074Z" }, + { url = "https://files.pythonhosted.org/packages/1f/ea/cd7209a889163b8dcca139fe32b9687dd05249161a3edda62860430457a5/pydantic_core-2.27.2-cp312-cp312-win_amd64.whl", hash = "sha256:cc3f1a99a4f4f9dd1de4fe0312c114e740b5ddead65bb4102884b384c15d8bc9", size = 1989046, upload-time = "2024-12-18T11:28:58.107Z" }, + { url = "https://files.pythonhosted.org/packages/bc/49/c54baab2f4658c26ac633d798dab66b4c3a9bbf47cff5284e9c182f4137a/pydantic_core-2.27.2-cp312-cp312-win_arm64.whl", hash = "sha256:3911ac9284cd8a1792d3cb26a2da18f3ca26c6908cc434a18f730dc0db7bfa3b", size = 1885092, upload-time = "2024-12-18T11:29:01.335Z" }, + { url = "https://files.pythonhosted.org/packages/41/b1/9bc383f48f8002f99104e3acff6cba1231b29ef76cfa45d1506a5cad1f84/pydantic_core-2.27.2-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7d14bd329640e63852364c306f4d23eb744e0f8193148d4044dd3dacdaacbd8b", size = 1892709, upload-time = "2024-12-18T11:29:03.193Z" }, + { url = "https://files.pythonhosted.org/packages/10/6c/e62b8657b834f3eb2961b49ec8e301eb99946245e70bf42c8817350cbefc/pydantic_core-2.27.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:82f91663004eb8ed30ff478d77c4d1179b3563df6cdb15c0817cd1cdaf34d154", size = 1811273, upload-time = "2024-12-18T11:29:05.306Z" }, + { url = "https://files.pythonhosted.org/packages/ba/15/52cfe49c8c986e081b863b102d6b859d9defc63446b642ccbbb3742bf371/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71b24c7d61131bb83df10cc7e687433609963a944ccf45190cfc21e0887b08c9", size = 1823027, upload-time = "2024-12-18T11:29:07.294Z" }, + { url = "https://files.pythonhosted.org/packages/b1/1c/b6f402cfc18ec0024120602bdbcebc7bdd5b856528c013bd4d13865ca473/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fa8e459d4954f608fa26116118bb67f56b93b209c39b008277ace29937453dc9", size = 1868888, upload-time = "2024-12-18T11:29:09.249Z" }, + { url = "https://files.pythonhosted.org/packages/bd/7b/8cb75b66ac37bc2975a3b7de99f3c6f355fcc4d89820b61dffa8f1e81677/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce8918cbebc8da707ba805b7fd0b382816858728ae7fe19a942080c24e5b7cd1", size = 2037738, upload-time = "2024-12-18T11:29:11.23Z" }, + { url = "https://files.pythonhosted.org/packages/c8/f1/786d8fe78970a06f61df22cba58e365ce304bf9b9f46cc71c8c424e0c334/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eda3f5c2a021bbc5d976107bb302e0131351c2ba54343f8a496dc8783d3d3a6a", size = 2685138, upload-time = "2024-12-18T11:29:16.396Z" }, + { url = "https://files.pythonhosted.org/packages/a6/74/d12b2cd841d8724dc8ffb13fc5cef86566a53ed358103150209ecd5d1999/pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bd8086fa684c4775c27f03f062cbb9eaa6e17f064307e86b21b9e0abc9c0f02e", size = 1997025, upload-time = "2024-12-18T11:29:20.25Z" }, + { url = "https://files.pythonhosted.org/packages/a0/6e/940bcd631bc4d9a06c9539b51f070b66e8f370ed0933f392db6ff350d873/pydantic_core-2.27.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8d9b3388db186ba0c099a6d20f0604a44eabdeef1777ddd94786cdae158729e4", size = 2004633, upload-time = "2024-12-18T11:29:23.877Z" }, + { url = "https://files.pythonhosted.org/packages/50/cc/a46b34f1708d82498c227d5d80ce615b2dd502ddcfd8376fc14a36655af1/pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7a66efda2387de898c8f38c0cf7f14fca0b51a8ef0b24bfea5849f1b3c95af27", size = 1999404, upload-time = "2024-12-18T11:29:25.872Z" }, + { url = "https://files.pythonhosted.org/packages/ca/2d/c365cfa930ed23bc58c41463bae347d1005537dc8db79e998af8ba28d35e/pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:18a101c168e4e092ab40dbc2503bdc0f62010e95d292b27827871dc85450d7ee", size = 2130130, upload-time = "2024-12-18T11:29:29.252Z" }, + { url = "https://files.pythonhosted.org/packages/f4/d7/eb64d015c350b7cdb371145b54d96c919d4db516817f31cd1c650cae3b21/pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ba5dd002f88b78a4215ed2f8ddbdf85e8513382820ba15ad5ad8955ce0ca19a1", size = 2157946, upload-time = "2024-12-18T11:29:31.338Z" }, + { url = "https://files.pythonhosted.org/packages/a4/99/bddde3ddde76c03b65dfd5a66ab436c4e58ffc42927d4ff1198ffbf96f5f/pydantic_core-2.27.2-cp313-cp313-win32.whl", hash = "sha256:1ebaf1d0481914d004a573394f4be3a7616334be70261007e47c2a6fe7e50130", size = 1834387, upload-time = "2024-12-18T11:29:33.481Z" }, + { url = "https://files.pythonhosted.org/packages/71/47/82b5e846e01b26ac6f1893d3c5f9f3a2eb6ba79be26eef0b759b4fe72946/pydantic_core-2.27.2-cp313-cp313-win_amd64.whl", hash = "sha256:953101387ecf2f5652883208769a79e48db18c6df442568a0b5ccd8c2723abee", size = 1990453, upload-time = "2024-12-18T11:29:35.533Z" }, + { url = "https://files.pythonhosted.org/packages/51/b2/b2b50d5ecf21acf870190ae5d093602d95f66c9c31f9d5de6062eb329ad1/pydantic_core-2.27.2-cp313-cp313-win_arm64.whl", hash = "sha256:ac4dbfd1691affb8f48c2c13241a2e3b60ff23247cbcf981759c768b6633cf8b", size = 1885186, upload-time = "2024-12-18T11:29:37.649Z" }, ] [[package]] name = "pygments" -version = "2.19.1" +version = "2.19.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" }, +] + +[[package]] +name = "pyreadline3" +version = "3.5.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f", size = 4968581 } +sdist = { url = "https://files.pythonhosted.org/packages/0f/49/4cea918a08f02817aabae639e3d0ac046fef9f9180518a3ad394e22da148/pyreadline3-3.5.4.tar.gz", hash = "sha256:8d57d53039a1c75adba8e50dd3d992b28143480816187ea5efbd5c78e6c885b7", size = 99839, upload-time = "2024-09-19T02:40:10.062Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15/pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c", size = 1225293 }, + { url = "https://files.pythonhosted.org/packages/5a/dc/491b7661614ab97483abf2056be1deee4dc2490ecbf7bff9ab5cdbac86e1/pyreadline3-3.5.4-py3-none-any.whl", hash = "sha256:eaf8e6cc3c49bcccf145fc6067ba8643d1df34d604a1ec0eccbf7a18e6d3fae6", size = 83178, upload-time = "2024-09-19T02:40:08.598Z" }, ] [[package]] name = "pytest" -version = "8.3.4" +version = "9.0.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, - { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, { name = "iniconfig" }, { name = "packaging" }, { name = "pluggy" }, - { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "pygments" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/05/35/30e0d83068951d90a01852cb1cef56e5d8a09d20c7f511634cc2f7e0372a/pytest-8.3.4.tar.gz", hash = "sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761", size = 1445919 } +sdist = { url = "https://files.pythonhosted.org/packages/d1/db/7ef3487e0fb0049ddb5ce41d3a49c235bf9ad299b6a25d5780a89f19230f/pytest-9.0.2.tar.gz", hash = "sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11", size = 1568901, upload-time = "2025-12-06T21:30:51.014Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6", size = 343083 }, + { url = "https://files.pythonhosted.org/packages/3b/ab/b3226f0bd7cdcf710fbede2b3548584366da3b19b5021e74f5bde2a8fa3f/pytest-9.0.2-py3-none-any.whl", hash = "sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b", size = 374801, upload-time = "2025-12-06T21:30:49.154Z" }, ] [[package]] name = "pytest-cov" -version = "6.0.0" +version = "7.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "coverage", extra = ["toml"] }, + { name = "pluggy" }, { name = "pytest" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/be/45/9b538de8cef30e17c7b45ef42f538a94889ed6a16f2387a6c89e73220651/pytest-cov-6.0.0.tar.gz", hash = "sha256:fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0", size = 66945 } +sdist = { url = "https://files.pythonhosted.org/packages/5e/f7/c933acc76f5208b3b00089573cf6a2bc26dc80a8aece8f52bb7d6b1855ca/pytest_cov-7.0.0.tar.gz", hash = "sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1", size = 54328, upload-time = "2025-09-09T10:57:02.113Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl", hash = "sha256:eee6f1b9e61008bd34975a4d5bab25801eb31898b032dd55addc93e96fcaaa35", size = 22949 }, + { url = "https://files.pythonhosted.org/packages/ee/49/1377b49de7d0c1ce41292161ea0f721913fa8722c19fb9c1e3aa0367eecb/pytest_cov-7.0.0-py3-none-any.whl", hash = "sha256:3b8e9558b16cc1479da72058bdecf8073661c7f57f7d3c5f22a1c23507f2d861", size = 22424, upload-time = "2025-09-09T10:57:00.695Z" }, ] [[package]] -name = "pytest-order" -version = "1.3.0" +name = "pytest-mock" +version = "3.15.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pytest" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/1d/66/02ae17461b14a52ce5a29ae2900156b9110d1de34721ccc16ccd79419876/pytest_order-1.3.0.tar.gz", hash = "sha256:51608fec3d3ee9c0adaea94daa124a5c4c1d2bb99b00269f098f414307f23dde", size = 47544 } +sdist = { url = "https://files.pythonhosted.org/packages/68/14/eb014d26be205d38ad5ad20d9a80f7d201472e08167f0bb4361e251084a9/pytest_mock-3.15.1.tar.gz", hash = "sha256:1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f", size = 34036, upload-time = "2025-09-16T16:37:27.081Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/1b/73/59b038d1aafca89f8e9936eaa8ffa6bb6138d00459d13a32ce070be4f280/pytest_order-1.3.0-py3-none-any.whl", hash = "sha256:2cd562a21380345dd8d5774aa5fd38b7849b6ee7397ca5f6999bbe6e89f07f6e", size = 14609 }, + { url = "https://files.pythonhosted.org/packages/5a/cc/06253936f4a7fa2e0f48dfe6d851d9c56df896a9ab09ac019d70b760619c/pytest_mock-3.15.1-py3-none-any.whl", hash = "sha256:0a25e2eb88fe5168d535041d09a4529a188176ae608a6d249ee65abc0949630d", size = 10095, upload-time = "2025-09-16T16:37:25.734Z" }, ] [[package]] -name = "pywin32" -version = "308" +name = "pytest-order" +version = "1.3.0" source = { registry = "https://pypi.org/simple" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/72/a6/3e9f2c474895c1bb61b11fa9640be00067b5c5b363c501ee9c3fa53aec01/pywin32-308-cp310-cp310-win32.whl", hash = "sha256:796ff4426437896550d2981b9c2ac0ffd75238ad9ea2d3bfa67a1abd546d262e", size = 5927028 }, - { url = "https://files.pythonhosted.org/packages/d9/b4/84e2463422f869b4b718f79eb7530a4c1693e96b8a4e5e968de38be4d2ba/pywin32-308-cp310-cp310-win_amd64.whl", hash = "sha256:4fc888c59b3c0bef905ce7eb7e2106a07712015ea1c8234b703a088d46110e8e", size = 6558484 }, - { url = "https://files.pythonhosted.org/packages/9f/8f/fb84ab789713f7c6feacaa08dad3ec8105b88ade8d1c4f0f0dfcaaa017d6/pywin32-308-cp310-cp310-win_arm64.whl", hash = "sha256:a5ab5381813b40f264fa3495b98af850098f814a25a63589a8e9eb12560f450c", size = 7971454 }, - { url = "https://files.pythonhosted.org/packages/eb/e2/02652007469263fe1466e98439831d65d4ca80ea1a2df29abecedf7e47b7/pywin32-308-cp311-cp311-win32.whl", hash = "sha256:5d8c8015b24a7d6855b1550d8e660d8daa09983c80e5daf89a273e5c6fb5095a", size = 5928156 }, - { url = "https://files.pythonhosted.org/packages/48/ef/f4fb45e2196bc7ffe09cad0542d9aff66b0e33f6c0954b43e49c33cad7bd/pywin32-308-cp311-cp311-win_amd64.whl", hash = "sha256:575621b90f0dc2695fec346b2d6302faebd4f0f45c05ea29404cefe35d89442b", size = 6559559 }, - { url = "https://files.pythonhosted.org/packages/79/ef/68bb6aa865c5c9b11a35771329e95917b5559845bd75b65549407f9fc6b4/pywin32-308-cp311-cp311-win_arm64.whl", hash = "sha256:100a5442b7332070983c4cd03f2e906a5648a5104b8a7f50175f7906efd16bb6", size = 7972495 }, - { url = "https://files.pythonhosted.org/packages/00/7c/d00d6bdd96de4344e06c4afbf218bc86b54436a94c01c71a8701f613aa56/pywin32-308-cp312-cp312-win32.whl", hash = "sha256:587f3e19696f4bf96fde9d8a57cec74a57021ad5f204c9e627e15c33ff568897", size = 5939729 }, - { url = "https://files.pythonhosted.org/packages/21/27/0c8811fbc3ca188f93b5354e7c286eb91f80a53afa4e11007ef661afa746/pywin32-308-cp312-cp312-win_amd64.whl", hash = "sha256:00b3e11ef09ede56c6a43c71f2d31857cf7c54b0ab6e78ac659497abd2834f47", size = 6543015 }, - { url = "https://files.pythonhosted.org/packages/9d/0f/d40f8373608caed2255781a3ad9a51d03a594a1248cd632d6a298daca693/pywin32-308-cp312-cp312-win_arm64.whl", hash = "sha256:9b4de86c8d909aed15b7011182c8cab38c8850de36e6afb1f0db22b8959e3091", size = 7976033 }, +dependencies = [ + { name = "pytest" }, ] - -[[package]] -name = "pyyaml" -version = "6.0.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e", size = 130631 } +sdist = { url = "https://files.pythonhosted.org/packages/1d/66/02ae17461b14a52ce5a29ae2900156b9110d1de34721ccc16ccd79419876/pytest_order-1.3.0.tar.gz", hash = "sha256:51608fec3d3ee9c0adaea94daa124a5c4c1d2bb99b00269f098f414307f23dde", size = 47544, upload-time = "2024-08-22T12:29:54.512Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/9b/95/a3fac87cb7158e231b5a6012e438c647e1a87f09f8e0d123acec8ab8bf71/PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086", size = 184199 }, - { url = "https://files.pythonhosted.org/packages/c7/7a/68bd47624dab8fd4afbfd3c48e3b79efe09098ae941de5b58abcbadff5cb/PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf", size = 171758 }, - { url = "https://files.pythonhosted.org/packages/49/ee/14c54df452143b9ee9f0f29074d7ca5516a36edb0b4cc40c3f280131656f/PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237", size = 718463 }, - { url = "https://files.pythonhosted.org/packages/4d/61/de363a97476e766574650d742205be468921a7b532aa2499fcd886b62530/PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b", size = 719280 }, - { url = "https://files.pythonhosted.org/packages/6b/4e/1523cb902fd98355e2e9ea5e5eb237cbc5f3ad5f3075fa65087aa0ecb669/PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed", size = 751239 }, - { url = "https://files.pythonhosted.org/packages/b7/33/5504b3a9a4464893c32f118a9cc045190a91637b119a9c881da1cf6b7a72/PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180", size = 695802 }, - { url = "https://files.pythonhosted.org/packages/5c/20/8347dcabd41ef3a3cdc4f7b7a2aff3d06598c8779faa189cdbf878b626a4/PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68", size = 720527 }, - { url = "https://files.pythonhosted.org/packages/be/aa/5afe99233fb360d0ff37377145a949ae258aaab831bde4792b32650a4378/PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99", size = 144052 }, - { url = "https://files.pythonhosted.org/packages/b5/84/0fa4b06f6d6c958d207620fc60005e241ecedceee58931bb20138e1e5776/PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e", size = 161774 }, - { url = "https://files.pythonhosted.org/packages/f8/aa/7af4e81f7acba21a4c6be026da38fd2b872ca46226673c89a758ebdc4fd2/PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774", size = 184612 }, - { url = "https://files.pythonhosted.org/packages/8b/62/b9faa998fd185f65c1371643678e4d58254add437edb764a08c5a98fb986/PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee", size = 172040 }, - { url = "https://files.pythonhosted.org/packages/ad/0c/c804f5f922a9a6563bab712d8dcc70251e8af811fce4524d57c2c0fd49a4/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c", size = 736829 }, - { url = "https://files.pythonhosted.org/packages/51/16/6af8d6a6b210c8e54f1406a6b9481febf9c64a3109c541567e35a49aa2e7/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317", size = 764167 }, - { url = "https://files.pythonhosted.org/packages/75/e4/2c27590dfc9992f73aabbeb9241ae20220bd9452df27483b6e56d3975cc5/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85", size = 762952 }, - { url = "https://files.pythonhosted.org/packages/9b/97/ecc1abf4a823f5ac61941a9c00fe501b02ac3ab0e373c3857f7d4b83e2b6/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4", size = 735301 }, - { url = "https://files.pythonhosted.org/packages/45/73/0f49dacd6e82c9430e46f4a027baa4ca205e8b0a9dce1397f44edc23559d/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e", size = 756638 }, - { url = "https://files.pythonhosted.org/packages/22/5f/956f0f9fc65223a58fbc14459bf34b4cc48dec52e00535c79b8db361aabd/PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5", size = 143850 }, - { url = "https://files.pythonhosted.org/packages/ed/23/8da0bbe2ab9dcdd11f4f4557ccaf95c10b9811b13ecced089d43ce59c3c8/PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44", size = 161980 }, - { url = "https://files.pythonhosted.org/packages/86/0c/c581167fc46d6d6d7ddcfb8c843a4de25bdd27e4466938109ca68492292c/PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab", size = 183873 }, - { url = "https://files.pythonhosted.org/packages/a8/0c/38374f5bb272c051e2a69281d71cba6fdb983413e6758b84482905e29a5d/PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725", size = 173302 }, - { url = "https://files.pythonhosted.org/packages/c3/93/9916574aa8c00aa06bbac729972eb1071d002b8e158bd0e83a3b9a20a1f7/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5", size = 739154 }, - { url = "https://files.pythonhosted.org/packages/95/0f/b8938f1cbd09739c6da569d172531567dbcc9789e0029aa070856f123984/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425", size = 766223 }, - { url = "https://files.pythonhosted.org/packages/b9/2b/614b4752f2e127db5cc206abc23a8c19678e92b23c3db30fc86ab731d3bd/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476", size = 767542 }, - { url = "https://files.pythonhosted.org/packages/d4/00/dd137d5bcc7efea1836d6264f049359861cf548469d18da90cd8216cf05f/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48", size = 731164 }, - { url = "https://files.pythonhosted.org/packages/c9/1f/4f998c900485e5c0ef43838363ba4a9723ac0ad73a9dc42068b12aaba4e4/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b", size = 756611 }, - { url = "https://files.pythonhosted.org/packages/df/d1/f5a275fdb252768b7a11ec63585bc38d0e87c9e05668a139fea92b80634c/PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4", size = 140591 }, - { url = "https://files.pythonhosted.org/packages/0c/e8/4f648c598b17c3d06e8753d7d13d57542b30d56e6c2dedf9c331ae56312e/PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8", size = 156338 }, + { url = "https://files.pythonhosted.org/packages/1b/73/59b038d1aafca89f8e9936eaa8ffa6bb6138d00459d13a32ce070be4f280/pytest_order-1.3.0-py3-none-any.whl", hash = "sha256:2cd562a21380345dd8d5774aa5fd38b7849b6ee7397ca5f6999bbe6e89f07f6e", size = 14609, upload-time = "2024-08-22T12:29:53.156Z" }, ] [[package]] -name = "requests" -version = "2.32.2" +name = "pytest-timeout" +version = "2.4.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "certifi" }, - { name = "charset-normalizer" }, - { name = "idna" }, - { name = "urllib3" }, + { name = "pytest" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/86/ec/535bf6f9bd280de6a4637526602a146a68fde757100ecf8c9333173392db/requests-2.32.2.tar.gz", hash = "sha256:dd951ff5ecf3e3b3aa26b40703ba77495dab41da839ae72ef3c8e5d8e2433289", size = 130327 } +sdist = { url = "https://files.pythonhosted.org/packages/ac/82/4c9ecabab13363e72d880f2fb504c5f750433b2b6f16e99f4ec21ada284c/pytest_timeout-2.4.0.tar.gz", hash = "sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a", size = 17973, upload-time = "2025-05-05T19:44:34.99Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c3/20/748e38b466e0819491f0ce6e90ebe4184966ee304fe483e2c414b0f4ef07/requests-2.32.2-py3-none-any.whl", hash = "sha256:fc06670dd0ed212426dfeb94fc1b983d917c4f9847c863f313c9dfaaffb7c23c", size = 63902 }, + { url = "https://files.pythonhosted.org/packages/fa/b6/3127540ecdf1464a00e5a01ee60a1b09175f6913f0644ac748494d9c4b21/pytest_timeout-2.4.0-py3-none-any.whl", hash = "sha256:c42667e5cdadb151aeb5b26d114aff6bdf5a907f176a007a30b940d3d865b5c2", size = 14382, upload-time = "2025-05-05T19:44:33.502Z" }, ] [[package]] -name = "rich" -version = "13.9.4" +name = "python-dotenv" +version = "1.2.1" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "markdown-it-py" }, - { name = "pygments" }, - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ab/3a/0316b28d0761c6734d6bc14e770d85506c986c85ffb239e688eeaab2c2bc/rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098", size = 223149 } +sdist = { url = "https://files.pythonhosted.org/packages/f0/26/19cadc79a718c5edbec86fd4919a6b6d3f681039a2f6d66d14be94e75fb9/python_dotenv-1.2.1.tar.gz", hash = "sha256:42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6", size = 44221, upload-time = "2025-10-26T15:12:10.434Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/19/71/39c7c0d87f8d4e6c020a393182060eaefeeae6c01dab6a84ec346f2567df/rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90", size = 242424 }, + { url = "https://files.pythonhosted.org/packages/14/1b/a298b06749107c305e1fe0f814c6c74aea7b2f1e10989cb30f544a1b3253/python_dotenv-1.2.1-py3-none-any.whl", hash = "sha256:b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61", size = 21230, upload-time = "2025-10-26T15:12:09.109Z" }, ] [[package]] -name = "ruff" -version = "0.9.2" +name = "pywin32" +version = "308" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/80/63/77ecca9d21177600f551d1c58ab0e5a0b260940ea7312195bd2a4798f8a8/ruff-0.9.2.tar.gz", hash = "sha256:b5eceb334d55fae5f316f783437392642ae18e16dcf4f1858d55d3c2a0f8f5d0", size = 3553799 } wheels = [ - { url = "https://files.pythonhosted.org/packages/af/b9/0e168e4e7fb3af851f739e8f07889b91d1a33a30fca8c29fa3149d6b03ec/ruff-0.9.2-py3-none-linux_armv6l.whl", hash = "sha256:80605a039ba1454d002b32139e4970becf84b5fee3a3c3bf1c2af6f61a784347", size = 11652408 }, - { url = "https://files.pythonhosted.org/packages/2c/22/08ede5db17cf701372a461d1cb8fdde037da1d4fa622b69ac21960e6237e/ruff-0.9.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b9aab82bb20afd5f596527045c01e6ae25a718ff1784cb92947bff1f83068b00", size = 11587553 }, - { url = "https://files.pythonhosted.org/packages/42/05/dedfc70f0bf010230229e33dec6e7b2235b2a1b8cbb2a991c710743e343f/ruff-0.9.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:fbd337bac1cfa96be615f6efcd4bc4d077edbc127ef30e2b8ba2a27e18c054d4", size = 11020755 }, - { url = "https://files.pythonhosted.org/packages/df/9b/65d87ad9b2e3def67342830bd1af98803af731243da1255537ddb8f22209/ruff-0.9.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82b35259b0cbf8daa22a498018e300b9bb0174c2bbb7bcba593935158a78054d", size = 11826502 }, - { url = "https://files.pythonhosted.org/packages/93/02/f2239f56786479e1a89c3da9bc9391120057fc6f4a8266a5b091314e72ce/ruff-0.9.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8b6a9701d1e371bf41dca22015c3f89769da7576884d2add7317ec1ec8cb9c3c", size = 11390562 }, - { url = "https://files.pythonhosted.org/packages/c9/37/d3a854dba9931f8cb1b2a19509bfe59e00875f48ade632e95aefcb7a0aee/ruff-0.9.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9cc53e68b3c5ae41e8faf83a3b89f4a5d7b2cb666dff4b366bb86ed2a85b481f", size = 12548968 }, - { url = "https://files.pythonhosted.org/packages/fa/c3/c7b812bb256c7a1d5553433e95980934ffa85396d332401f6b391d3c4569/ruff-0.9.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:8efd9da7a1ee314b910da155ca7e8953094a7c10d0c0a39bfde3fcfd2a015684", size = 13187155 }, - { url = "https://files.pythonhosted.org/packages/bd/5a/3c7f9696a7875522b66aa9bba9e326e4e5894b4366bd1dc32aa6791cb1ff/ruff-0.9.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3292c5a22ea9a5f9a185e2d131dc7f98f8534a32fb6d2ee7b9944569239c648d", size = 12704674 }, - { url = "https://files.pythonhosted.org/packages/be/d6/d908762257a96ce5912187ae9ae86792e677ca4f3dc973b71e7508ff6282/ruff-0.9.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1a605fdcf6e8b2d39f9436d343d1f0ff70c365a1e681546de0104bef81ce88df", size = 14529328 }, - { url = "https://files.pythonhosted.org/packages/2d/c2/049f1e6755d12d9cd8823242fa105968f34ee4c669d04cac8cea51a50407/ruff-0.9.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c547f7f256aa366834829a08375c297fa63386cbe5f1459efaf174086b564247", size = 12385955 }, - { url = "https://files.pythonhosted.org/packages/91/5a/a9bdb50e39810bd9627074e42743b00e6dc4009d42ae9f9351bc3dbc28e7/ruff-0.9.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:d18bba3d3353ed916e882521bc3e0af403949dbada344c20c16ea78f47af965e", size = 11810149 }, - { url = "https://files.pythonhosted.org/packages/e5/fd/57df1a0543182f79a1236e82a79c68ce210efb00e97c30657d5bdb12b478/ruff-0.9.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:b338edc4610142355ccf6b87bd356729b62bf1bc152a2fad5b0c7dc04af77bfe", size = 11479141 }, - { url = "https://files.pythonhosted.org/packages/dc/16/bc3fd1d38974f6775fc152a0554f8c210ff80f2764b43777163c3c45d61b/ruff-0.9.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:492a5e44ad9b22a0ea98cf72e40305cbdaf27fac0d927f8bc9e1df316dcc96eb", size = 12014073 }, - { url = "https://files.pythonhosted.org/packages/47/6b/e4ca048a8f2047eb652e1e8c755f384d1b7944f69ed69066a37acd4118b0/ruff-0.9.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:af1e9e9fe7b1f767264d26b1075ac4ad831c7db976911fa362d09b2d0356426a", size = 12435758 }, - { url = "https://files.pythonhosted.org/packages/c2/40/4d3d6c979c67ba24cf183d29f706051a53c36d78358036a9cd21421582ab/ruff-0.9.2-py3-none-win32.whl", hash = "sha256:71cbe22e178c5da20e1514e1e01029c73dc09288a8028a5d3446e6bba87a5145", size = 9796916 }, - { url = "https://files.pythonhosted.org/packages/c3/ef/7f548752bdb6867e6939489c87fe4da489ab36191525fadc5cede2a6e8e2/ruff-0.9.2-py3-none-win_amd64.whl", hash = "sha256:c5e1d6abc798419cf46eed03f54f2e0c3adb1ad4b801119dedf23fcaf69b55b5", size = 10773080 }, - { url = "https://files.pythonhosted.org/packages/0e/4e/33df635528292bd2d18404e4daabcd74ca8a9853b2e1df85ed3d32d24362/ruff-0.9.2-py3-none-win_arm64.whl", hash = "sha256:a1b63fa24149918f8b37cef2ee6fff81f24f0d74b6f0bdc37bc3e1f2143e41c6", size = 10001738 }, + { url = "https://files.pythonhosted.org/packages/eb/e2/02652007469263fe1466e98439831d65d4ca80ea1a2df29abecedf7e47b7/pywin32-308-cp311-cp311-win32.whl", hash = "sha256:5d8c8015b24a7d6855b1550d8e660d8daa09983c80e5daf89a273e5c6fb5095a", size = 5928156, upload-time = "2024-10-12T20:42:05.78Z" }, + { url = "https://files.pythonhosted.org/packages/48/ef/f4fb45e2196bc7ffe09cad0542d9aff66b0e33f6c0954b43e49c33cad7bd/pywin32-308-cp311-cp311-win_amd64.whl", hash = "sha256:575621b90f0dc2695fec346b2d6302faebd4f0f45c05ea29404cefe35d89442b", size = 6559559, upload-time = "2024-10-12T20:42:07.644Z" }, + { url = "https://files.pythonhosted.org/packages/79/ef/68bb6aa865c5c9b11a35771329e95917b5559845bd75b65549407f9fc6b4/pywin32-308-cp311-cp311-win_arm64.whl", hash = "sha256:100a5442b7332070983c4cd03f2e906a5648a5104b8a7f50175f7906efd16bb6", size = 7972495, upload-time = "2024-10-12T20:42:09.803Z" }, + { url = "https://files.pythonhosted.org/packages/00/7c/d00d6bdd96de4344e06c4afbf218bc86b54436a94c01c71a8701f613aa56/pywin32-308-cp312-cp312-win32.whl", hash = "sha256:587f3e19696f4bf96fde9d8a57cec74a57021ad5f204c9e627e15c33ff568897", size = 5939729, upload-time = "2024-10-12T20:42:12.001Z" }, + { url = "https://files.pythonhosted.org/packages/21/27/0c8811fbc3ca188f93b5354e7c286eb91f80a53afa4e11007ef661afa746/pywin32-308-cp312-cp312-win_amd64.whl", hash = "sha256:00b3e11ef09ede56c6a43c71f2d31857cf7c54b0ab6e78ac659497abd2834f47", size = 6543015, upload-time = "2024-10-12T20:42:14.044Z" }, + { url = "https://files.pythonhosted.org/packages/9d/0f/d40f8373608caed2255781a3ad9a51d03a594a1248cd632d6a298daca693/pywin32-308-cp312-cp312-win_arm64.whl", hash = "sha256:9b4de86c8d909aed15b7011182c8cab38c8850de36e6afb1f0db22b8959e3091", size = 7976033, upload-time = "2024-10-12T20:42:16.215Z" }, + { url = "https://files.pythonhosted.org/packages/a9/a4/aa562d8935e3df5e49c161b427a3a2efad2ed4e9cf81c3de636f1fdddfd0/pywin32-308-cp313-cp313-win32.whl", hash = "sha256:1c44539a37a5b7b21d02ab34e6a4d314e0788f1690d65b48e9b0b89f31abbbed", size = 5938579, upload-time = "2024-10-12T20:42:18.623Z" }, + { url = "https://files.pythonhosted.org/packages/c7/50/b0efb8bb66210da67a53ab95fd7a98826a97ee21f1d22949863e6d588b22/pywin32-308-cp313-cp313-win_amd64.whl", hash = "sha256:fd380990e792eaf6827fcb7e187b2b4b1cede0585e3d0c9e84201ec27b9905e4", size = 6542056, upload-time = "2024-10-12T20:42:20.864Z" }, + { url = "https://files.pythonhosted.org/packages/26/df/2b63e3e4f2df0224f8aaf6d131f54fe4e8c96400eb9df563e2aae2e1a1f9/pywin32-308-cp313-cp313-win_arm64.whl", hash = "sha256:ef313c46d4c18dfb82a2431e3051ac8f112ccee1a34f29c263c583c568db63cd", size = 7974986, upload-time = "2024-10-12T20:42:22.799Z" }, ] [[package]] -name = "setuptools" -version = "75.8.0" +name = "pyyaml" +version = "6.0.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/92/ec/089608b791d210aec4e7f97488e67ab0d33add3efccb83a056cbafe3a2a6/setuptools-75.8.0.tar.gz", hash = "sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6", size = 1343222 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/69/8a/b9dc7678803429e4a3bc9ba462fa3dd9066824d3c607490235c6a796be5a/setuptools-75.8.0-py3-none-any.whl", hash = "sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3", size = 1228782 }, +sdist = { url = "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e", size = 130631, upload-time = "2024-08-06T20:33:50.674Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f8/aa/7af4e81f7acba21a4c6be026da38fd2b872ca46226673c89a758ebdc4fd2/PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774", size = 184612, upload-time = "2024-08-06T20:32:03.408Z" }, + { url = "https://files.pythonhosted.org/packages/8b/62/b9faa998fd185f65c1371643678e4d58254add437edb764a08c5a98fb986/PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee", size = 172040, upload-time = "2024-08-06T20:32:04.926Z" }, + { url = "https://files.pythonhosted.org/packages/ad/0c/c804f5f922a9a6563bab712d8dcc70251e8af811fce4524d57c2c0fd49a4/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c", size = 736829, upload-time = "2024-08-06T20:32:06.459Z" }, + { url = "https://files.pythonhosted.org/packages/51/16/6af8d6a6b210c8e54f1406a6b9481febf9c64a3109c541567e35a49aa2e7/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317", size = 764167, upload-time = "2024-08-06T20:32:08.338Z" }, + { url = "https://files.pythonhosted.org/packages/75/e4/2c27590dfc9992f73aabbeb9241ae20220bd9452df27483b6e56d3975cc5/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85", size = 762952, upload-time = "2024-08-06T20:32:14.124Z" }, + { url = "https://files.pythonhosted.org/packages/9b/97/ecc1abf4a823f5ac61941a9c00fe501b02ac3ab0e373c3857f7d4b83e2b6/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4", size = 735301, upload-time = "2024-08-06T20:32:16.17Z" }, + { url = "https://files.pythonhosted.org/packages/45/73/0f49dacd6e82c9430e46f4a027baa4ca205e8b0a9dce1397f44edc23559d/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e", size = 756638, upload-time = "2024-08-06T20:32:18.555Z" }, + { url = "https://files.pythonhosted.org/packages/22/5f/956f0f9fc65223a58fbc14459bf34b4cc48dec52e00535c79b8db361aabd/PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5", size = 143850, upload-time = "2024-08-06T20:32:19.889Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/8da0bbe2ab9dcdd11f4f4557ccaf95c10b9811b13ecced089d43ce59c3c8/PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44", size = 161980, upload-time = "2024-08-06T20:32:21.273Z" }, + { url = "https://files.pythonhosted.org/packages/86/0c/c581167fc46d6d6d7ddcfb8c843a4de25bdd27e4466938109ca68492292c/PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab", size = 183873, upload-time = "2024-08-06T20:32:25.131Z" }, + { url = "https://files.pythonhosted.org/packages/a8/0c/38374f5bb272c051e2a69281d71cba6fdb983413e6758b84482905e29a5d/PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725", size = 173302, upload-time = "2024-08-06T20:32:26.511Z" }, + { url = "https://files.pythonhosted.org/packages/c3/93/9916574aa8c00aa06bbac729972eb1071d002b8e158bd0e83a3b9a20a1f7/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5", size = 739154, upload-time = "2024-08-06T20:32:28.363Z" }, + { url = "https://files.pythonhosted.org/packages/95/0f/b8938f1cbd09739c6da569d172531567dbcc9789e0029aa070856f123984/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425", size = 766223, upload-time = "2024-08-06T20:32:30.058Z" }, + { url = "https://files.pythonhosted.org/packages/b9/2b/614b4752f2e127db5cc206abc23a8c19678e92b23c3db30fc86ab731d3bd/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476", size = 767542, upload-time = "2024-08-06T20:32:31.881Z" }, + { url = "https://files.pythonhosted.org/packages/d4/00/dd137d5bcc7efea1836d6264f049359861cf548469d18da90cd8216cf05f/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48", size = 731164, upload-time = "2024-08-06T20:32:37.083Z" }, + { url = "https://files.pythonhosted.org/packages/c9/1f/4f998c900485e5c0ef43838363ba4a9723ac0ad73a9dc42068b12aaba4e4/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b", size = 756611, upload-time = "2024-08-06T20:32:38.898Z" }, + { url = "https://files.pythonhosted.org/packages/df/d1/f5a275fdb252768b7a11ec63585bc38d0e87c9e05668a139fea92b80634c/PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4", size = 140591, upload-time = "2024-08-06T20:32:40.241Z" }, + { url = "https://files.pythonhosted.org/packages/0c/e8/4f648c598b17c3d06e8753d7d13d57542b30d56e6c2dedf9c331ae56312e/PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8", size = 156338, upload-time = "2024-08-06T20:32:41.93Z" }, + { url = "https://files.pythonhosted.org/packages/ef/e3/3af305b830494fa85d95f6d95ef7fa73f2ee1cc8ef5b495c7c3269fb835f/PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba", size = 181309, upload-time = "2024-08-06T20:32:43.4Z" }, + { url = "https://files.pythonhosted.org/packages/45/9f/3b1c20a0b7a3200524eb0076cc027a970d320bd3a6592873c85c92a08731/PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1", size = 171679, upload-time = "2024-08-06T20:32:44.801Z" }, + { url = "https://files.pythonhosted.org/packages/7c/9a/337322f27005c33bcb656c655fa78325b730324c78620e8328ae28b64d0c/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133", size = 733428, upload-time = "2024-08-06T20:32:46.432Z" }, + { url = "https://files.pythonhosted.org/packages/a3/69/864fbe19e6c18ea3cc196cbe5d392175b4cf3d5d0ac1403ec3f2d237ebb5/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484", size = 763361, upload-time = "2024-08-06T20:32:51.188Z" }, + { url = "https://files.pythonhosted.org/packages/04/24/b7721e4845c2f162d26f50521b825fb061bc0a5afcf9a386840f23ea19fa/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5", size = 759523, upload-time = "2024-08-06T20:32:53.019Z" }, + { url = "https://files.pythonhosted.org/packages/2b/b2/e3234f59ba06559c6ff63c4e10baea10e5e7df868092bf9ab40e5b9c56b6/PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc", size = 726660, upload-time = "2024-08-06T20:32:54.708Z" }, + { url = "https://files.pythonhosted.org/packages/fe/0f/25911a9f080464c59fab9027482f822b86bf0608957a5fcc6eaac85aa515/PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652", size = 751597, upload-time = "2024-08-06T20:32:56.985Z" }, + { url = "https://files.pythonhosted.org/packages/14/0d/e2c3b43bbce3cf6bd97c840b46088a3031085179e596d4929729d8d68270/PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183", size = 140527, upload-time = "2024-08-06T20:33:03.001Z" }, + { url = "https://files.pythonhosted.org/packages/fa/de/02b54f42487e3d3c6efb3f89428677074ca7bf43aae402517bc7cca949f3/PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563", size = 156446, upload-time = "2024-08-06T20:33:04.33Z" }, ] [[package]] -name = "six" -version = "1.17.0" +name = "requests" +version = "2.32.5" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031 } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz", hash = "sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf", size = 134517, upload-time = "2025-08-18T20:46:02.573Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050 }, + { url = "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl", hash = "sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6", size = 64738, upload-time = "2025-08-18T20:46:00.542Z" }, +] + +[[package]] +name = "ruff" +version = "0.14.14" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2e/06/f71e3a86b2df0dfa2d2f72195941cd09b44f87711cb7fa5193732cb9a5fc/ruff-0.14.14.tar.gz", hash = "sha256:2d0f819c9a90205f3a867dbbd0be083bee9912e170fd7d9704cc8ae45824896b", size = 4515732, upload-time = "2026-01-22T22:30:17.527Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d2/89/20a12e97bc6b9f9f68343952da08a8099c57237aef953a56b82711d55edd/ruff-0.14.14-py3-none-linux_armv6l.whl", hash = "sha256:7cfe36b56e8489dee8fbc777c61959f60ec0f1f11817e8f2415f429552846aed", size = 10467650, upload-time = "2026-01-22T22:30:08.578Z" }, + { url = "https://files.pythonhosted.org/packages/a3/b1/c5de3fd2d5a831fcae21beda5e3589c0ba67eec8202e992388e4b17a6040/ruff-0.14.14-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6006a0082336e7920b9573ef8a7f52eec837add1265cc74e04ea8a4368cd704c", size = 10883245, upload-time = "2026-01-22T22:30:04.155Z" }, + { url = "https://files.pythonhosted.org/packages/b8/7c/3c1db59a10e7490f8f6f8559d1db8636cbb13dccebf18686f4e3c9d7c772/ruff-0.14.14-py3-none-macosx_11_0_arm64.whl", hash = "sha256:026c1d25996818f0bf498636686199d9bd0d9d6341c9c2c3b62e2a0198b758de", size = 10231273, upload-time = "2026-01-22T22:30:34.642Z" }, + { url = "https://files.pythonhosted.org/packages/a1/6e/5e0e0d9674be0f8581d1f5e0f0a04761203affce3232c1a1189d0e3b4dad/ruff-0.14.14-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f666445819d31210b71e0a6d1c01e24447a20b85458eea25a25fe8142210ae0e", size = 10585753, upload-time = "2026-01-22T22:30:31.781Z" }, + { url = "https://files.pythonhosted.org/packages/23/09/754ab09f46ff1884d422dc26d59ba18b4e5d355be147721bb2518aa2a014/ruff-0.14.14-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3c0f18b922c6d2ff9a5e6c3ee16259adc513ca775bcf82c67ebab7cbd9da5bc8", size = 10286052, upload-time = "2026-01-22T22:30:24.827Z" }, + { url = "https://files.pythonhosted.org/packages/c8/cc/e71f88dd2a12afb5f50733851729d6b571a7c3a35bfdb16c3035132675a0/ruff-0.14.14-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1629e67489c2dea43e8658c3dba659edbfd87361624b4040d1df04c9740ae906", size = 11043637, upload-time = "2026-01-22T22:30:13.239Z" }, + { url = "https://files.pythonhosted.org/packages/67/b2/397245026352494497dac935d7f00f1468c03a23a0c5db6ad8fc49ca3fb2/ruff-0.14.14-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:27493a2131ea0f899057d49d303e4292b2cae2bb57253c1ed1f256fbcd1da480", size = 12194761, upload-time = "2026-01-22T22:30:22.542Z" }, + { url = "https://files.pythonhosted.org/packages/5b/06/06ef271459f778323112c51b7587ce85230785cd64e91772034ddb88f200/ruff-0.14.14-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:01ff589aab3f5b539e35db38425da31a57521efd1e4ad1ae08fc34dbe30bd7df", size = 12005701, upload-time = "2026-01-22T22:30:20.499Z" }, + { url = "https://files.pythonhosted.org/packages/41/d6/99364514541cf811ccc5ac44362f88df66373e9fec1b9d1c4cc830593fe7/ruff-0.14.14-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1cc12d74eef0f29f51775f5b755913eb523546b88e2d733e1d701fe65144e89b", size = 11282455, upload-time = "2026-01-22T22:29:59.679Z" }, + { url = "https://files.pythonhosted.org/packages/ca/71/37daa46f89475f8582b7762ecd2722492df26421714a33e72ccc9a84d7a5/ruff-0.14.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb8481604b7a9e75eff53772496201690ce2687067e038b3cc31aaf16aa0b974", size = 11215882, upload-time = "2026-01-22T22:29:57.032Z" }, + { url = "https://files.pythonhosted.org/packages/2c/10/a31f86169ec91c0705e618443ee74ede0bdd94da0a57b28e72db68b2dbac/ruff-0.14.14-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:14649acb1cf7b5d2d283ebd2f58d56b75836ed8c6f329664fa91cdea19e76e66", size = 11180549, upload-time = "2026-01-22T22:30:27.175Z" }, + { url = "https://files.pythonhosted.org/packages/fd/1e/c723f20536b5163adf79bdd10c5f093414293cdf567eed9bdb7b83940f3f/ruff-0.14.14-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8058d2145566510790eab4e2fad186002e288dec5e0d343a92fe7b0bc1b3e13", size = 10543416, upload-time = "2026-01-22T22:30:01.964Z" }, + { url = "https://files.pythonhosted.org/packages/3e/34/8a84cea7e42c2d94ba5bde1d7a4fae164d6318f13f933d92da6d7c2041ff/ruff-0.14.14-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:e651e977a79e4c758eb807f0481d673a67ffe53cfa92209781dfa3a996cf8412", size = 10285491, upload-time = "2026-01-22T22:30:29.51Z" }, + { url = "https://files.pythonhosted.org/packages/55/ef/b7c5ea0be82518906c978e365e56a77f8de7678c8bb6651ccfbdc178c29f/ruff-0.14.14-py3-none-musllinux_1_2_i686.whl", hash = "sha256:cc8b22da8d9d6fdd844a68ae937e2a0adf9b16514e9a97cc60355e2d4b219fc3", size = 10733525, upload-time = "2026-01-22T22:30:06.499Z" }, + { url = "https://files.pythonhosted.org/packages/6a/5b/aaf1dfbcc53a2811f6cc0a1759de24e4b03e02ba8762daabd9b6bd8c59e3/ruff-0.14.14-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:16bc890fb4cc9781bb05beb5ab4cd51be9e7cb376bf1dd3580512b24eb3fda2b", size = 11315626, upload-time = "2026-01-22T22:30:36.848Z" }, + { url = "https://files.pythonhosted.org/packages/2c/aa/9f89c719c467dfaf8ad799b9bae0df494513fb21d31a6059cb5870e57e74/ruff-0.14.14-py3-none-win32.whl", hash = "sha256:b530c191970b143375b6a68e6f743800b2b786bbcf03a7965b06c4bf04568167", size = 10502442, upload-time = "2026-01-22T22:30:38.93Z" }, + { url = "https://files.pythonhosted.org/packages/87/44/90fa543014c45560cae1fffc63ea059fb3575ee6e1cb654562197e5d16fb/ruff-0.14.14-py3-none-win_amd64.whl", hash = "sha256:3dde1435e6b6fe5b66506c1dff67a421d0b7f6488d466f651c07f4cab3bf20fd", size = 11630486, upload-time = "2026-01-22T22:30:10.852Z" }, + { url = "https://files.pythonhosted.org/packages/9e/6a/40fee331a52339926a92e17ae748827270b288a35ef4a15c9c8f2ec54715/ruff-0.14.14-py3-none-win_arm64.whl", hash = "sha256:56e6981a98b13a32236a72a8da421d7839221fa308b223b9283312312e5ac76c", size = 10920448, upload-time = "2026-01-22T22:30:15.417Z" }, ] [[package]] name = "sniffio" version = "1.3.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } +sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, + { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" }, ] [[package]] @@ -1017,171 +886,137 @@ source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/1a/4c/9b5764bd22eec91c4039ef4c55334e9187085da2d8a2df7bd570869aae18/starlette-0.41.3.tar.gz", hash = "sha256:0e4ab3d16522a255be6b28260b938eae2482f98ce5cc934cb08dce8dc3ba5835", size = 2574159 } +sdist = { url = "https://files.pythonhosted.org/packages/1a/4c/9b5764bd22eec91c4039ef4c55334e9187085da2d8a2df7bd570869aae18/starlette-0.41.3.tar.gz", hash = "sha256:0e4ab3d16522a255be6b28260b938eae2482f98ce5cc934cb08dce8dc3ba5835", size = 2574159, upload-time = "2024-11-18T19:45:04.283Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/96/00/2b325970b3060c7cecebab6d295afe763365822b1306a12eeab198f74323/starlette-0.41.3-py3-none-any.whl", hash = "sha256:44cedb2b7c77a9de33a8b74b2b90e9f50d11fcf25d8270ea525ad71a25374ff7", size = 73225 }, + { url = "https://files.pythonhosted.org/packages/96/00/2b325970b3060c7cecebab6d295afe763365822b1306a12eeab198f74323/starlette-0.41.3-py3-none-any.whl", hash = "sha256:44cedb2b7c77a9de33a8b74b2b90e9f50d11fcf25d8270ea525ad71a25374ff7", size = 73225, upload-time = "2024-11-18T19:45:02.027Z" }, ] [[package]] -name = "tensorboard" -version = "2.18.0" +name = "sympy" +version = "1.14.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "absl-py" }, - { name = "grpcio" }, - { name = "markdown" }, - { name = "numpy" }, - { name = "packaging" }, - { name = "protobuf" }, - { name = "setuptools" }, - { name = "six" }, - { name = "tensorboard-data-server" }, - { name = "werkzeug" }, + { name = "mpmath" }, ] +sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b1/de/021c1d407befb505791764ad2cbd56ceaaa53a746baed01d2e2143f05f18/tensorboard-2.18.0-py3-none-any.whl", hash = "sha256:107ca4821745f73e2aefa02c50ff70a9b694f39f790b11e6f682f7d326745eab", size = 5503036 }, -] - -[[package]] -name = "tensorboard-data-server" -version = "0.7.2" -source = { registry = "https://pypi.org/simple" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7a/13/e503968fefabd4c6b2650af21e110aa8466fe21432cd7c43a84577a89438/tensorboard_data_server-0.7.2-py3-none-any.whl", hash = "sha256:7e0610d205889588983836ec05dc098e80f97b7e7bbff7e994ebb78f578d0ddb", size = 2356 }, - { url = "https://files.pythonhosted.org/packages/b7/85/dabeaf902892922777492e1d253bb7e1264cadce3cea932f7ff599e53fea/tensorboard_data_server-0.7.2-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:9fe5d24221b29625dbc7328b0436ca7fc1c23de4acf4d272f1180856e32f9f60", size = 4823598 }, - { url = "https://files.pythonhosted.org/packages/73/c6/825dab04195756cf8ff2e12698f22513b3db2f64925bdd41671bfb33aaa5/tensorboard_data_server-0.7.2-py3-none-manylinux_2_31_x86_64.whl", hash = "sha256:ef687163c24185ae9754ed5650eb5bc4d84ff257aabdc33f0cc6f74d8ba54530", size = 6590363 }, + { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" }, ] [[package]] -name = "tensorflow" -version = "2.18.0" +name = "testcontainers" +version = "4.14.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "absl-py" }, - { name = "astunparse" }, - { name = "flatbuffers" }, - { name = "gast" }, - { name = "google-pasta" }, - { name = "grpcio" }, - { name = "h5py" }, - { name = "keras" }, - { name = "libclang" }, - { name = "ml-dtypes" }, - { name = "numpy" }, - { name = "opt-einsum" }, - { name = "packaging" }, - { name = "protobuf" }, - { name = "requests" }, - { name = "setuptools" }, - { name = "six" }, - { name = "tensorboard" }, - { name = "tensorflow-io-gcs-filesystem", marker = "python_full_version < '3.12'" }, - { name = "termcolor" }, + { name = "docker" }, + { name = "python-dotenv" }, { name = "typing-extensions" }, + { name = "urllib3" }, { name = "wrapt" }, ] +sdist = { url = "https://files.pythonhosted.org/packages/ad/5a/d24f5c7ef787fc152b1e4e4cfb84ef9364dbf165b3c7f7817e2f2583f749/testcontainers-4.14.0.tar.gz", hash = "sha256:3b2d4fa487af23024f00fcaa2d1cf4a5c6ad0c22e638a49799813cb49b3176c7", size = 79885, upload-time = "2026-01-07T23:35:22.825Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0c/e8/d5d54e18ff6fe67c75c3c65415c98ecd31bd0ff7613d47a1390f062993b5/tensorflow-2.18.0-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:8da90a9388a1f6dd00d626590d2b5810faffbb3e7367f9783d80efff882340ee", size = 239373575 }, - { url = "https://files.pythonhosted.org/packages/5a/58/99ba9d580c218fd866e6044b10915eb415f60af38c03dca6ff2df7f83337/tensorflow-2.18.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:589342fb9bdcab2e9af0f946da4ca97757677e297d934fcdc087e87db99d6353", size = 231677108 }, - { url = "https://files.pythonhosted.org/packages/d4/80/1567ccc375ccda4d28af28c960cca7f709f7c259463ac1436554697e8868/tensorflow-2.18.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1eb77fae50d699442726d1b23c7512c97cd688cc7d857b028683d4535bbf3709", size = 615262200 }, - { url = "https://files.pythonhosted.org/packages/59/63/5ca1b06cf17dda9c52927917a7911612953a7d91865b1288c7f9eac2b53b/tensorflow-2.18.0-cp310-cp310-win_amd64.whl", hash = "sha256:46f5a8b4e6273f488dc069fc3ac2211b23acd3d0437d919349c787fa341baa8a", size = 7519 }, - { url = "https://files.pythonhosted.org/packages/26/08/556c4159675c1a30e077ec2a942eeeb81b457cc35c247a5b4a59a1274f05/tensorflow-2.18.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:453cb60638a02fd26316fb36c8cbcf1569d33671f17c658ca0cf2b4626f851e7", size = 239492146 }, - { url = "https://files.pythonhosted.org/packages/0d/3d/45956345442e3a7b335df6f13d068121d8454c243f31b1f44244705ac584/tensorflow-2.18.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85f1e7369af6d329b117b52e86093cd1e0458dd5404bf5b665853f873dd00b48", size = 231839918 }, - { url = "https://files.pythonhosted.org/packages/84/76/c55967ac9968ddaede25a4dce37aba37e9030656f02c12676151ce1b6f22/tensorflow-2.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b8dd70fa3600bfce66ab529eebb804e1f9d7c863d2f71bc8fe9fc7a1ec3976", size = 615407268 }, - { url = "https://files.pythonhosted.org/packages/cf/24/271e77c22724f370c24c705f394b8035b4d27e4c2c6339f3f45ab9b8258e/tensorflow-2.18.0-cp311-cp311-win_amd64.whl", hash = "sha256:6e8b0f499ef0b7652480a58e358a73844932047f21c42c56f7f3bdcaf0803edc", size = 7516 }, - { url = "https://files.pythonhosted.org/packages/dc/bf/4cc283db323fd723f630e2454b2857054d2c81ff5012c1857659e72470f1/tensorflow-2.18.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:ec4133a215c59314e929e7cbe914579d3afbc7874d9fa924873ee633fe4f71d0", size = 239565465 }, - { url = "https://files.pythonhosted.org/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4822904b3559d8a9c25f0fe5fef191cfc1352ceca42ca64f2a7bc7ae0ff4a1f5", size = 231898760 }, - { url = "https://files.pythonhosted.org/packages/50/29/61ce80da0bfea3948326697dd1d832d28c863c9dacf90a27ee80fd4c1d31/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bfdd65ea7e064064283dd78d529dd621257ee617218f63681935fd15817c6286", size = 615520727 }, - { url = "https://files.pythonhosted.org/packages/eb/f1/828bbccc84a72db960a7d116f55f3f6aec9f5658f5d32ce9db20142d5742/tensorflow-2.18.0-cp312-cp312-win_amd64.whl", hash = "sha256:a701c2d3dca5f2efcab315b2c217f140ebd3da80410744e87d77016b3aaf53cb", size = 7520 }, -] - -[[package]] -name = "tensorflow-io-gcs-filesystem" -version = "0.37.1" -source = { registry = "https://pypi.org/simple" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e9/a3/12d7e7326a707919b321e2d6e4c88eb61596457940fd2b8ff3e9b7fac8a7/tensorflow_io_gcs_filesystem-0.37.1-cp310-cp310-macosx_10_14_x86_64.whl", hash = "sha256:249c12b830165841411ba71e08215d0e94277a49c551e6dd5d72aab54fe5491b", size = 2470224 }, - { url = "https://files.pythonhosted.org/packages/1c/55/3849a188cc15e58fefde20e9524d124a629a67a06b4dc0f6c881cb3c6e39/tensorflow_io_gcs_filesystem-0.37.1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:257aab23470a0796978efc9c2bcf8b0bc80f22e6298612a4c0a50d3f4e88060c", size = 3479613 }, - { url = "https://files.pythonhosted.org/packages/e2/19/9095c69e22c879cb3896321e676c69273a549a3148c4f62aa4bc5ebdb20f/tensorflow_io_gcs_filesystem-0.37.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8febbfcc67c61e542a5ac1a98c7c20a91a5e1afc2e14b1ef0cb7c28bc3b6aa70", size = 4842078 }, - { url = "https://files.pythonhosted.org/packages/f3/48/47b7d25572961a48b1de3729b7a11e835b888e41e0203cca82df95d23b91/tensorflow_io_gcs_filesystem-0.37.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9679b36e3a80921876f31685ab6f7270f3411a4cc51bc2847e80d0e4b5291e27", size = 5085736 }, - { url = "https://files.pythonhosted.org/packages/40/9b/b2fb82d0da673b17a334f785fc19c23483165019ddc33b275ef25ca31173/tensorflow_io_gcs_filesystem-0.37.1-cp311-cp311-macosx_10_14_x86_64.whl", hash = "sha256:32c50ab4e29a23c1f91cd0f9ab8c381a0ab10f45ef5c5252e94965916041737c", size = 2470224 }, - { url = "https://files.pythonhosted.org/packages/5b/cc/16634e76f3647fbec18187258da3ba11184a6232dcf9073dc44579076d36/tensorflow_io_gcs_filesystem-0.37.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:b02f9c5f94fd62773954a04f69b68c4d576d076fd0db4ca25d5479f0fbfcdbad", size = 3479613 }, - { url = "https://files.pythonhosted.org/packages/de/bf/ba597d3884c77d05a78050f3c178933d69e3f80200a261df6eaa920656cd/tensorflow_io_gcs_filesystem-0.37.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e1f2796b57e799a8ca1b75bf47c2aaa437c968408cc1a402a9862929e104cda", size = 4842079 }, - { url = "https://files.pythonhosted.org/packages/66/7f/e36ae148c2f03d61ca1bff24bc13a0fef6d6825c966abef73fc6f880a23b/tensorflow_io_gcs_filesystem-0.37.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ee7c8ee5fe2fd8cb6392669ef16e71841133041fee8a330eff519ad9b36e4556", size = 5085736 }, - { url = "https://files.pythonhosted.org/packages/70/83/4422804257fe2942ae0af4ea5bcc9df59cb6cb1bd092202ef240751d16aa/tensorflow_io_gcs_filesystem-0.37.1-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:ffebb6666a7bfc28005f4fbbb111a455b5e7d6cd3b12752b7050863ecb27d5cc", size = 2470224 }, - { url = "https://files.pythonhosted.org/packages/43/9b/be27588352d7bd971696874db92d370f578715c17c0ccb27e4b13e16751e/tensorflow_io_gcs_filesystem-0.37.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:fe8dcc6d222258a080ac3dfcaaaa347325ce36a7a046277f6b3e19abc1efb3c5", size = 3479614 }, - { url = "https://files.pythonhosted.org/packages/d3/46/962f47af08bd39fc9feb280d3192825431a91a078c856d17a78ae4884eb1/tensorflow_io_gcs_filesystem-0.37.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fbb33f1745f218464a59cecd9a18e32ca927b0f4d77abd8f8671b645cc1a182f", size = 4842077 }, - { url = "https://files.pythonhosted.org/packages/f0/9b/790d290c232bce9b691391cf16e95a96e469669c56abfb1d9d0f35fa437c/tensorflow_io_gcs_filesystem-0.37.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:286389a203a5aee1a4fa2e53718c661091aa5fea797ff4fa6715ab8436b02e6c", size = 5085733 }, -] - -[[package]] -name = "termcolor" -version = "2.5.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/37/72/88311445fd44c455c7d553e61f95412cf89054308a1aa2434ab835075fc5/termcolor-2.5.0.tar.gz", hash = "sha256:998d8d27da6d48442e8e1f016119076b690d962507531df4890fcd2db2ef8a6f", size = 13057 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7f/be/df630c387a0a054815d60be6a97eb4e8f17385d5d6fe660e1c02750062b4/termcolor-2.5.0-py3-none-any.whl", hash = "sha256:37b17b5fc1e604945c2642c872a3764b5d547a48009871aea3edd3afa180afb8", size = 7755 }, + { url = "https://files.pythonhosted.org/packages/ea/c4/53efc88d890d7dd38337424a83bbff32007d9d3390a79a4b53bfddaa64e8/testcontainers-4.14.0-py3-none-any.whl", hash = "sha256:64e79b6b1e6d2b9b9e125539d35056caab4be739f7b7158c816d717f3596fa59", size = 125385, upload-time = "2026-01-07T23:35:21.343Z" }, ] [[package]] name = "tomli" version = "2.2.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077 }, - { url = "https://files.pythonhosted.org/packages/c7/16/51ae563a8615d472fdbffc43a3f3d46588c264ac4f024f63f01283becfbb/tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6", size = 123429 }, - { url = "https://files.pythonhosted.org/packages/f1/dd/4f6cd1e7b160041db83c694abc78e100473c15d54620083dbd5aae7b990e/tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a", size = 226067 }, - { url = "https://files.pythonhosted.org/packages/a9/6b/c54ede5dc70d648cc6361eaf429304b02f2871a345bbdd51e993d6cdf550/tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee", size = 236030 }, - { url = "https://files.pythonhosted.org/packages/1f/47/999514fa49cfaf7a92c805a86c3c43f4215621855d151b61c602abb38091/tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e", size = 240898 }, - { url = "https://files.pythonhosted.org/packages/73/41/0a01279a7ae09ee1573b423318e7934674ce06eb33f50936655071d81a24/tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4", size = 229894 }, - { url = "https://files.pythonhosted.org/packages/55/18/5d8bc5b0a0362311ce4d18830a5d28943667599a60d20118074ea1b01bb7/tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106", size = 245319 }, - { url = "https://files.pythonhosted.org/packages/92/a3/7ade0576d17f3cdf5ff44d61390d4b3febb8a9fc2b480c75c47ea048c646/tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8", size = 238273 }, - { url = "https://files.pythonhosted.org/packages/72/6f/fa64ef058ac1446a1e51110c375339b3ec6be245af9d14c87c4a6412dd32/tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff", size = 98310 }, - { url = "https://files.pythonhosted.org/packages/6a/1c/4a2dcde4a51b81be3530565e92eda625d94dafb46dbeb15069df4caffc34/tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b", size = 108309 }, - { url = "https://files.pythonhosted.org/packages/52/e1/f8af4c2fcde17500422858155aeb0d7e93477a0d59a98e56cbfe75070fd0/tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea", size = 132762 }, - { url = "https://files.pythonhosted.org/packages/03/b8/152c68bb84fc00396b83e7bbddd5ec0bd3dd409db4195e2a9b3e398ad2e3/tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8", size = 123453 }, - { url = "https://files.pythonhosted.org/packages/c8/d6/fc9267af9166f79ac528ff7e8c55c8181ded34eb4b0e93daa767b8841573/tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192", size = 233486 }, - { url = "https://files.pythonhosted.org/packages/5c/51/51c3f2884d7bab89af25f678447ea7d297b53b5a3b5730a7cb2ef6069f07/tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222", size = 242349 }, - { url = "https://files.pythonhosted.org/packages/ab/df/bfa89627d13a5cc22402e441e8a931ef2108403db390ff3345c05253935e/tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77", size = 252159 }, - { url = "https://files.pythonhosted.org/packages/9e/6e/fa2b916dced65763a5168c6ccb91066f7639bdc88b48adda990db10c8c0b/tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6", size = 237243 }, - { url = "https://files.pythonhosted.org/packages/b4/04/885d3b1f650e1153cbb93a6a9782c58a972b94ea4483ae4ac5cedd5e4a09/tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd", size = 259645 }, - { url = "https://files.pythonhosted.org/packages/9c/de/6b432d66e986e501586da298e28ebeefd3edc2c780f3ad73d22566034239/tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e", size = 244584 }, - { url = "https://files.pythonhosted.org/packages/1c/9a/47c0449b98e6e7d1be6cbac02f93dd79003234ddc4aaab6ba07a9a7482e2/tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98", size = 98875 }, - { url = "https://files.pythonhosted.org/packages/ef/60/9b9638f081c6f1261e2688bd487625cd1e660d0a85bd469e91d8db969734/tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4", size = 109418 }, - { url = "https://files.pythonhosted.org/packages/6e/c2/61d3e0f47e2b74ef40a68b9e6ad5984f6241a942f7cd3bbfbdbd03861ea9/tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc", size = 14257 }, +sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175, upload-time = "2024-11-27T22:38:36.873Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077, upload-time = "2024-11-27T22:37:54.956Z" }, + { url = "https://files.pythonhosted.org/packages/c7/16/51ae563a8615d472fdbffc43a3f3d46588c264ac4f024f63f01283becfbb/tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6", size = 123429, upload-time = "2024-11-27T22:37:56.698Z" }, + { url = "https://files.pythonhosted.org/packages/f1/dd/4f6cd1e7b160041db83c694abc78e100473c15d54620083dbd5aae7b990e/tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a", size = 226067, upload-time = "2024-11-27T22:37:57.63Z" }, + { url = "https://files.pythonhosted.org/packages/a9/6b/c54ede5dc70d648cc6361eaf429304b02f2871a345bbdd51e993d6cdf550/tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee", size = 236030, upload-time = "2024-11-27T22:37:59.344Z" }, + { url = "https://files.pythonhosted.org/packages/1f/47/999514fa49cfaf7a92c805a86c3c43f4215621855d151b61c602abb38091/tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e", size = 240898, upload-time = "2024-11-27T22:38:00.429Z" }, + { url = "https://files.pythonhosted.org/packages/73/41/0a01279a7ae09ee1573b423318e7934674ce06eb33f50936655071d81a24/tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4", size = 229894, upload-time = "2024-11-27T22:38:02.094Z" }, + { url = "https://files.pythonhosted.org/packages/55/18/5d8bc5b0a0362311ce4d18830a5d28943667599a60d20118074ea1b01bb7/tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106", size = 245319, upload-time = "2024-11-27T22:38:03.206Z" }, + { url = "https://files.pythonhosted.org/packages/92/a3/7ade0576d17f3cdf5ff44d61390d4b3febb8a9fc2b480c75c47ea048c646/tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8", size = 238273, upload-time = "2024-11-27T22:38:04.217Z" }, + { url = "https://files.pythonhosted.org/packages/72/6f/fa64ef058ac1446a1e51110c375339b3ec6be245af9d14c87c4a6412dd32/tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff", size = 98310, upload-time = "2024-11-27T22:38:05.908Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1c/4a2dcde4a51b81be3530565e92eda625d94dafb46dbeb15069df4caffc34/tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b", size = 108309, upload-time = "2024-11-27T22:38:06.812Z" }, + { url = "https://files.pythonhosted.org/packages/52/e1/f8af4c2fcde17500422858155aeb0d7e93477a0d59a98e56cbfe75070fd0/tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea", size = 132762, upload-time = "2024-11-27T22:38:07.731Z" }, + { url = "https://files.pythonhosted.org/packages/03/b8/152c68bb84fc00396b83e7bbddd5ec0bd3dd409db4195e2a9b3e398ad2e3/tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8", size = 123453, upload-time = "2024-11-27T22:38:09.384Z" }, + { url = "https://files.pythonhosted.org/packages/c8/d6/fc9267af9166f79ac528ff7e8c55c8181ded34eb4b0e93daa767b8841573/tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192", size = 233486, upload-time = "2024-11-27T22:38:10.329Z" }, + { url = "https://files.pythonhosted.org/packages/5c/51/51c3f2884d7bab89af25f678447ea7d297b53b5a3b5730a7cb2ef6069f07/tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222", size = 242349, upload-time = "2024-11-27T22:38:11.443Z" }, + { url = "https://files.pythonhosted.org/packages/ab/df/bfa89627d13a5cc22402e441e8a931ef2108403db390ff3345c05253935e/tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77", size = 252159, upload-time = "2024-11-27T22:38:13.099Z" }, + { url = "https://files.pythonhosted.org/packages/9e/6e/fa2b916dced65763a5168c6ccb91066f7639bdc88b48adda990db10c8c0b/tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6", size = 237243, upload-time = "2024-11-27T22:38:14.766Z" }, + { url = "https://files.pythonhosted.org/packages/b4/04/885d3b1f650e1153cbb93a6a9782c58a972b94ea4483ae4ac5cedd5e4a09/tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd", size = 259645, upload-time = "2024-11-27T22:38:15.843Z" }, + { url = "https://files.pythonhosted.org/packages/9c/de/6b432d66e986e501586da298e28ebeefd3edc2c780f3ad73d22566034239/tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e", size = 244584, upload-time = "2024-11-27T22:38:17.645Z" }, + { url = "https://files.pythonhosted.org/packages/1c/9a/47c0449b98e6e7d1be6cbac02f93dd79003234ddc4aaab6ba07a9a7482e2/tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98", size = 98875, upload-time = "2024-11-27T22:38:19.159Z" }, + { url = "https://files.pythonhosted.org/packages/ef/60/9b9638f081c6f1261e2688bd487625cd1e660d0a85bd469e91d8db969734/tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4", size = 109418, upload-time = "2024-11-27T22:38:20.064Z" }, + { url = "https://files.pythonhosted.org/packages/04/90/2ee5f2e0362cb8a0b6499dc44f4d7d48f8fff06d28ba46e6f1eaa61a1388/tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7", size = 132708, upload-time = "2024-11-27T22:38:21.659Z" }, + { url = "https://files.pythonhosted.org/packages/c0/ec/46b4108816de6b385141f082ba99e315501ccd0a2ea23db4a100dd3990ea/tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c", size = 123582, upload-time = "2024-11-27T22:38:22.693Z" }, + { url = "https://files.pythonhosted.org/packages/a0/bd/b470466d0137b37b68d24556c38a0cc819e8febe392d5b199dcd7f578365/tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13", size = 232543, upload-time = "2024-11-27T22:38:24.367Z" }, + { url = "https://files.pythonhosted.org/packages/d9/e5/82e80ff3b751373f7cead2815bcbe2d51c895b3c990686741a8e56ec42ab/tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281", size = 241691, upload-time = "2024-11-27T22:38:26.081Z" }, + { url = "https://files.pythonhosted.org/packages/05/7e/2a110bc2713557d6a1bfb06af23dd01e7dde52b6ee7dadc589868f9abfac/tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272", size = 251170, upload-time = "2024-11-27T22:38:27.921Z" }, + { url = "https://files.pythonhosted.org/packages/64/7b/22d713946efe00e0adbcdfd6d1aa119ae03fd0b60ebed51ebb3fa9f5a2e5/tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140", size = 236530, upload-time = "2024-11-27T22:38:29.591Z" }, + { url = "https://files.pythonhosted.org/packages/38/31/3a76f67da4b0cf37b742ca76beaf819dca0ebef26d78fc794a576e08accf/tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2", size = 258666, upload-time = "2024-11-27T22:38:30.639Z" }, + { url = "https://files.pythonhosted.org/packages/07/10/5af1293da642aded87e8a988753945d0cf7e00a9452d3911dd3bb354c9e2/tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744", size = 243954, upload-time = "2024-11-27T22:38:31.702Z" }, + { url = "https://files.pythonhosted.org/packages/5b/b9/1ed31d167be802da0fc95020d04cd27b7d7065cc6fbefdd2f9186f60d7bd/tomli-2.2.1-cp313-cp313-win32.whl", hash = "sha256:d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec", size = 98724, upload-time = "2024-11-27T22:38:32.837Z" }, + { url = "https://files.pythonhosted.org/packages/c7/32/b0963458706accd9afcfeb867c0f9175a741bf7b19cd424230714d722198/tomli-2.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69", size = 109383, upload-time = "2024-11-27T22:38:34.455Z" }, + { url = "https://files.pythonhosted.org/packages/6e/c2/61d3e0f47e2b74ef40a68b9e6ad5984f6241a942f7cd3bbfbdbd03861ea9/tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc", size = 14257, upload-time = "2024-11-27T22:38:35.385Z" }, +] + +[[package]] +name = "ty" +version = "0.0.14" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/af/57/22c3d6bf95c2229120c49ffc2f0da8d9e8823755a1c3194da56e51f1cc31/ty-0.0.14.tar.gz", hash = "sha256:a691010565f59dd7f15cf324cdcd1d9065e010c77a04f887e1ea070ba34a7de2", size = 5036573, upload-time = "2026-01-27T00:57:31.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/cb/cc6d1d8de59beb17a41f9a614585f884ec2d95450306c173b3b7cc090d2e/ty-0.0.14-py3-none-linux_armv6l.whl", hash = "sha256:32cf2a7596e693094621d3ae568d7ee16707dce28c34d1762947874060fdddaa", size = 10034228, upload-time = "2026-01-27T00:57:53.133Z" }, + { url = "https://files.pythonhosted.org/packages/f3/96/dd42816a2075a8f31542296ae687483a8d047f86a6538dfba573223eaf9a/ty-0.0.14-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:f971bf9805f49ce8c0968ad53e29624d80b970b9eb597b7cbaba25d8a18ce9a2", size = 9939162, upload-time = "2026-01-27T00:57:43.857Z" }, + { url = "https://files.pythonhosted.org/packages/ff/b4/73c4859004e0f0a9eead9ecb67021438b2e8e5fdd8d03e7f5aca77623992/ty-0.0.14-py3-none-macosx_11_0_arm64.whl", hash = "sha256:45448b9e4806423523268bc15e9208c4f3f2ead7c344f615549d2e2354d6e924", size = 9418661, upload-time = "2026-01-27T00:58:03.411Z" }, + { url = "https://files.pythonhosted.org/packages/58/35/839c4551b94613db4afa20ee555dd4f33bfa7352d5da74c5fa416ffa0fd2/ty-0.0.14-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee94a9b747ff40114085206bdb3205a631ef19a4d3fb89e302a88754cbbae54c", size = 9837872, upload-time = "2026-01-27T00:57:23.718Z" }, + { url = "https://files.pythonhosted.org/packages/41/2b/bbecf7e2faa20c04bebd35fc478668953ca50ee5847ce23e08acf20ea119/ty-0.0.14-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6756715a3c33182e9ab8ffca2bb314d3c99b9c410b171736e145773ee0ae41c3", size = 9848819, upload-time = "2026-01-27T00:57:58.501Z" }, + { url = "https://files.pythonhosted.org/packages/be/60/3c0ba0f19c0f647ad9d2b5b5ac68c0f0b4dc899001bd53b3a7537fb247a2/ty-0.0.14-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:89d0038a2f698ba8b6fec5cf216a4e44e2f95e4a5095a8c0f57fe549f87087c2", size = 10324371, upload-time = "2026-01-27T00:57:29.291Z" }, + { url = "https://files.pythonhosted.org/packages/24/32/99d0a0b37d0397b0a989ffc2682493286aa3bc252b24004a6714368c2c3d/ty-0.0.14-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2c64a83a2d669b77f50a4957039ca1450626fb474619f18f6f8a3eb885bf7544", size = 10865898, upload-time = "2026-01-27T00:57:33.542Z" }, + { url = "https://files.pythonhosted.org/packages/1a/88/30b583a9e0311bb474269cfa91db53350557ebec09002bfc3fb3fc364e8c/ty-0.0.14-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:242488bfb547ef080199f6fd81369ab9cb638a778bb161511d091ffd49c12129", size = 10555777, upload-time = "2026-01-27T00:58:05.853Z" }, + { url = "https://files.pythonhosted.org/packages/cd/a2/cb53fb6325dcf3d40f2b1d0457a25d55bfbae633c8e337bde8ec01a190eb/ty-0.0.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4790c3866f6c83a4f424fc7d09ebdb225c1f1131647ba8bdc6fcdc28f09ed0ff", size = 10412913, upload-time = "2026-01-27T00:57:38.834Z" }, + { url = "https://files.pythonhosted.org/packages/42/8f/f2f5202d725ed1e6a4e5ffaa32b190a1fe70c0b1a2503d38515da4130b4c/ty-0.0.14-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:950f320437f96d4ea9a2332bbfb5b68f1c1acd269ebfa4c09b6970cc1565bd9d", size = 9837608, upload-time = "2026-01-27T00:57:55.898Z" }, + { url = "https://files.pythonhosted.org/packages/f7/ba/59a2a0521640c489dafa2c546ae1f8465f92956fede18660653cce73b4c5/ty-0.0.14-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:4a0ec3ee70d83887f86925bbc1c56f4628bd58a0f47f6f32ddfe04e1f05466df", size = 9884324, upload-time = "2026-01-27T00:57:46.786Z" }, + { url = "https://files.pythonhosted.org/packages/03/95/8d2a49880f47b638743212f011088552ecc454dd7a665ddcbdabea25772a/ty-0.0.14-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a1a4e6b6da0c58b34415955279eff754d6206b35af56a18bb70eb519d8d139ef", size = 10033537, upload-time = "2026-01-27T00:58:01.149Z" }, + { url = "https://files.pythonhosted.org/packages/e9/40/4523b36f2ce69f92ccf783855a9e0ebbbd0f0bb5cdce6211ee1737159ed3/ty-0.0.14-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:dc04384e874c5de4c5d743369c277c8aa73d1edea3c7fc646b2064b637db4db3", size = 10495910, upload-time = "2026-01-27T00:57:26.691Z" }, + { url = "https://files.pythonhosted.org/packages/08/d5/655beb51224d1bfd4f9ddc0bb209659bfe71ff141bcf05c418ab670698f0/ty-0.0.14-py3-none-win32.whl", hash = "sha256:b20e22cf54c66b3e37e87377635da412d9a552c9bf4ad9fc449fed8b2e19dad2", size = 9507626, upload-time = "2026-01-27T00:57:41.43Z" }, + { url = "https://files.pythonhosted.org/packages/b6/d9/c569c9961760e20e0a4bc008eeb1415754564304fd53997a371b7cf3f864/ty-0.0.14-py3-none-win_amd64.whl", hash = "sha256:e312ff9475522d1a33186657fe74d1ec98e4a13e016d66f5758a452c90ff6409", size = 10437980, upload-time = "2026-01-27T00:57:36.422Z" }, + { url = "https://files.pythonhosted.org/packages/ad/0c/186829654f5bfd9a028f6648e9caeb11271960a61de97484627d24443f91/ty-0.0.14-py3-none-win_arm64.whl", hash = "sha256:b6facdbe9b740cb2c15293a1d178e22ffc600653646452632541d01c36d5e378", size = 9885831, upload-time = "2026-01-27T00:57:49.747Z" }, ] [[package]] name = "typing-extensions" version = "4.12.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8", size = 85321 } +sdist = { url = "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8", size = 85321, upload-time = "2024-06-07T18:52:15.995Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", size = 37438 }, + { url = "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", size = 37438, upload-time = "2024-06-07T18:52:13.582Z" }, ] +[[package]] +name = "untokenize" +version = "0.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f7/46/e7cea8159199096e1df52da20a57a6665da80c37fb8aeb848a3e47442c32/untokenize-0.1.1.tar.gz", hash = "sha256:3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2", size = 3099, upload-time = "2014-02-08T16:30:40.631Z" } + [[package]] name = "urllib3" version = "2.3.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/aa/63/e53da845320b757bf29ef6a9062f5c669fe997973f966045cb019c3f4b66/urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d", size = 307268 } +sdist = { url = "https://files.pythonhosted.org/packages/aa/63/e53da845320b757bf29ef6a9062f5c669fe997973f966045cb019c3f4b66/urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d", size = 307268, upload-time = "2024-12-22T07:47:30.032Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c8/19/4ec628951a74043532ca2cf5d97b7b14863931476d117c471e8e2b1eb39f/urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df", size = 128369 }, + { url = "https://files.pythonhosted.org/packages/c8/19/4ec628951a74043532ca2cf5d97b7b14863931476d117c471e8e2b1eb39f/urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df", size = 128369, upload-time = "2024-12-22T07:47:28.074Z" }, ] [[package]] name = "uvicorn" -version = "0.34.0" +version = "0.40.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "click" }, { name = "h11" }, - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/4b/4d/938bd85e5bf2edeec766267a5015ad969730bb91e31b44021dfe8b22df6c/uvicorn-0.34.0.tar.gz", hash = "sha256:404051050cd7e905de2c9a7e61790943440b3416f49cb409f965d9dcd0fa73e9", size = 76568 } +sdist = { url = "https://files.pythonhosted.org/packages/c3/d1/8f3c683c9561a4e6689dd3b1d345c815f10f86acd044ee1fb9a4dcd0b8c5/uvicorn-0.40.0.tar.gz", hash = "sha256:839676675e87e73694518b5574fd0f24c9d97b46bea16df7b8c05ea1a51071ea", size = 81761, upload-time = "2025-12-21T14:16:22.45Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/61/14/33a3a1352cfa71812a3a21e8c9bfb83f60b0011f5e36f2b1399d51928209/uvicorn-0.34.0-py3-none-any.whl", hash = "sha256:023dc038422502fa28a09c7a30bf2b6991512da7dcdb8fd35fe57cfc154126f4", size = 62315 }, + { url = "https://files.pythonhosted.org/packages/3d/d8/2083a1daa7439a66f3a48589a57d576aa117726762618f6bb09fe3798796/uvicorn-0.40.0-py3-none-any.whl", hash = "sha256:c6c8f55bc8bf13eb6fa9ff87ad62308bbbc33d0b67f84293151efe87e0d5f2ee", size = 68502, upload-time = "2025-12-21T14:16:21.041Z" }, ] [[package]] @@ -1193,70 +1028,60 @@ dependencies = [ { name = "filelock" }, { name = "platformdirs" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/a7/ca/f23dcb02e161a9bba141b1c08aa50e8da6ea25e6d780528f1d385a3efe25/virtualenv-20.29.1.tar.gz", hash = "sha256:b8b8970138d32fb606192cb97f6cd4bb644fa486be9308fb9b63f81091b5dc35", size = 7658028 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/89/9b/599bcfc7064fbe5740919e78c5df18e5dceb0887e676256a1061bb5ae232/virtualenv-20.29.1-py3-none-any.whl", hash = "sha256:4e4cb403c0b0da39e13b46b1b2476e505cb0046b25f242bee80f62bf990b2779", size = 4282379 }, -] - -[[package]] -name = "werkzeug" -version = "3.1.3" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "markupsafe" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/9f/69/83029f1f6300c5fb2471d621ab06f6ec6b3324685a2ce0f9777fd4a8b71e/werkzeug-3.1.3.tar.gz", hash = "sha256:60723ce945c19328679790e3282cc758aa4a6040e4bb330f53d30fa546d44746", size = 806925 } +sdist = { url = "https://files.pythonhosted.org/packages/a7/ca/f23dcb02e161a9bba141b1c08aa50e8da6ea25e6d780528f1d385a3efe25/virtualenv-20.29.1.tar.gz", hash = "sha256:b8b8970138d32fb606192cb97f6cd4bb644fa486be9308fb9b63f81091b5dc35", size = 7658028, upload-time = "2025-01-17T17:32:23.085Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/52/24/ab44c871b0f07f491e5d2ad12c9bd7358e527510618cb1b803a88e986db1/werkzeug-3.1.3-py3-none-any.whl", hash = "sha256:54b78bf3716d19a65be4fceccc0d1d7b89e608834989dfae50ea87564639213e", size = 224498 }, -] - -[[package]] -name = "wheel" -version = "0.45.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/8a/98/2d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c/wheel-0.45.1.tar.gz", hash = "sha256:661e1abd9198507b1409a20c02106d9670b2576e916d58f520316666abca6729", size = 107545 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl", hash = "sha256:708e7481cc80179af0e556bbf0cc00b8444c7321e2700b8d8580231d13017248", size = 72494 }, + { url = "https://files.pythonhosted.org/packages/89/9b/599bcfc7064fbe5740919e78c5df18e5dceb0887e676256a1061bb5ae232/virtualenv-20.29.1-py3-none-any.whl", hash = "sha256:4e4cb403c0b0da39e13b46b1b2476e505cb0046b25f242bee80f62bf990b2779", size = 4282379, upload-time = "2025-01-17T17:32:19.864Z" }, ] [[package]] name = "wrapt" version = "1.17.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c3/fc/e91cc220803d7bc4db93fb02facd8461c37364151b8494762cc88b0fbcef/wrapt-1.17.2.tar.gz", hash = "sha256:41388e9d4d1522446fe79d3213196bd9e3b301a336965b9e27ca2788ebd122f3", size = 55531 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/5a/d1/1daec934997e8b160040c78d7b31789f19b122110a75eca3d4e8da0049e1/wrapt-1.17.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3d57c572081fed831ad2d26fd430d565b76aa277ed1d30ff4d40670b1c0dd984", size = 53307 }, - { url = "https://files.pythonhosted.org/packages/1b/7b/13369d42651b809389c1a7153baa01d9700430576c81a2f5c5e460df0ed9/wrapt-1.17.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b5e251054542ae57ac7f3fba5d10bfff615b6c2fb09abeb37d2f1463f841ae22", size = 38486 }, - { url = "https://files.pythonhosted.org/packages/62/bf/e0105016f907c30b4bd9e377867c48c34dc9c6c0c104556c9c9126bd89ed/wrapt-1.17.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:80dd7db6a7cb57ffbc279c4394246414ec99537ae81ffd702443335a61dbf3a7", size = 38777 }, - { url = "https://files.pythonhosted.org/packages/27/70/0f6e0679845cbf8b165e027d43402a55494779295c4b08414097b258ac87/wrapt-1.17.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a6e821770cf99cc586d33833b2ff32faebdbe886bd6322395606cf55153246c", size = 83314 }, - { url = "https://files.pythonhosted.org/packages/0f/77/0576d841bf84af8579124a93d216f55d6f74374e4445264cb378a6ed33eb/wrapt-1.17.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b60fb58b90c6d63779cb0c0c54eeb38941bae3ecf7a73c764c52c88c2dcb9d72", size = 74947 }, - { url = "https://files.pythonhosted.org/packages/90/ec/00759565518f268ed707dcc40f7eeec38637d46b098a1f5143bff488fe97/wrapt-1.17.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b870b5df5b71d8c3359d21be8f0d6c485fa0ebdb6477dda51a1ea54a9b558061", size = 82778 }, - { url = "https://files.pythonhosted.org/packages/f8/5a/7cffd26b1c607b0b0c8a9ca9d75757ad7620c9c0a9b4a25d3f8a1480fafc/wrapt-1.17.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4011d137b9955791f9084749cba9a367c68d50ab8d11d64c50ba1688c9b457f2", size = 81716 }, - { url = "https://files.pythonhosted.org/packages/7e/09/dccf68fa98e862df7e6a60a61d43d644b7d095a5fc36dbb591bbd4a1c7b2/wrapt-1.17.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:1473400e5b2733e58b396a04eb7f35f541e1fb976d0c0724d0223dd607e0f74c", size = 74548 }, - { url = "https://files.pythonhosted.org/packages/b7/8e/067021fa3c8814952c5e228d916963c1115b983e21393289de15128e867e/wrapt-1.17.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3cedbfa9c940fdad3e6e941db7138e26ce8aad38ab5fe9dcfadfed9db7a54e62", size = 81334 }, - { url = "https://files.pythonhosted.org/packages/4b/0d/9d4b5219ae4393f718699ca1c05f5ebc0c40d076f7e65fd48f5f693294fb/wrapt-1.17.2-cp310-cp310-win32.whl", hash = "sha256:582530701bff1dec6779efa00c516496968edd851fba224fbd86e46cc6b73563", size = 36427 }, - { url = "https://files.pythonhosted.org/packages/72/6a/c5a83e8f61aec1e1aeef939807602fb880e5872371e95df2137142f5c58e/wrapt-1.17.2-cp310-cp310-win_amd64.whl", hash = "sha256:58705da316756681ad3c9c73fd15499aa4d8c69f9fd38dc8a35e06c12468582f", size = 38774 }, - { url = "https://files.pythonhosted.org/packages/cd/f7/a2aab2cbc7a665efab072344a8949a71081eed1d2f451f7f7d2b966594a2/wrapt-1.17.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ff04ef6eec3eee8a5efef2401495967a916feaa353643defcc03fc74fe213b58", size = 53308 }, - { url = "https://files.pythonhosted.org/packages/50/ff/149aba8365fdacef52b31a258c4dc1c57c79759c335eff0b3316a2664a64/wrapt-1.17.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4db983e7bca53819efdbd64590ee96c9213894272c776966ca6306b73e4affda", size = 38488 }, - { url = "https://files.pythonhosted.org/packages/65/46/5a917ce85b5c3b490d35c02bf71aedaa9f2f63f2d15d9949cc4ba56e8ba9/wrapt-1.17.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9abc77a4ce4c6f2a3168ff34b1da9b0f311a8f1cfd694ec96b0603dff1c79438", size = 38776 }, - { url = "https://files.pythonhosted.org/packages/ca/74/336c918d2915a4943501c77566db41d1bd6e9f4dbc317f356b9a244dfe83/wrapt-1.17.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b929ac182f5ace000d459c59c2c9c33047e20e935f8e39371fa6e3b85d56f4a", size = 83776 }, - { url = "https://files.pythonhosted.org/packages/09/99/c0c844a5ccde0fe5761d4305485297f91d67cf2a1a824c5f282e661ec7ff/wrapt-1.17.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f09b286faeff3c750a879d336fb6d8713206fc97af3adc14def0cdd349df6000", size = 75420 }, - { url = "https://files.pythonhosted.org/packages/b4/b0/9fc566b0fe08b282c850063591a756057c3247b2362b9286429ec5bf1721/wrapt-1.17.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a7ed2d9d039bd41e889f6fb9364554052ca21ce823580f6a07c4ec245c1f5d6", size = 83199 }, - { url = "https://files.pythonhosted.org/packages/9d/4b/71996e62d543b0a0bd95dda485219856def3347e3e9380cc0d6cf10cfb2f/wrapt-1.17.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:129a150f5c445165ff941fc02ee27df65940fcb8a22a61828b1853c98763a64b", size = 82307 }, - { url = "https://files.pythonhosted.org/packages/39/35/0282c0d8789c0dc9bcc738911776c762a701f95cfe113fb8f0b40e45c2b9/wrapt-1.17.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1fb5699e4464afe5c7e65fa51d4f99e0b2eadcc176e4aa33600a3df7801d6662", size = 75025 }, - { url = "https://files.pythonhosted.org/packages/4f/6d/90c9fd2c3c6fee181feecb620d95105370198b6b98a0770cba090441a828/wrapt-1.17.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9a2bce789a5ea90e51a02dfcc39e31b7f1e662bc3317979aa7e5538e3a034f72", size = 81879 }, - { url = "https://files.pythonhosted.org/packages/8f/fa/9fb6e594f2ce03ef03eddbdb5f4f90acb1452221a5351116c7c4708ac865/wrapt-1.17.2-cp311-cp311-win32.whl", hash = "sha256:4afd5814270fdf6380616b321fd31435a462019d834f83c8611a0ce7484c7317", size = 36419 }, - { url = "https://files.pythonhosted.org/packages/47/f8/fb1773491a253cbc123c5d5dc15c86041f746ed30416535f2a8df1f4a392/wrapt-1.17.2-cp311-cp311-win_amd64.whl", hash = "sha256:acc130bc0375999da18e3d19e5a86403667ac0c4042a094fefb7eec8ebac7cf3", size = 38773 }, - { url = "https://files.pythonhosted.org/packages/a1/bd/ab55f849fd1f9a58ed7ea47f5559ff09741b25f00c191231f9f059c83949/wrapt-1.17.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d5e2439eecc762cd85e7bd37161d4714aa03a33c5ba884e26c81559817ca0925", size = 53799 }, - { url = "https://files.pythonhosted.org/packages/53/18/75ddc64c3f63988f5a1d7e10fb204ffe5762bc663f8023f18ecaf31a332e/wrapt-1.17.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fc7cb4c1c744f8c05cd5f9438a3caa6ab94ce8344e952d7c45a8ed59dd88392", size = 38821 }, - { url = "https://files.pythonhosted.org/packages/48/2a/97928387d6ed1c1ebbfd4efc4133a0633546bec8481a2dd5ec961313a1c7/wrapt-1.17.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8fdbdb757d5390f7c675e558fd3186d590973244fab0c5fe63d373ade3e99d40", size = 38919 }, - { url = "https://files.pythonhosted.org/packages/73/54/3bfe5a1febbbccb7a2f77de47b989c0b85ed3a6a41614b104204a788c20e/wrapt-1.17.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5bb1d0dbf99411f3d871deb6faa9aabb9d4e744d67dcaaa05399af89d847a91d", size = 88721 }, - { url = "https://files.pythonhosted.org/packages/25/cb/7262bc1b0300b4b64af50c2720ef958c2c1917525238d661c3e9a2b71b7b/wrapt-1.17.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d18a4865f46b8579d44e4fe1e2bcbc6472ad83d98e22a26c963d46e4c125ef0b", size = 80899 }, - { url = "https://files.pythonhosted.org/packages/2a/5a/04cde32b07a7431d4ed0553a76fdb7a61270e78c5fd5a603e190ac389f14/wrapt-1.17.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc570b5f14a79734437cb7b0500376b6b791153314986074486e0b0fa8d71d98", size = 89222 }, - { url = "https://files.pythonhosted.org/packages/09/28/2e45a4f4771fcfb109e244d5dbe54259e970362a311b67a965555ba65026/wrapt-1.17.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6d9187b01bebc3875bac9b087948a2bccefe464a7d8f627cf6e48b1bbae30f82", size = 86707 }, - { url = "https://files.pythonhosted.org/packages/c6/d2/dcb56bf5f32fcd4bd9aacc77b50a539abdd5b6536872413fd3f428b21bed/wrapt-1.17.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:9e8659775f1adf02eb1e6f109751268e493c73716ca5761f8acb695e52a756ae", size = 79685 }, - { url = "https://files.pythonhosted.org/packages/80/4e/eb8b353e36711347893f502ce91c770b0b0929f8f0bed2670a6856e667a9/wrapt-1.17.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e8b2816ebef96d83657b56306152a93909a83f23994f4b30ad4573b00bd11bb9", size = 87567 }, - { url = "https://files.pythonhosted.org/packages/17/27/4fe749a54e7fae6e7146f1c7d914d28ef599dacd4416566c055564080fe2/wrapt-1.17.2-cp312-cp312-win32.whl", hash = "sha256:468090021f391fe0056ad3e807e3d9034e0fd01adcd3bdfba977b6fdf4213ea9", size = 36672 }, - { url = "https://files.pythonhosted.org/packages/15/06/1dbf478ea45c03e78a6a8c4be4fdc3c3bddea5c8de8a93bc971415e47f0f/wrapt-1.17.2-cp312-cp312-win_amd64.whl", hash = "sha256:ec89ed91f2fa8e3f52ae53cd3cf640d6feff92ba90d62236a81e4e563ac0e991", size = 38865 }, - { url = "https://files.pythonhosted.org/packages/2d/82/f56956041adef78f849db6b289b282e72b55ab8045a75abad81898c28d19/wrapt-1.17.2-py3-none-any.whl", hash = "sha256:b18f2d1533a71f069c7f82d524a52599053d4c7166e9dd374ae2136b7f40f7c8", size = 23594 }, +sdist = { url = "https://files.pythonhosted.org/packages/c3/fc/e91cc220803d7bc4db93fb02facd8461c37364151b8494762cc88b0fbcef/wrapt-1.17.2.tar.gz", hash = "sha256:41388e9d4d1522446fe79d3213196bd9e3b301a336965b9e27ca2788ebd122f3", size = 55531, upload-time = "2025-01-14T10:35:45.465Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cd/f7/a2aab2cbc7a665efab072344a8949a71081eed1d2f451f7f7d2b966594a2/wrapt-1.17.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ff04ef6eec3eee8a5efef2401495967a916feaa353643defcc03fc74fe213b58", size = 53308, upload-time = "2025-01-14T10:33:33.992Z" }, + { url = "https://files.pythonhosted.org/packages/50/ff/149aba8365fdacef52b31a258c4dc1c57c79759c335eff0b3316a2664a64/wrapt-1.17.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4db983e7bca53819efdbd64590ee96c9213894272c776966ca6306b73e4affda", size = 38488, upload-time = "2025-01-14T10:33:35.264Z" }, + { url = "https://files.pythonhosted.org/packages/65/46/5a917ce85b5c3b490d35c02bf71aedaa9f2f63f2d15d9949cc4ba56e8ba9/wrapt-1.17.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9abc77a4ce4c6f2a3168ff34b1da9b0f311a8f1cfd694ec96b0603dff1c79438", size = 38776, upload-time = "2025-01-14T10:33:38.28Z" }, + { url = "https://files.pythonhosted.org/packages/ca/74/336c918d2915a4943501c77566db41d1bd6e9f4dbc317f356b9a244dfe83/wrapt-1.17.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b929ac182f5ace000d459c59c2c9c33047e20e935f8e39371fa6e3b85d56f4a", size = 83776, upload-time = "2025-01-14T10:33:40.678Z" }, + { url = "https://files.pythonhosted.org/packages/09/99/c0c844a5ccde0fe5761d4305485297f91d67cf2a1a824c5f282e661ec7ff/wrapt-1.17.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f09b286faeff3c750a879d336fb6d8713206fc97af3adc14def0cdd349df6000", size = 75420, upload-time = "2025-01-14T10:33:41.868Z" }, + { url = "https://files.pythonhosted.org/packages/b4/b0/9fc566b0fe08b282c850063591a756057c3247b2362b9286429ec5bf1721/wrapt-1.17.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a7ed2d9d039bd41e889f6fb9364554052ca21ce823580f6a07c4ec245c1f5d6", size = 83199, upload-time = "2025-01-14T10:33:43.598Z" }, + { url = "https://files.pythonhosted.org/packages/9d/4b/71996e62d543b0a0bd95dda485219856def3347e3e9380cc0d6cf10cfb2f/wrapt-1.17.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:129a150f5c445165ff941fc02ee27df65940fcb8a22a61828b1853c98763a64b", size = 82307, upload-time = "2025-01-14T10:33:48.499Z" }, + { url = "https://files.pythonhosted.org/packages/39/35/0282c0d8789c0dc9bcc738911776c762a701f95cfe113fb8f0b40e45c2b9/wrapt-1.17.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1fb5699e4464afe5c7e65fa51d4f99e0b2eadcc176e4aa33600a3df7801d6662", size = 75025, upload-time = "2025-01-14T10:33:51.191Z" }, + { url = "https://files.pythonhosted.org/packages/4f/6d/90c9fd2c3c6fee181feecb620d95105370198b6b98a0770cba090441a828/wrapt-1.17.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9a2bce789a5ea90e51a02dfcc39e31b7f1e662bc3317979aa7e5538e3a034f72", size = 81879, upload-time = "2025-01-14T10:33:52.328Z" }, + { url = "https://files.pythonhosted.org/packages/8f/fa/9fb6e594f2ce03ef03eddbdb5f4f90acb1452221a5351116c7c4708ac865/wrapt-1.17.2-cp311-cp311-win32.whl", hash = "sha256:4afd5814270fdf6380616b321fd31435a462019d834f83c8611a0ce7484c7317", size = 36419, upload-time = "2025-01-14T10:33:53.551Z" }, + { url = "https://files.pythonhosted.org/packages/47/f8/fb1773491a253cbc123c5d5dc15c86041f746ed30416535f2a8df1f4a392/wrapt-1.17.2-cp311-cp311-win_amd64.whl", hash = "sha256:acc130bc0375999da18e3d19e5a86403667ac0c4042a094fefb7eec8ebac7cf3", size = 38773, upload-time = "2025-01-14T10:33:56.323Z" }, + { url = "https://files.pythonhosted.org/packages/a1/bd/ab55f849fd1f9a58ed7ea47f5559ff09741b25f00c191231f9f059c83949/wrapt-1.17.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d5e2439eecc762cd85e7bd37161d4714aa03a33c5ba884e26c81559817ca0925", size = 53799, upload-time = "2025-01-14T10:33:57.4Z" }, + { url = "https://files.pythonhosted.org/packages/53/18/75ddc64c3f63988f5a1d7e10fb204ffe5762bc663f8023f18ecaf31a332e/wrapt-1.17.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fc7cb4c1c744f8c05cd5f9438a3caa6ab94ce8344e952d7c45a8ed59dd88392", size = 38821, upload-time = "2025-01-14T10:33:59.334Z" }, + { url = "https://files.pythonhosted.org/packages/48/2a/97928387d6ed1c1ebbfd4efc4133a0633546bec8481a2dd5ec961313a1c7/wrapt-1.17.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8fdbdb757d5390f7c675e558fd3186d590973244fab0c5fe63d373ade3e99d40", size = 38919, upload-time = "2025-01-14T10:34:04.093Z" }, + { url = "https://files.pythonhosted.org/packages/73/54/3bfe5a1febbbccb7a2f77de47b989c0b85ed3a6a41614b104204a788c20e/wrapt-1.17.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5bb1d0dbf99411f3d871deb6faa9aabb9d4e744d67dcaaa05399af89d847a91d", size = 88721, upload-time = "2025-01-14T10:34:07.163Z" }, + { url = "https://files.pythonhosted.org/packages/25/cb/7262bc1b0300b4b64af50c2720ef958c2c1917525238d661c3e9a2b71b7b/wrapt-1.17.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d18a4865f46b8579d44e4fe1e2bcbc6472ad83d98e22a26c963d46e4c125ef0b", size = 80899, upload-time = "2025-01-14T10:34:09.82Z" }, + { url = "https://files.pythonhosted.org/packages/2a/5a/04cde32b07a7431d4ed0553a76fdb7a61270e78c5fd5a603e190ac389f14/wrapt-1.17.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc570b5f14a79734437cb7b0500376b6b791153314986074486e0b0fa8d71d98", size = 89222, upload-time = "2025-01-14T10:34:11.258Z" }, + { url = "https://files.pythonhosted.org/packages/09/28/2e45a4f4771fcfb109e244d5dbe54259e970362a311b67a965555ba65026/wrapt-1.17.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6d9187b01bebc3875bac9b087948a2bccefe464a7d8f627cf6e48b1bbae30f82", size = 86707, upload-time = "2025-01-14T10:34:12.49Z" }, + { url = "https://files.pythonhosted.org/packages/c6/d2/dcb56bf5f32fcd4bd9aacc77b50a539abdd5b6536872413fd3f428b21bed/wrapt-1.17.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:9e8659775f1adf02eb1e6f109751268e493c73716ca5761f8acb695e52a756ae", size = 79685, upload-time = "2025-01-14T10:34:15.043Z" }, + { url = "https://files.pythonhosted.org/packages/80/4e/eb8b353e36711347893f502ce91c770b0b0929f8f0bed2670a6856e667a9/wrapt-1.17.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e8b2816ebef96d83657b56306152a93909a83f23994f4b30ad4573b00bd11bb9", size = 87567, upload-time = "2025-01-14T10:34:16.563Z" }, + { url = "https://files.pythonhosted.org/packages/17/27/4fe749a54e7fae6e7146f1c7d914d28ef599dacd4416566c055564080fe2/wrapt-1.17.2-cp312-cp312-win32.whl", hash = "sha256:468090021f391fe0056ad3e807e3d9034e0fd01adcd3bdfba977b6fdf4213ea9", size = 36672, upload-time = "2025-01-14T10:34:17.727Z" }, + { url = "https://files.pythonhosted.org/packages/15/06/1dbf478ea45c03e78a6a8c4be4fdc3c3bddea5c8de8a93bc971415e47f0f/wrapt-1.17.2-cp312-cp312-win_amd64.whl", hash = "sha256:ec89ed91f2fa8e3f52ae53cd3cf640d6feff92ba90d62236a81e4e563ac0e991", size = 38865, upload-time = "2025-01-14T10:34:19.577Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b9/0ffd557a92f3b11d4c5d5e0c5e4ad057bd9eb8586615cdaf901409920b14/wrapt-1.17.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6ed6ffac43aecfe6d86ec5b74b06a5be33d5bb9243d055141e8cabb12aa08125", size = 53800, upload-time = "2025-01-14T10:34:21.571Z" }, + { url = "https://files.pythonhosted.org/packages/c0/ef/8be90a0b7e73c32e550c73cfb2fa09db62234227ece47b0e80a05073b375/wrapt-1.17.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:35621ae4c00e056adb0009f8e86e28eb4a41a4bfa8f9bfa9fca7d343fe94f998", size = 38824, upload-time = "2025-01-14T10:34:22.999Z" }, + { url = "https://files.pythonhosted.org/packages/36/89/0aae34c10fe524cce30fe5fc433210376bce94cf74d05b0d68344c8ba46e/wrapt-1.17.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a604bf7a053f8362d27eb9fefd2097f82600b856d5abe996d623babd067b1ab5", size = 38920, upload-time = "2025-01-14T10:34:25.386Z" }, + { url = "https://files.pythonhosted.org/packages/3b/24/11c4510de906d77e0cfb5197f1b1445d4fec42c9a39ea853d482698ac681/wrapt-1.17.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5cbabee4f083b6b4cd282f5b817a867cf0b1028c54d445b7ec7cfe6505057cf8", size = 88690, upload-time = "2025-01-14T10:34:28.058Z" }, + { url = "https://files.pythonhosted.org/packages/71/d7/cfcf842291267bf455b3e266c0c29dcb675b5540ee8b50ba1699abf3af45/wrapt-1.17.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:49703ce2ddc220df165bd2962f8e03b84c89fee2d65e1c24a7defff6f988f4d6", size = 80861, upload-time = "2025-01-14T10:34:29.167Z" }, + { url = "https://files.pythonhosted.org/packages/d5/66/5d973e9f3e7370fd686fb47a9af3319418ed925c27d72ce16b791231576d/wrapt-1.17.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8112e52c5822fc4253f3901b676c55ddf288614dc7011634e2719718eaa187dc", size = 89174, upload-time = "2025-01-14T10:34:31.702Z" }, + { url = "https://files.pythonhosted.org/packages/a7/d3/8e17bb70f6ae25dabc1aaf990f86824e4fd98ee9cadf197054e068500d27/wrapt-1.17.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:9fee687dce376205d9a494e9c121e27183b2a3df18037f89d69bd7b35bcf59e2", size = 86721, upload-time = "2025-01-14T10:34:32.91Z" }, + { url = "https://files.pythonhosted.org/packages/6f/54/f170dfb278fe1c30d0ff864513cff526d624ab8de3254b20abb9cffedc24/wrapt-1.17.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:18983c537e04d11cf027fbb60a1e8dfd5190e2b60cc27bc0808e653e7b218d1b", size = 79763, upload-time = "2025-01-14T10:34:34.903Z" }, + { url = "https://files.pythonhosted.org/packages/4a/98/de07243751f1c4a9b15c76019250210dd3486ce098c3d80d5f729cba029c/wrapt-1.17.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:703919b1633412ab54bcf920ab388735832fdcb9f9a00ae49387f0fe67dad504", size = 87585, upload-time = "2025-01-14T10:34:36.13Z" }, + { url = "https://files.pythonhosted.org/packages/f9/f0/13925f4bd6548013038cdeb11ee2cbd4e37c30f8bfd5db9e5a2a370d6e20/wrapt-1.17.2-cp313-cp313-win32.whl", hash = "sha256:abbb9e76177c35d4e8568e58650aa6926040d6a9f6f03435b7a522bf1c487f9a", size = 36676, upload-time = "2025-01-14T10:34:37.962Z" }, + { url = "https://files.pythonhosted.org/packages/bf/ae/743f16ef8c2e3628df3ddfd652b7d4c555d12c84b53f3d8218498f4ade9b/wrapt-1.17.2-cp313-cp313-win_amd64.whl", hash = "sha256:69606d7bb691b50a4240ce6b22ebb319c1cfb164e5f6569835058196e0f3a845", size = 38871, upload-time = "2025-01-14T10:34:39.13Z" }, + { url = "https://files.pythonhosted.org/packages/3d/bc/30f903f891a82d402ffb5fda27ec1d621cc97cb74c16fea0b6141f1d4e87/wrapt-1.17.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:4a721d3c943dae44f8e243b380cb645a709ba5bd35d3ad27bc2ed947e9c68192", size = 56312, upload-time = "2025-01-14T10:34:40.604Z" }, + { url = "https://files.pythonhosted.org/packages/8a/04/c97273eb491b5f1c918857cd26f314b74fc9b29224521f5b83f872253725/wrapt-1.17.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:766d8bbefcb9e00c3ac3b000d9acc51f1b399513f44d77dfe0eb026ad7c9a19b", size = 40062, upload-time = "2025-01-14T10:34:45.011Z" }, + { url = "https://files.pythonhosted.org/packages/4e/ca/3b7afa1eae3a9e7fefe499db9b96813f41828b9fdb016ee836c4c379dadb/wrapt-1.17.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e496a8ce2c256da1eb98bd15803a79bee00fc351f5dfb9ea82594a3f058309e0", size = 40155, upload-time = "2025-01-14T10:34:47.25Z" }, + { url = "https://files.pythonhosted.org/packages/89/be/7c1baed43290775cb9030c774bc53c860db140397047cc49aedaf0a15477/wrapt-1.17.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40d615e4fe22f4ad3528448c193b218e077656ca9ccb22ce2cb20db730f8d306", size = 113471, upload-time = "2025-01-14T10:34:50.934Z" }, + { url = "https://files.pythonhosted.org/packages/32/98/4ed894cf012b6d6aae5f5cc974006bdeb92f0241775addad3f8cd6ab71c8/wrapt-1.17.2-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a5aaeff38654462bc4b09023918b7f21790efb807f54c000a39d41d69cf552cb", size = 101208, upload-time = "2025-01-14T10:34:52.297Z" }, + { url = "https://files.pythonhosted.org/packages/ea/fd/0c30f2301ca94e655e5e057012e83284ce8c545df7661a78d8bfca2fac7a/wrapt-1.17.2-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9a7d15bbd2bc99e92e39f49a04653062ee6085c0e18b3b7512a4f2fe91f2d681", size = 109339, upload-time = "2025-01-14T10:34:53.489Z" }, + { url = "https://files.pythonhosted.org/packages/75/56/05d000de894c4cfcb84bcd6b1df6214297b8089a7bd324c21a4765e49b14/wrapt-1.17.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e3890b508a23299083e065f435a492b5435eba6e304a7114d2f919d400888cc6", size = 110232, upload-time = "2025-01-14T10:34:55.327Z" }, + { url = "https://files.pythonhosted.org/packages/53/f8/c3f6b2cf9b9277fb0813418e1503e68414cd036b3b099c823379c9575e6d/wrapt-1.17.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:8c8b293cd65ad716d13d8dd3624e42e5a19cc2a2f1acc74b30c2c13f15cb61a6", size = 100476, upload-time = "2025-01-14T10:34:58.055Z" }, + { url = "https://files.pythonhosted.org/packages/a7/b1/0bb11e29aa5139d90b770ebbfa167267b1fc548d2302c30c8f7572851738/wrapt-1.17.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4c82b8785d98cdd9fed4cac84d765d234ed3251bd6afe34cb7ac523cb93e8b4f", size = 106377, upload-time = "2025-01-14T10:34:59.3Z" }, + { url = "https://files.pythonhosted.org/packages/6a/e1/0122853035b40b3f333bbb25f1939fc1045e21dd518f7f0922b60c156f7c/wrapt-1.17.2-cp313-cp313t-win32.whl", hash = "sha256:13e6afb7fe71fe7485a4550a8844cc9ffbe263c0f1a1eea569bc7091d4898555", size = 37986, upload-time = "2025-01-14T10:35:00.498Z" }, + { url = "https://files.pythonhosted.org/packages/09/5e/1655cf481e079c1f22d0cabdd4e51733679932718dc23bf2db175f329b76/wrapt-1.17.2-cp313-cp313t-win_amd64.whl", hash = "sha256:eaf675418ed6b3b31c7a989fd007fa7c3be66ce14e5c3b27336383604c9da85c", size = 40750, upload-time = "2025-01-14T10:35:03.378Z" }, + { url = "https://files.pythonhosted.org/packages/2d/82/f56956041adef78f849db6b289b282e72b55ab8045a75abad81898c28d19/wrapt-1.17.2-py3-none-any.whl", hash = "sha256:b18f2d1533a71f069c7f82d524a52599053d4c7166e9dd374ae2136b7f40f7c8", size = 23594, upload-time = "2025-01-14T10:35:44.018Z" }, ]