Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for first (0.2 sec)

  1. docs/en/docs/tutorial/first-steps.md

    # First Steps
    
    The simplest FastAPI file could look like this:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/manually.md

    But if you want to directly use **Trio**, then you can use **Hypercorn** as it supports it. ✨
    
    ### Install Hypercorn with Trio
    
    First you need to install Hypercorn with Trio support:
    
    <div class="termy">
    
    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    
    </div>
    
    ### Run with Trio
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

        * If you depended on that previous behavior, you might need to update your code. As always, make sure your tests pass before merging the upgrade.
    
    ## 0.90.1
    
    ### Upgrades
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  4. docs/hu/docs/index.md

    ---
    
    "_If anyone is looking to build a production Python API, I would highly recommend **FastAPI**. It is **beautifully designed**, **simple to use** and **highly scalable**, it has become a **key component** in our API first development strategy and is driving many automations and services such as our Virtual TAC Engineer._"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/openapi-callbacks.md

        * This will be done by sending a POST request (from *your API*) to some *external API* provided by that external developer (this is the "callback").
    
    ## The normal **FastAPI** app
    
    Let's first see how the normal API app would look like before adding the callback.
    
    It will have a *path operation* that will receive an `Invoice` body, and a query parameter `callback_url` that will contain the URL for the callback.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. docs/en/mkdocs.yml

              show_symbol_type_toc: true
    nav:
    - FastAPI: index.md
    - features.md
    - Learn:
      - learn/index.md
      - python-types.md
      - async.md
      - Tutorial - User Guide:
        - tutorial/index.md
        - tutorial/first-steps.md
        - tutorial/path-params.md
        - tutorial/query-params.md
        - tutorial/body.md
        - tutorial/query-params-str-validations.md
        - tutorial/path-params-numeric-validations.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/settings.md

    #### `lru_cache` Technical Details
    
    `@lru_cache` modifies the function it decorates to return the same value that was returned the first time, instead of computing it again, executing the code of the function every time.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

    # WebSockets
    
    You can use <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API" class="external-link" target="_blank">WebSockets</a> with **FastAPI**.
    
    ## Install `WebSockets`
    
    First you need to install `WebSockets`:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    ## WebSockets client
    
    ### In production
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/index.md

    Using it in your editor is what really shows you the benefits of FastAPI, seeing how little code you have to write, all the type checks, autocompletion, etc.
    
    ---
    
    ## Install FastAPI
    
    The first step is to install FastAPI:
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

        This is where we'll put the `requirements.txt` file and the `app` directory.
    
    3. Copy the file with the requirements to the `/code` directory.
    
        Copy **only** the file with the requirements first, not the rest of the code.
    
        As this file **doesn't change often**, Docker will detect it and use the **cache** for this step, enabling the cache for the next step too.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top