Skip to main content

SDK for managing snapshots, algorithms, and run execution

Project description

Fraclab SDK

Python >=3.11

Fraclab SDK 用来开发、打包、导入和执行本地算法。

README 现在只作为入口索引使用,不再重复维护整套说明。规范和参考以 docs/ 为准。

文档分发

  • 完整人类文档 docs/ 会随源码分发,也会打进 PyPI 包
  • 面向机器的文档 AI_GUIDE.mdllms.txt 也会打进 PyPI 包
  • 也就是说,pip install fraclab-sdk 后,本地环境里就同时有 docs/AI_GUIDE.mdllms.txt

如果你在安装后的环境里定位这些文件,可以用:

import inspect
from pathlib import Path

import fraclab_sdk

site_root = Path(inspect.getfile(fraclab_sdk)).resolve().parent.parent
print(site_root / "docs")
print(site_root / "AI_GUIDE.md")
print(site_root / "llms.txt")

安装

安装核心 SDK:

pip install fraclab-sdk

安装并启用 Workbench:

pip install "fraclab-sdk[workbench]"
fraclab-workbench

如果你当前就在仓库里开发:

poetry install
poetry run fraclab-sdk --help

先看哪几页

第一次接触这个项目,建议按这个顺序读:

  1. docs/index.md
  2. docs/getting-started/installation.md
  3. docs/getting-started/first-algorithm.md
  4. docs/guides/input-spec.md
  5. docs/guides/output.md
  6. docs/guides/compile-export-import.md

如果你正在让 AI 生成或修改算法代码,先读:

常用入口

本地预览文档站

poetry install --with docs
poetry run mkdocs serve

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fraclab_sdk-0.1.68.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fraclab_sdk-0.1.68-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file fraclab_sdk-0.1.68.tar.gz.

File metadata

  • Download URL: fraclab_sdk-0.1.68.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fraclab_sdk-0.1.68.tar.gz
Algorithm Hash digest
SHA256 3893dd930f65ab5ac870b4be16ba9da905d4e66a2dcc9af355f17cd246e81370
MD5 6fed6ff22457e70269fbc9c32b41e196
BLAKE2b-256 e8924a7af58d320a993196b09a213c91838a72a8c1b5db49691c00ffeb13065f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fraclab_sdk-0.1.68.tar.gz:

Publisher: publish-pypi.yml on leps-tech/fraclab-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fraclab_sdk-0.1.68-py3-none-any.whl.

File metadata

  • Download URL: fraclab_sdk-0.1.68-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fraclab_sdk-0.1.68-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8184926a1ab73a0d3e601c0c8b0dc96a486207dc939f9610e02cddc63b9ca8
MD5 567620417ace1412814f8d8c0ab9a9d6
BLAKE2b-256 b79ed98932dad9246c4a442992251495380302ec3cca3afaccf81d3e6e10b700

See more details on using hashes here.

Provenance

The following attestation bundles were made for fraclab_sdk-0.1.68-py3-none-any.whl:

Publisher: publish-pypi.yml on leps-tech/fraclab-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page