コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 7 of about 7 for requirements (0.006 sec.)
コンテナ内のFastAPI - Docker 13159
コンテナ内のFastAPI - Docker FastAPIアプリケーションをデプロイする場合、一般的なアプローチは Linuxコンテナ・イメージ をビルドすることです。 基本的には Docker を用いて行われます。生成されたコンテナ・イメージは、いくつかの方法のいずれかでデプ ... 存じですか? 以下の Dockerfile の箇所? へジャンプしてください。 Dockerfile プレビュー ? FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD [ " ... Raspberry Pi で実行する場合 コンテナ・イメージを実行してくれるクラウド・サービスなどを利用する場合 パッケージ要件(package requirements) アプリケーションの パッケージ要件 は通常、何らかのファイルに記述されているはずです。 パッケージ要件は主に インストール す ... るために使用するツールに依存するでしょう。 最も一般的な方法は、 requirements.txt ファイルにパッケージ名とそのバージョンを 1 行ずつ書くことです。 もちろん、 FastAPI バージョンについて で読んだのと同じ ...
https://man.mtool.work/fastapi/0.115/deployment/docker/
Virtual Environments 9796
Virtual Environments Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . When you work in Python projects you probably should use a virtual environment (or a similar m ... this again . Install Packages Directly If you're in a hurry and don't want to use a file to declare your project's package requirements, you can install them directly. Tip It's a (very) good idea to put the packages and versions your program needs in a file ... (for example requirements.txt or pyproject.toml ). pip uv $ pip install "fastapi[standard]" ---> 100% If you have uv : $ uv pip install "fastapi[sta ... ndard]" ---> 100% Install from requirements.txt If you have a requirements.txt , you can now use it to install its packages. pip uv $ pip install -r requirements.txt ...
https://man.mtool.work/fastapi/0.115/virtual-environments/
Development - Contributing 9106
Development - Contributing Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . First, you might want to see the basic ways to help FastAPI and get help . Developing If ... nvironment Follow the instructions to create and activate a virtual environment for the internal code of fastapi . Install requirements using pip After activating the environment, install the required packages: $ pip install -r requirements.txt ---> 100% It ... ur local version to be able to test every change. Technical Details This only happens when you install using this included requirements.txt instead of running pip install fastapi directly. That is because inside the requirements.txt file, the local version o ... ere is any region missing. Docs First, make sure you set up your environment as described above, that will install all the requirements. Docs live During local development, there is a script that builds the site and checks for any changes, live-reloading: $ ...
https://man.mtool.work/fastapi/0.115/contributing/
Repository Management Tasks 8124
Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by team members . Tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can ... t for upgrades to internal dependencies used for development, testing, docs, etc. Those internal dependencies, normally in requirements.txt files or GitHub Action versions should be marked as internal , not upgrade . docs : Docs Changes in docs. This include ... me additional tweaks or updates are needed. If the PR updates one of the internal dependencies, for example it's modifying requirements.txt files, or GitHub Action versions, if the tests are passing, the release notes (shown in a summary in the PR) don't sho ...
https://man.mtool.work/fastapi/0.115/management-tasks/
FastAPIのバージョンについて 7942
FastAPIのバージョンについて FastAPI は既に多くのアプリケーションやシステムに本番環境で使われています。また、100%のテストカバレッジを維持しています。しかし、活発な開発が続いています。 高頻度で新機能が追加され、定期的にバグが修正され、実装は継 ... プリケーションが正しく動作する FastAPI のバージョンを固定することです。 例えば、バージョン 0.45.0 を使っているとしましょう。 requirements.txt を使っているなら、以下の様にバージョンを指定できます: fastapi==0.45.0 これは、厳密にバージョン 0.45.0 だけを使うことを ...
https://man.mtool.work/fastapi/0.115/deployment/versions/
OAuth2 scopes 7706
OAuth2 scopes Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can use OAuth2 scopes directly with FastAPI , they are integrated to work seamlessly. This would ... only with Depends but also with Security . Declaring its own sub-dependency function ( get_current_user ), and more scope requirements. In this case, it requires the scope me (it could require more than one scope). Note You don't necessarily need to add dif ... e we created before, declaring it as a dependency: oauth2_scheme . Because this dependency function doesn't have any scope requirements itself, we can use Depends with oauth2_scheme , we don't have to use Security when we don't need to specify security scope ...
https://man.mtool.work/fastapi/0.115/advanced/security/oauth2-scopes/
Release Notes 7706
Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom ... 61 by @tiangolo . Internal ? Update CI cache to fix installs when dependencies change. PR #9659 by @tiangolo . ⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras. PR #9655 by @tiangolo . 0.96.1 Fixes ? Fi ...
https://man.mtool.work/fastapi/0.115/release-notes/
PREV 1 NEXT