]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
馃寪 Add Polish translation for `docs/pl/docs/index.md` (#4245)
authorMicroPanda123 <dawid12345.dawid@gmail.com>
Sun, 16 Jan 2022 19:36:42 +0000 (19:36 +0000)
committerGitHub <noreply@github.com>
Sun, 16 Jan 2022 19:36:42 +0000 (19:36 +0000)
Co-authored-by: Dawid Dutkiewicz <dutkiewicz@users.noreply.github.com>
Co-authored-by: Dima Tisnek <dimaqq@gmail.com>
Co-authored-by: Bart Skowron <bxsx@bartskowron.com>
Co-authored-by: Bart Skowron <bart.skowron@rollbar.com>
docs/pl/docs/index.md

index 95fb7ae2125183f0dda0385ce5af1c2d49649ffe..4a300ae632dbc8f33dd9d6a20e71dde68de970e2 100644 (file)
@@ -1,12 +1,8 @@
-
-{!../../../docs/missing-translation.md!}
-
-
 <p align="center">
   <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
 </p>
 <p align="center">
-    <em>FastAPI framework, high performance, easy to learn, fast to code, ready for production</em>
+    <em>FastAPI to szybki, prosty w nauce i gotowy do u偶ycia w produkcji framework</em>
 </p>
 <p align="center">
 <a href="https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest" target="_blank">
 
 ---
 
-**Documentation**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a>
+**Dokumentacja**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a>
 
-**Source Code**: <a href="https://github.com/tiangolo/fastapi" target="_blank">https://github.com/tiangolo/fastapi</a>
+**Kod 偶r贸d艂owy**: <a href="https://github.com/tiangolo/fastapi" target="_blank">https://github.com/tiangolo/fastapi</a>
 
 ---
 
-FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
+FastAPI to nowoczesny, wydajny framework webowy do budowania API z u偶yciem Pythona 3.6+ bazuj膮cy na standardowym typowaniu Pythona.
 
-The key features are:
+Kluczowe cechy:
 
-* **Fast**: Very high performance, on par with **NodeJS** and **Go** (thanks to Starlette and Pydantic). [One of the fastest Python frameworks available](#performance).
+* **Wydajno艣膰**: FastAPI jest bardzo wydajny, na r贸wni z **NodeJS** oraz **Go** (dzi臋ki Starlette i Pydantic). [Jeden z najszybszych dost臋pnych framework贸w Pythonowych](#wydajnosc).
+* **Szybko艣膰 kodowania**: Przy艣piesza szybko艣膰 pisania nowych funkcjonalno艣ci o oko艂o 200% do 300%. *
+* **Mniejsza ilo艣膰 b艂臋d贸w**: Zmniejsza ilo艣膰 ludzkich (dewelopera) b艂臋dy o oko艂o 40%. *
+* **Intuicyjno艣膰**: Wspania艂e wsparcie dla edytor贸w kodu. Dost臋pne wsz臋dzie <abbr title="znane jako auto-complete, autocompletion, IntelliSense">automatyczne uzupe艂nianie</abbr> kodu. Kr贸tszy czas debugowania.
+* **艁atwo艣膰**: Zaprojektowany by by膰 prosty i 艂atwy do nauczenia. Mniej czasu sp臋dzonego na czytanie dokumentacji.
+* **Kompaktowo艣膰**: Minimalizacja powtarzaj膮cego si臋 kodu. Wiele funkcjonalno艣ci dla ka偶dej deklaracji parametru. Mniej b艂臋d贸w.
+* **Solidno艣膰**: Kod gotowy dla 艣rodowiska produkcyjnego. Wraz z automatyczn膮 interaktywn膮 dokumentacj膮.
+* **Bazuj膮cy na standardach**: Oparty na (i w pe艂ni kompatybilny z) otwartych standardach API: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> (wcze艣niej znane jako Swagger) oraz <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
 
-* **Fast to code**: Increase the speed to develop features by about 200% to 300%. *
-* **Fewer bugs**: Reduce about 40% of human (developer) induced errors. *
-* **Intuitive**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging.
-* **Easy**: Designed to be easy to use and learn. Less time reading docs.
-* **Short**: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
-* **Robust**: Get production-ready code. With automatic interactive documentation.
-* **Standards-based**: Based on (and fully compatible with) the open standards for APIs: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> (previously known as Swagger) and <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
+<small>* oszacowania bazowane na testach wykonanych przez wewn臋trzny zesp贸艂 deweloper贸w, buduj膮cych aplikacie u偶ywane na 艣rodowisku produkcyjnym.</small>
 
-<small>* estimation based on tests on an internal development team, building production applications.</small>
-
-## Sponsors
+## Sponsorzy
 
 <!-- sponsors -->
 
@@ -59,9 +54,9 @@ The key features are:
 
 <!-- /sponsors -->
 
-<a href="https://fastapi.tiangolo.com/fastapi-people/#sponsors" class="external-link" target="_blank">Other sponsors</a>
+<a href="https://fastapi.tiangolo.com/fastapi-people/#sponsors" class="external-link" target="_blank">Inni sponsorzy</a>
 
-## Opinions
+## Opinie
 
 "_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
 
@@ -101,24 +96,24 @@ The key features are:
 
 ---
 
-## **Typer**, the FastAPI of CLIs
+## **Typer**, FastAPI aplikacji konsolowych
 
 <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
 
-If you are building a <abbr title="Command Line Interface">CLI</abbr> app to be used in the terminal instead of a web API, check out <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">**Typer**</a>.
+Je偶eli tworzysz aplikacje <abbr title="aplikacja z interfejsem konsolowym">CLI</abbr>, kt贸ra ma by膰 u偶ywana w terminalu zamiast API, sprawd藕 <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">**Typer**</a>.
 
-**Typer** is FastAPI's little sibling. And it's intended to be the **FastAPI of CLIs**. 鈱笍 馃殌
+**Typer** to m艂odsze rodze艅stwo FastAPI. Jego celem jest pozostanie **FastAPI aplikacji konsolowych** . 鈱笍 馃殌
 
-## Requirements
+## Wymagania
 
 Python 3.6+
 
-FastAPI stands on the shoulders of giants:
+FastAPI oparty jest na:
 
-* <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> for the web parts.
-* <a href="https://pydantic-docs.helpmanual.io/" class="external-link" target="_blank">Pydantic</a> for the data parts.
+* <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> dla cz臋艣ci webowej.
+* <a href="https://pydantic-docs.helpmanual.io/" class="external-link" target="_blank">Pydantic</a> dla cz臋艣ci obs艂uguj膮cych dane.
 
-## Installation
+## Instalacja
 
 <div class="termy">
 
@@ -130,7 +125,7 @@ $ pip install fastapi
 
 </div>
 
-You will also need an ASGI server, for production such as <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> or <a href="https://gitlab.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>.
+Na serwerze produkcyjnym b臋dziesz tak偶e potrzebowa艂 serwera ASGI, np. <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> lub <a href="https://gitlab.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>.
 
 <div class="termy">
 
@@ -142,11 +137,11 @@ $ pip install uvicorn[standard]
 
 </div>
 
-## Example
+## Przyk艂ad
 
-### Create it
+### Stw贸rz
 
-* Create a file `main.py` with:
+* Utw贸rz plik o nazwie `main.py` z:
 
 ```Python
 from typing import Optional
@@ -167,9 +162,9 @@ def read_item(item_id: int, q: Optional[str] = None):
 ```
 
 <details markdown="1">
-<summary>Or use <code>async def</code>...</summary>
+<summary>Albo u偶yj <code>async def</code>...</summary>
 
-If your code uses `async` / `await`, use `async def`:
+Je偶eli tw贸j kod korzysta z `async` / `await`, u偶yj `async def`:
 
 ```Python hl_lines="9  14"
 from typing import Optional
@@ -189,15 +184,15 @@ async def read_item(item_id: int, q: Optional[str] = None):
     return {"item_id": item_id, "q": q}
 ```
 
-**Note**:
+**Przypis**:
 
-If you don't know, check the _"In a hurry?"_ section about <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank">`async` and `await` in the docs</a>.
+Je偶eli nie znasz, sprawd藕 sekcj臋 _"In a hurry?"_ o <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank">`async` i `await` w dokumentacji</a>.
 
 </details>
 
-### Run it
+### Uruchom
 
-Run the server with:
+Uruchom serwer u偶ywaj膮c:
 
 <div class="termy">
 
@@ -214,54 +209,53 @@ INFO:     Application startup complete.
 </div>
 
 <details markdown="1">
-<summary>About the command <code>uvicorn main:app --reload</code>...</summary>
-
-The command `uvicorn main:app` refers to:
+<summary>O komendzie <code>uvicorn main:app --reload</code>...</summary>
+Komenda `uvicorn main:app` odnosi si臋 do:
 
-* `main`: the file `main.py` (the Python "module").
-* `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
-* `--reload`: make the server restart after code changes. Only do this for development.
+* `main`: plik `main.py` ("modu艂" w Pythonie).
+* `app`: obiekt stworzony w `main.py` w lini `app = FastAPI()`.
+* `--reload`: spraw by serwer resetowa艂 si臋 po ka偶dej zmianie w kodzie. U偶ywaj tego tylko w 艣rodowisku deweloperskim.
 
 </details>
 
-### Check it
+### Wypr贸buj
 
-Open your browser at <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
+Otw贸rz link <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a> w przegl膮darce.
 
-You will see the JSON response as:
+Zobaczysz nast臋puj膮c膮 odpowied藕 JSON:
 
 ```JSON
 {"item_id": 5, "q": "somequery"}
 ```
 
-You already created an API that:
+W艂a艣nie stworzy艂e艣 API kt贸re:
 
-* Receives HTTP requests in the _paths_ `/` and `/items/{item_id}`.
-* Both _paths_ take `GET` <em>operations</em> (also known as HTTP _methods_).
-* The _path_ `/items/{item_id}` has a _path parameter_ `item_id` that should be an `int`.
-* The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
+* Otrzymuje 偶膮dania HTTP w _艣cie偶ce_ `/` i `/items/{item_id}`.
+* Obie _艣cie偶ki_ u偶ywaj膮 <em>operacji</em> `GET` (znane tak偶e jako _metody_ HTTP).
+* _艢cie偶ka_ `/items/{item_id}` ma _parametr 艣cie偶ki_ `item_id` kt贸ry powinien by膰 obiektem typu `int`.
+* _艢cie偶ka_ `/items/{item_id}` ma opcjonalny _parametr zapytania_ typu `str` o nazwie `q`.
 
-### Interactive API docs
+### Interaktywna dokumentacja API
 
-Now go to <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
+Otw贸rz teraz stron臋 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
 
-You will see the automatic interactive API documentation (provided by <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>):
+Zobaczysz automatyczn膮 interaktywn膮 dokumentacj臋 API (dostarczon膮 z pomoc膮 <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>):
 
 ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png)
 
-### Alternative API docs
+### Alternatywna dokumentacja API
 
-And now, go to <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
+Otw贸rz teraz <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
 
-You will see the alternative automatic documentation (provided by <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>):
+Zobaczysz alternatywn膮, lecz wci膮偶 automatyczn膮 dokumentacj臋 (wygenerowan膮 z pomoc膮 <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>):
 
 ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
 
-## Example upgrade
+## Aktualizacja przyk艂adu
 
-Now modify the file `main.py` to receive a body from a `PUT` request.
+Zmodyfikuj teraz plik `main.py`, aby otrzmywa艂 tre艣膰 (body) 偶膮dania `PUT`.
 
-Declare the body using standard Python types, thanks to Pydantic.
+Zadeklaruj tre艣膰 偶膮dania, u偶ywaj膮c standardowych typ贸w w Pythonie dzi臋ki Pydantic.
 
 ```Python hl_lines="4  9-12  25-27"
 from typing import Optional
@@ -293,175 +287,175 @@ def update_item(item_id: int, item: Item):
     return {"item_name": item.name, "item_id": item_id}
 ```
 
-The server should reload automatically (because you added `--reload` to the `uvicorn` command above).
+Serwer powinien prze艂adowa膰 si臋 automatycznie (poniewa偶 doda艂e艣 `--reload` do komendy `uvicorn` powy偶ej).
 
-### Interactive API docs upgrade
+### Zaktualizowana interaktywna dokumentacja API
 
-Now go to <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
+Wejd藕 teraz na <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
 
-* The interactive API documentation will be automatically updated, including the new body:
+* Interaktywna dokumentacja API zaktualizuje sie automatycznie, tak偶e z now膮 tre艣ci膮 偶膮dania (body):
 
 ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
 
-* Click on the button "Try it out", it allows you to fill the parameters and directly interact with the API:
+* Kliknij przycisk "Try it out" (wypr贸buj), pozwoli Ci to wype艂ni膰 parametry i bezpo艣rednio u偶y膰 API:
 
 ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png)
 
-* Then click on the "Execute" button, the user interface will communicate with your API, send the parameters, get the results and show them on the screen:
+* Kliknij potem przycisk "Execute" (wykonaj), interfejs u偶ytkownika po艂膮czy si臋 z API, wy艣le parametry, otrzyma odpowied藕 i wy艣wietli j膮 na ekranie:
 
 ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-05-swagger-04.png)
 
-### Alternative API docs upgrade
+### Zaktualizowana alternatywna dokumentacja API
 
-And now, go to <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
+Otw贸rz teraz <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
 
-* The alternative documentation will also reflect the new query parameter and body:
+* Alternatywna dokumentacja r贸wnie偶 poka偶e zaktualizowane parametry i tre艣膰 偶膮dania (body):
 
 ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
 
-### Recap
+### Podsumowanie
 
-In summary, you declare **once** the types of parameters, body, etc. as function parameters. 
+Podsumowuj膮c, musia艂e艣 zadeklarowa膰 typy parametr贸w, tre艣ci 偶膮dania (body) itp. tylko **raz**, i s膮 one dost臋pne jako parametry funkcji.
 
-You do that with standard modern Python types.
+Robisz to tak samo jak ze standardowymi typami w Pythonie.
 
-You don't have to learn a new syntax, the methods or classes of a specific library, etc.
+Nie musisz sie uczy膰 偶adnej nowej sk艂adni, metod lub klas ze specyficznych bibliotek itp.
 
-Just standard **Python 3.6+**.
+Po prostu standardowy **Python 3.6+**.
 
-For example, for an `int`:
+Na przyk艂ad, dla danych typu `int`:
 
 ```Python
 item_id: int
 ```
 
-or for a more complex `Item` model:
+albo dla bardziej z艂o偶onego obiektu `Item`:
 
 ```Python
 item: Item
 ```
 
-...and with that single declaration you get:
+...i z pojedy艅cz膮 deklaracj膮 otrzymujesz:
 
-* Editor support, including:
-    * Completion.
-    * Type checks.
-* Validation of data:
-    * Automatic and clear errors when the data is invalid.
-    * Validation even for deeply nested JSON objects.
-* <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of input data: coming from the network to Python data and types. Reading from:
+* Wsparcie edytor贸w kodu, wliczaj膮c:
+    * Auto-uzupe艂nianie.
+    * Sprawdzanie typ贸w.
+* Walidacja danych:
+    * Automatyczne i przejrzyste b艂臋dy gdy dane s膮 niepoprawne.
+    * Walidacja nawet dla g艂臋boko zagnie偶d偶onych obiekt贸w JSON.
+* <abbr title="znane r贸wnie偶 jako: serializacja, przetwarzanie, marshalling">Konwersja</abbr> danych wej艣ciowych: przychodz膮cych z sieci na Pythonowe typy. Pozwala na przetwarzanie danych:
     * JSON.
-    * Path parameters.
-    * Query parameters.
-    * Cookies.
-    * Headers.
-    * Forms.
-    * Files.
-* <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of output data: converting from Python data and types to network data (as JSON):
-    * Convert Python types (`str`, `int`, `float`, `bool`, `list`, etc).
-    * `datetime` objects.
-    * `UUID` objects.
-    * Database models.
-    * ...and many more.
-* Automatic interactive API documentation, including 2 alternative user interfaces:
+    * Parametr贸w 艣cie偶ki.
+    * Parametr贸w zapytania.
+    * Dane cookies.
+    * Dane nag艂贸wk贸w (headers).
+    * Formularze.
+    * Pliki.
+* <abbr title="znane r贸wnie偶 jako: serializacja, przetwarzanie, marshalling">Konwersja</abbr> danych wyj艣ciowych: wychodz膮cych z Pythona do sieci (jako JSON):
+    * Przetwarzanie Pythonowych typ贸w (`str`, `int`, `float`, `bool`, `list`, itp).
+    * Obiekty `datetime`.
+    * Obiekty `UUID`.
+    * Modele baz danych.
+    * ...i wiele wi臋cej.
+* Automatyczne interaktywne dokumentacje API, wliczaj膮c 2 alternatywne interfejsy u偶ytkownika:
     * Swagger UI.
     * ReDoc.
 
 ---
 
-Coming back to the previous code example, **FastAPI** will:
-
-* Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
-* Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
-    * If it is not, the client will see a useful, clear error.
-* Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests.
-    * As the `q` parameter is declared with `= None`, it is optional.
-    * Without the `None` it would be required (as is the body in the case with `PUT`).
-* For `PUT` requests to `/items/{item_id}`, Read the body as JSON:
-    * Check that it has a required attribute `name` that should be a `str`. 
-    * Check that it has a required attribute `price` that has to be a `float`.
-    * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present.
-    * All this would also work for deeply nested JSON objects.
-* Convert from and to JSON automatically.
-* Document everything with OpenAPI, that can be used by:
-    * Interactive documentation systems.
-    * Automatic client code generation systems, for many languages.
-* Provide 2 interactive documentation web interfaces directly.
+Wracaj膮c do poprzedniego przyk艂adu, **FastAPI** :
+
+* Potwierdzi, 偶e w 艣cie偶ce jest `item_id` dla 偶膮da艅 `GET` i `PUT`.
+* Potwierdzi, 偶e `item_id` jest typu `int` dla 偶膮da艅 `GET` i `PUT`.
+    * Je偶eli nie jest, odbiorca zobaczy przydatn膮, przejrzyst膮 wiadomo艣膰 z b艂臋dem.
+* Sprawdzi czy w 艣cie偶ce jest opcjonalny parametr zapytania `q` (np. `http://127.0.0.1:8000/items/foo?q=somequery`) dla 偶膮dania `GET`.
+    * Jako 偶e parametr `q` jest zadeklarowany jako `= None`, jest on opcjonalny.
+    * Gdyby tego `None` nie by艂o, parametr ten by艂by wymagany (tak jak tre艣膰 偶膮dania w 偶膮daniu `PUT`).
+* Dla 偶膮dania `PUT` z 艣cie偶k膮 `/items/{item_id}`, odczyta tre艣膰 偶膮dania jako JSON:
+    * Sprawdzi czy posiada wymagany atrybut `name`, kt贸ry powinien by膰 typu `str`.
+    * Sprawdzi czy posiada wymagany atrybut `price`, kt贸ry musi by膰 typu `float`.
+    * Sprawdzi czy posiada opcjonalny atrybut `is_offer`, kt贸ry (je偶eli obecny) powinien by膰 typu `bool`.
+    * To wszystko b臋dzie r贸wnie偶 dzia艂a膰 dla g艂臋boko zagnie偶d偶onych obiekt贸w JSON.
+* Automatycznie konwertuje z i do JSON.
+* Dokumentuje wszystko w OpenAPI, kt贸re mo偶e by膰 u偶ywane przez:
+    * Interaktywne systemy dokumentacji.
+    * Systemy automatycznego generowania kodu klienckiego, dla wielu j臋zyk贸w.
+* Dostarczy bezpo艣rednio 2 interaktywne dokumentacje webowe.
 
 ---
 
-We just scratched the surface, but you already get the idea of how it all works.
+To dopiero pocz膮tek, ale ju偶 masz mniej-wi臋cej poj臋cie jak to wszystko dzia艂a.
 
-Try changing the line with:
+Spr贸buj zmieni膰 linijk臋:
 
 ```Python
     return {"item_name": item.name, "item_id": item_id}
 ```
 
-...from:
+...z:
 
 ```Python
         ... "item_name": item.name ...
 ```
 
-...to:
+...na:
 
 ```Python
         ... "item_price": item.price ...
 ```
 
-...and see how your editor will auto-complete the attributes and know their types:
+...i zobacz jak edytor kodu automatycznie uzupe艂ni atrybuty i b臋dzie zna艂 ich typy:
 
 ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
 
-For a more complete example including more features, see the <a href="https://fastapi.tiangolo.com/tutorial/">Tutorial - User Guide</a>.
+Dla bardziej kompletnych przyk艂ad贸w posiadaj膮cych wi臋cej funkcjonalno艣ci, zobacz <a href="https://fastapi.tiangolo.com/tutorial/">Tutorial - User Guide</a>.
 
-**Spoiler alert**: the tutorial - user guide includes:
+**Uwaga Spoiler**: tutorial - user guide zawiera:
 
-* Declaration of **parameters** from other different places as: **headers**, **cookies**, **form fields** and **files**.
-* How to set **validation constraints** as `maximum_length` or `regex`.
-* A very powerful and easy to use **<abbr title="also known as components, resources, providers, services, injectables">Dependency Injection</abbr>** system.
-* Security and authentication, including support for **OAuth2** with **JWT tokens** and **HTTP Basic** auth.
-* More advanced (but equally easy) techniques for declaring **deeply nested JSON models** (thanks to Pydantic).
-* Many extra features (thanks to Starlette) as:
-    * **WebSockets**
+* Deklaracje **parametr贸w** z innych miejsc takich jak: **nag艂贸wki**, **pliki cookies**, **formularze** i **pliki**.
+* Jak ustawi膰 **ograniczenia walidacyjne** takie jak `maksymalna d艂ugo艣膰` lub `regex`.
+* Pot臋偶ny i 艂atwy w u偶yciu system **<abbr title="znane jako komponenty, resources, providers, services, injectables">Dependency Injection</abbr>**.
+* Zabezpieczenia i autentykacja, wliczaj膮c wsparcie dla **OAuth2** z **tokenami JWT** oraz autoryzacj膮 **HTTP Basic**.
+* Bardziej zaawansowane (ale r贸wnie proste) techniki deklarowania **g艂臋boko zagnie偶d偶onych modeli JSON** (dzi臋ki Pydantic).
+* Wiele dodatkowych funkcji (dzi臋ki Starlette) takie jak:
+    * **WebSockety**
     * **GraphQL**
-    * extremely easy tests based on `requests` and `pytest`
+    * bardzo proste testy bazuj膮ce na `requests` oraz `pytest`
     * **CORS**
-    * **Cookie Sessions**
-    * ...and more.
+    * **Sesje cookie**
+    * ...i wi臋cej.
 
-## Performance
+## Wydajno艣膰
 
-Independent TechEmpower benchmarks show **FastAPI** applications running under Uvicorn as <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">one of the fastest Python frameworks available</a>, only below Starlette and Uvicorn themselves (used internally by FastAPI). (*)
+Niezale偶ne benchmarki TechEmpower pokazuj膮, 偶e **FastAPI** (uruchomiony na serwerze Uvicorn) <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">jest jednym z najszybszych dost臋pnych Pythonowych framework贸w</a>, zaraz po Starlette i Uvicorn (u偶ywanymi wewn膮trznie przez FastAPI). (*)
 
-To understand more about it, see the section <a href="https://fastapi.tiangolo.com/benchmarks/" class="internal-link" target="_blank">Benchmarks</a>.
+Aby dowiedzie膰 si臋 o tym wi臋cej, zobacz sekcj臋 <a href="https://fastapi.tiangolo.com/benchmarks/" class="internal-link" target="_blank">Benchmarks</a>.
 
-## Optional Dependencies
+## Opcjonalne zale偶no艣ci
 
-Used by Pydantic:
+U偶ywane przez Pydantic:
 
-* <a href="https://github.com/esnme/ultrajson" target="_blank"><code>ujson</code></a> - for faster JSON <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>.
-* <a href="https://github.com/JoshData/python-email-validator" target="_blank"><code>email_validator</code></a> - for email validation.
+* <a href="https://github.com/esnme/ultrajson" target="_blank"><code>ujson</code></a> - dla szybszego <abbr title="przetwarzania stringa kt贸ry przychodzi z 偶膮daniem HTTP na dane u偶ywane przez Pythona">"parsowania"</abbr> danych JSON.
+* <a href="https://github.com/JoshData/python-email-validator" target="_blank"><code>email_validator</code></a> - dla walidacji adres贸w email.
 
-Used by Starlette:
+U偶ywane przez Starlette:
 
-* <a href="https://requests.readthedocs.io" target="_blank"><code>requests</code></a> - Required if you want to use the `TestClient`.
-* <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - Required if you want to use `FileResponse` or `StaticFiles`.
-* <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Required if you want to use the default template configuration.
-* <a href="https://andrew-d.github.io/python-multipart/" target="_blank"><code>python-multipart</code></a> - Required if you want to support form <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>, with `request.form()`.
-* <a href="https://pythonhosted.org/itsdangerous/" target="_blank"><code>itsdangerous</code></a> - Required for `SessionMiddleware` support.
-* <a href="https://pyyaml.org/wiki/PyYAMLDocumentation" target="_blank"><code>pyyaml</code></a> - Required for Starlette's `SchemaGenerator` support (you probably don't need it with FastAPI).
-* <a href="https://graphene-python.org/" target="_blank"><code>graphene</code></a> - Required for `GraphQLApp` support.
-* <a href="https://github.com/esnme/ultrajson" target="_blank"><code>ujson</code></a> - Required if you want to use `UJSONResponse`.
+* <a href="https://requests.readthedocs.io" target="_blank"><code>requests</code></a> - Wymagane je偶eli chcesz korzysta膰 z `TestClient`.
+* <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - Wymagane je偶eli chcesz korzysta膰 z `FileResponse` albo `StaticFiles`.
+* <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Wymagane je偶eli chcesz u偶ywa膰 domy艣lnej konfiguracji szablon贸w.
+* <a href="https://andrew-d.github.io/python-multipart/" target="_blank"><code>python-multipart</code></a> - Wymagane je偶elich chcesz wsparcie <abbr title="przetwarzania stringa kt贸rzy przychodzi z 偶膮daniem HTTP na dane u偶ywane przez Pythona">"parsowania"</abbr> formularzy, u偶ywaj膮c `request.form()`.
+* <a href="https://pythonhosted.org/itsdangerous/" target="_blank"><code>itsdangerous</code></a> - Wymagany dla wsparcia `SessionMiddleware`.
+* <a href="https://pyyaml.org/wiki/PyYAMLDocumentation" target="_blank"><code>pyyaml</code></a> - Wymagane dla wsparcia `SchemaGenerator` z Starlette (z FastAPI prawdopodobnie tego nie potrzebujesz).
+* <a href="https://graphene-python.org/" target="_blank"><code>graphene</code></a> - Wymagane dla wsparcia `GraphQLApp`.
+* <a href="https://github.com/esnme/ultrajson" target="_blank"><code>ujson</code></a> - Wymagane je偶eli chcesz korzysta膰 z `UJSONResponse`.
 
-Used by FastAPI / Starlette:
+U偶ywane przez FastAPI / Starlette:
 
-* <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application.
-* <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Required if you want to use `ORJSONResponse`.
+* <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - jako serwer, kt贸ry 艂aduje i obs艂uguje Twoj膮 aplikacj臋.
+* <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Wymagane je偶eli chcesz u偶ywa膰 `ORJSONResponse`.
 
-You can install all of these with `pip install fastapi[all]`.
+Mo偶esz zainstalowa膰 wszystkie te aplikacje przy pomocy `pip install fastapi[all]`.
 
-## License
+## Licencja
 
-This project is licensed under the terms of the MIT license.
+Ten projekt jest na licencji MIT.