Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 71 for Sanic (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/docs/benchmarks.md

        * But it provides you the tools to build simple web applications, with routing based on paths, etc.
        * If you are comparing Starlette, compare it against Sanic, Flask, Django, etc. Web frameworks (or microframeworks).
    * **FastAPI**:
        * The same way that Starlette uses Uvicorn and cannot be faster than it, **FastAPI** uses Starlette, so it cannot be faster than it.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. docs/en/docs/alternatives.md

    Use Python types to have great editor support.
    
    Have a powerful dependency injection system. Find a way to minimize code repetition.
    
    ///
    
    ### <a href="https://sanic.readthedocs.io/en/latest/" class="external-link" target="_blank">Sanic</a> { #sanic }
    
    It was one of the first extremely fast Python frameworks based on `asyncio`. It was made to be very similar to Flask.
    
    /// note | Technical Details
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/benchmarks.md

        * 但它為你提供了建立簡單網頁應用程式的工具,以及基於路徑的路由等。
        * 如果你要比較 Starlette,請將其與 Sanic、Flask、Django 等網頁框架(或微框架)進行比較。
    * **FastAPI**:
        * 就像 Starlette 使用 Uvicorn 並不能比它更快一樣, **FastAPI** 使用 Starlette,所以它不能比它更快。
        * FastAPI 在 Starlette 基礎之上提供了更多功能。包含建構 API 時所需要的功能,例如資料驗證和序列化。FastAPI 可以幫助你自動產生 API 文件,(應用程式啟動時將會自動生成文件,所以不會增加應用程式運行時的開銷)。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. docs/zh/docs/benchmarks.md

        * 但它为您提供了构建简单的网络程序的工具,并具有基于路径的路由等功能。
        * 如果想对比与 Starlette 对标的开发框架,请将其与 Sanic,Flask,Django 等网络框架(或微框架)进行比较。
    * **FastAPI**:
        * 与 Starlette 使用 Uvicorn 一样,由于 **FastAPI** 使用 Starlette,因此 FastAPI 不能比 Starlette 更快。
        * FastAPI 在 Starlette 基础上提供了更多功能。例如在开发 API 时,所需的数据验证和序列化功能。FastAPI 可以帮助您自动生成 API文档,(文档在应用程序启动时自动生成,所以不会增加应用程序运行时的开销)。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jan 07 14:33:29 GMT 2023
    - 3.4K bytes
    - Click Count (0)
  5. docs/fr/docs/alternatives.md

    Disposer d'un puissant système d'injection de dépendances. Trouver un moyen de minimiser la répétition du code.
    
    ///
    
    ### <a href="https://sanic.readthedocs.io/en/latest/" class="external-link" target="_blank">Sanic</a>
    
    C'était l'un des premiers frameworks Python extrêmement rapides basés sur `asyncio`. Il a été conçu pour être très similaire à Flask.
    
    /// note | Détails techniques
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  6. docs/de/docs/alternatives.md

    Über ein leistungsstarkes Dependency Injection System zu verfügen. Eine Möglichkeit zu finden, Codeverdoppelung zu minimieren.
    
    ///
    
    ### <a href="https://sanic.readthedocs.io/en/latest/" class="external-link" target="_blank">Sanic</a> { #sanic }
    
    Es war eines der ersten extrem schnellen Python-Frameworks, welches auf `asyncio` basierte. Es wurde so gestaltet, dass es Flask sehr ähnlich ist.
    
    /// note | Technische Details
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 27.4K bytes
    - Click Count (0)
  7. docs/ja/docs/alternatives.md

    強力な依存性注入の仕組みを持ち、コードの繰り返しを最小化する方法を見つけた点。
    
    ///
    
    ### <a href="https://sanic.readthedocs.io/en/latest/" class="external-link" target="_blank">Sanic</a>
    
    `asyncio`に基づいた、Pythonのフレームワークの中でも非常に高速なものの一つです。Flaskと非常に似た作りになっています。
    
    /// note | 技術詳細
    
    Pythonの`asyncio`ループの代わりに、`uvloop`が利用されています。それにより、非常に高速です。
    
    `Uvicorn`と`Starlette`に明らかなインスピレーションを与えており、それらは現在オープンなベンチマークにおいてSanicより高速です。
    
    ///
    
    /// check | **FastAPI**へ与えたインスピレーション
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  8. internal/event/targetlist_test.go

    		panic(err)
    	}
    
    	targetListCase3 := NewTargetList(t.Context())
    	if err := targetListCase3.Add(&ExampleTarget{TargetID{"3", "testcase"}, false, false}); err != nil {
    		panic(err)
    	}
    	if err := targetListCase3.Add(&ExampleTarget{TargetID{"1", "webhook"}, false, false}); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		targetList     *TargetList
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. internal/lsync/lrwmutex_test.go

    	ctx := t.Context()
    	lrwm := NewLRWMutex()
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    		time.Sleep(2 * time.Second)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. internal/logger/console.go

    	}
    	logJSON, err := json.Marshal(&log.Entry{
    		Level:   FatalKind,
    		Message: message,
    		Time:    time.Now().UTC(),
    		Trace:   &log.Trace{Message: message, Source: []string{getSource(6)}},
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Fprintln(Output, string(logJSON))
    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...any) {
    	f.pretty(msg, args...)
    }
    
    var (
    	logTag      = "FATAL"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top