Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for Gill (0.17 sec)

  1. docs/en/docs/benchmarks.md

    Specifically, to see Uvicorn, Starlette and FastAPI compared together (among many other tools).
    
    The simpler the problem solved by the tool, the better performance it will get. And most of the benchmarks don't test the additional features provided by the tool.
    
    The hierarchy is like:
    
    * **Uvicorn**: an ASGI server
        * **Starlette**: (uses Uvicorn) a web microframework
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/static-files.md

    You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}.
    
    ## Details
    
    The first `"/static"` refers to the sub-path this "sub-application" will be "mounted" on. So, any path that starts with `"/static"` will be handled by it.
    
    The `directory="static"` refers to the name of the directory that contains your static files.
    
    The `name="static"` gives it a name that can be used internally by **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

    You can also use `dataclasses` in the `response_model` parameter:
    
    ```Python hl_lines="1  7-13  19"
    {!../../../docs_src/dataclasses/tutorial002.py!}
    ```
    
    The dataclass will be automatically converted to a Pydantic dataclass.
    
    This way, its schema will show up in the API docs user interface:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## Dataclasses in Nested Data Structures
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    Let's create a dependency `get_current_user`.
    
    Remember that dependencies can have sub-dependencies?
    
    `get_current_user` will have a dependency with the same `oauth2_scheme` we created before.
    
    The same as we were doing before in the *path operation* directly, our new dependency `get_current_user` will receive a `token` as a `str` from the sub-dependency `oauth2_scheme`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/index.md

    # How To - Recipes
    
    Here you will see different recipes or "how to" guides for **several topics**.
    
    Most of these ideas would be more or less **independent**, and in most cases you should only need to study them if they apply directly to **your project**.
    
    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    !!! tip
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 591 bytes
    - Viewed (0)
  6. docs/en/docs/deployment/manually.md

        <div class="termy">
    
        ```console
        $ pip install "uvicorn[standard]"
    
        ---> 100%
        ```
    
        </div>
    
        !!! tip
            By adding the `standard`, Uvicorn will install and use some recommended extra dependencies.
    
            That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost.
    
    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)
  7. docs/en/docs/tutorial/testing.md

    ## Run it
    
    After that, you just need to install `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    It will detect the files and tests automatically, execute them, and report the results back to you.
    
    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/em/docs/contributing.md

    ๐Ÿšฅ ๐Ÿ‘† โŽ ๐ŸŽ โœณ, ๐Ÿ‘† ๐Ÿ’ช โŽ ๐Ÿ› ๏ธ โฎ๏ธ:
    
    <div class="termy">
    
    ```console
    $ typer --install-completion
    
    zsh completion installed in /home/user/.bashrc.
    Completion will take effect once you restart the terminal.
    ```
    
    </div>
    
    ### ๐Ÿ“ฑ &amp; ๐Ÿฉบ ๐ŸŽ ๐Ÿ•ฐ
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿƒ ๐Ÿ–ผ โฎ๏ธ, โœ…:
    
    <div class="termy">
    
    ```console
    $ uvicorn tutorial001:app --reload
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  9. docs/ja/docs/deployment/concepts.md

    * OSไธŠใง**ๅฎŸ่กŒ**ใ—ใฆใ„ใ‚‹็‰นๅฎšใฎใƒ—ใƒญใ‚ฐใƒฉใƒ 
        * ใ“ใ‚Œใฏใƒ•ใ‚กใ‚คใƒซใ‚„ใ‚ณใƒผใƒ‰ใ‚’ๆŒ‡ใ™ใฎใงใฏใชใใ€OSใซใ‚ˆใฃใฆ**ๅฎŸ่กŒ**ใ•ใ‚Œใ€็ฎก็†ใ•ใ‚Œใฆใ„ใ‚‹ใ‚‚ใฎใ‚’ๆŒ‡ใ—ใพใ™ใ€‚
    * ใฉใ‚“ใชใƒ—ใƒญใ‚ฐใƒฉใƒ ใ‚„ใ‚ณใƒผใƒ‰ใ‚‚ใ€ใใ‚ŒใŒ**ๅฎŸ่กŒใ•ใ‚Œใฆใ„ใ‚‹ใจใใซใ ใ‘ๆฉŸ่ƒฝ**ใ—ใพใ™ใ€‚ใคใพใ‚Šใ€**ใƒ—ใƒญใ‚ปใ‚นใจใ—ใฆๅฎŸ่กŒใ•ใ‚Œใฆใ„ใ‚‹ใจใใ ใ‘**ใงใ™ใ€‚
    * ใƒ—ใƒญใ‚ปใ‚นใฏใ€ใƒฆใƒผใ‚ถใƒผใซใ‚ใ‚‹ใ„ใฏOSใซใ‚ˆใฃใฆใ€ **็ต‚ไบ†**๏ผˆใ‚ใ‚‹ใ„ใฏ "kill"๏ผ‰ใ•ใ›ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚ใใฎๆ™‚็‚นใงใ€ใƒ—ใƒญใ‚ปใ‚นใฏๅฎŸ่กŒ/ๅฎŸ่กŒใ•ใ‚Œใ‚‹ใ“ใจใ‚’ๅœๆญขใ—ใ€ใใ‚Œไปฅ้™ใฏ**ไฝ•ใ‚‚ใงใใชใใชใ‚Šใพใ™**ใ€‚
    * ใ‚ณใƒณใƒ”ใƒฅใƒผใ‚ฟใงๅฎŸ่กŒใ•ใ‚Œใฆใ„ใ‚‹ๅ„ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฏใ€ๅฎŸ่กŒไธญใฎใƒ—ใƒญใ‚ฐใƒฉใƒ ใ‚„ๅ„ใ‚ฆใ‚ฃใƒณใƒ‰ใ‚ฆใชใฉใ€ใใฎ่ƒŒๅพŒใซใ„ใใคใ‹ใฎใƒ—ใƒญใ‚ปใ‚นใ‚’ๆŒใฃใฆใ„ใพใ™ใ€‚ใใ—ใฆ้€šๅธธใ€ใ‚ณใƒณใƒ”ใƒฅใƒผใ‚ฟใŒ่ตทๅ‹•ใ—ใฆใ„ใ‚‹้–“ใ€**ๅคšใใฎใƒ—ใƒญใ‚ปใ‚นใŒ**ๅŒๆ™‚ใซๅฎŸ่กŒใ•ใ‚Œใฆใ„ใพใ™ใ€‚
    * **ๅŒใ˜ใƒ—ใƒญใ‚ฐใƒฉใƒ **ใฎ**่ค‡ๆ•ฐใฎใƒ—ใƒญใ‚ปใ‚น**ใŒๅŒๆ™‚ใซๅฎŸ่กŒใ•ใ‚Œใฆใ„ใ‚‹ใ“ใจใŒใ‚ใ‚Šใพใ™ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/concepts.md

    ### Server Memory
    
    For example, if your code loads a Machine Learning model with **1 GB in size**, when you run one process with your API, it will consume at least 1 GB of RAM. And if you start **4 processes** (4 workers), each will consume 1 GB of RAM. So in total, your API will consume **4 GB of RAM**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top