Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings
fxnai

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
@fxnai

Function

Run Python functions on-device, fully cross-platform.

function logo

Dynamic JSON BadgeX (formerly Twitter) Follow

Compile Python functions:

fromfxnimportcompile@compile(tag="@fxn/greeting",description="Say a friendly greeting.")defgreeting (name:str)->str:returnf"Hey there{name}! We're glad you're using Function and we hope you like it."

Run natively on Android, iOS, macOS, Linux, in the browser, and Windows--with full hardware acceleration and zero dependencies:

import{Function}from"fxnjs"// 💥 Create your Function clientconstfxn=newFunction({accessKey:"..."});// 🔥 Run the function locallyconstprediction=awaitfxn.predictions.create({tag:"@fxn/greeting",inputs:{name:"Peter"}});// 🚀 Use the resultsconsole.log(prediction.results[0])

You can run your compiled Python functions cross-platform using our client libraries:

A few useful links:

Function is a product ofNatML Inc.

PinnedLoading

  1. fxnfxnPublic

    Run Python functions on desktop, mobile, web, and in the cloud. https://fxn.ai/explore

    Python 64 5

  2. fxnjsfxnjsPublic

    Run Python functions in the browser and Node.js. https://fxn.ai/explore

    TypeScript 6 1

  3. fxniosfxniosPublic

    Run Python functions in iOS and visionOS apps. Register at https://fxn.ai

    Swift 2

  4. fxn3dfxn3dPublic

    Run Python functions in Unity Engine. Register at https://fxn.ai

    C# 7 4

  5. compilercompilerPublic

    Function's Python-to-native compiler infrastructure.

    Python 1

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 7 of 7 repositories

Top languages

Loading…

Most used topics

Loading…


[8]ページ先頭

©2009-2025 Movatter.jp