Skip to main content

PanoramaBase

PanoramaBase 是一个多语言脚手架生成器,支持 Java、Python、JavaScript、Nuxt3、Mastra 等语言的快速项目初始化,内置场景推荐引擎和 AI 辅助的交互式确认流程。

功能特性

  • 多语言支持: Java (Spring Boot)、Python (FastAPI)、JavaScript (Node ESM)、Nuxt3 (Vue SSR)、Mastra (AI 编排)
  • 业务簇分类:
    • 簇 A 电商: Java SpringBoot(交易、订单、营销)
    • 簇 B Digital: Nuxt3 Vue SSR(内部后台、门户)
    • 簇 C AI: Mastra 编排 + Python FastAPI 推理
  • 类型矩阵: web-admin-api、agent、miniapp-api、data-sync、rest-aggregator、rag、internal-admin、digital-portal、ai-orchestrator、ai-workflow、ai-inference、cv-service、nlp-service
  • 版本选择: 每语言三档版本(如 Java 8/17/21,Python 3.11/3.12/3.13,Node 20/22/24)
  • 中间件: 数据库 (MySQL/PostgreSQL/SQLite/MongoDB)、缓存 (Redis)、消息队列 (RocketMQ/Kafka/Disruptor)
  • 场景推荐: 根据业务簇和项目类型自动推荐版本和中间件组合
  • 交互确认: scaffold plan 预览 → 确认 → 生成

快速开始

# 预览推荐配置
panoramabase scaffold plan "做一个 java 管理后台项目"

# 确认生成
panoramabase scaffold nl "做一个 python agent 项目,目录 my-agent" --yes

# 查看可用语言包
panoramabase scaffold list

业务簇分类

业务簇 技术栈 典型场景 SLA
A 电商 Java SpringBoot 交易、订单、营销、结算 99.99%
B Digital Nuxt3 Vue SSR 内部后台、门户、表单 99.5%
C AI 编排 Mastra (TS) Agent 编排、RAG、Workflow 99.9%
C AI 推理 Python FastAPI CV、OCR、NLP、Embedding 99.9%

底座门面清单

基础门面(16 个)

门面 功能 Java Python JS Nuxt3 Mastra
LoginFacade 统一登录(钉钉/Office365/双因子) ✅ ✅ ✅ ✅ ✅
PermissionFacade 权限控制(角色/资源/数据/API) ✅ ✅ ✅ ✅ ✅
FileUploadFacade 文件上传(OSS/分片/断点续传) ✅ ✅ ✅ ✅ ✅
GatewayFacade 网关路由、限流 ✅ ✅ ✅ ✅ ✅
DiscoveryFacade 注册发现 ✅ ✅ ✅ ✅ ✅
ConfigFacade 配置中心 ✅ ✅ ✅ ✅ ✅
SecretFacade 密钥管理 ✅ ✅ ✅ ✅ ✅
SSOFacade 身份 SSO ✅ ✅ ✅ ✅ ✅
CacheFacade 缓存 Redis ✅ ✅ ✅ ✅ ✅
MQFacade 消息队列 ✅ ✅ ✅ ✅ ✅
LockFacade 分布式锁 ✅ ✅ ✅ ✅ ✅
IDFacade 分布式 ID ✅ ✅ ✅ ✅ ✅
ScheduleFacade 定时任务 ✅ ✅ ✅ ✅ ✅
OSSFacade 对象存储 ✅ ✅ ✅ ✅ ✅
AuditFacade 审计日志 ✅ ✅ ✅ ✅ ✅
DataPermissionFacade 行级数据权限 ✅ ✅ ✅ ✅ ✅

AI 门面(6 个)

门面 功能 Java Python JS Nuxt3 Mastra
RAGFacade RAG 检索增强 ✅ ✅ ✅ ✅ ✅
ImageAIFacade 图像 AI ✅ ✅ ✅ ✅ ✅
TextAIFacade 文本 AI ✅ ✅ ✅ ✅ ✅
AudioAIFacade 音频 AI ✅ ✅ ✅ ✅ ✅
VectorFacade 向量操作 ✅ ✅ ✅ ✅ ✅
ModelInvokeFacade 模型调用 ✅ ✅ ✅ ✅ ✅

架构

panoramabase/scaffold/
  engine.py      # 渲染管线 (Jinja2 + 条件剪枝)
  manifest.py    # manifest 校验与参数收集
  recommend.py   # 场景推荐引擎(按业务簇推荐)
  intent.py      # 自然语言意图解析
  cli.py         # CLI 入口
  packs/         # 语言包
    java/        # 簇 A 电商
    nuxt3/       # 簇 B Digital
    mastra/      # 簇 C AI 编排
    python/      # 簇 C AI 推理
    js/          # 通用 Node

开发

# 安装依赖
pip install -e .

# 运行测试
pytest tests/basic/ -k scaffold -q

许可证

Apache-2.0

Metadata

Release files for PanoramaBase 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PanoramaBase 0.0.1
File Size Uploaded Provenance Actions
panoramabase-0.0.1.tar.gz 1.2 MB Without provenance Details for panoramabase-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PanoramaBase 0.0.1
File Interpreter ABI Platform Actions
panoramabase-0.0.1-py3-none-any.whl Python 3 none any Details for panoramabase-0.0.1-py3-none-any.whl

Total release size: 1.5 MB

Release files / panoramabase-0.0.1.tar.gz

Download URL panoramabase-0.0.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e62c3265274a453439cd5a79de8f861b1cb0fd618f40bcce7619ad516b688b25
BLAKE2b-256 checksum
How to use checksums
c0292d2df0008fc380f5406c5773239744c7d7cfcfc09b47b3ed7aca8ddf608a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / panoramabase-0.0.1-py3-none-any.whl

Download URL panoramabase-0.0.1-py3-none-any.whl
Size 332.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac4a7c747d2c77acdbb95a85b41e50bb6465461ec7c064e87dc583d1872c7c0b
BLAKE2b-256 checksum
How to use checksums
c96efd2a5f4ae4a92214113e13055b7e96d18da79108d6f083de4a2f07dbc60a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for PanoramaBase 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page