Skip to main content

Add your description here

Project description

Service Forge

Automated service creation and maintenance tool.

Install

pip install -e .

CLI Usage (sft)

Service Forge 提供了命令行工具 sft 用于服务管理。

服务上传和部署

# 上传服务(打包并上传到服务器)
sft upload [project_path]

# 列出本地已打包的服务包
sft list

# 部署服务(只在服务器上使用)
sft deploy <name> <version>

配置管理

# 列出所有配置项
sft config list

# 获取指定配置项的值
sft config get <key>

# 设置配置项的值
sft config set <key> <value>

服务管理

# 列出所有服务
sft service list

# 删除服务(只在服务器上使用)
sft service delete <service_name> [--force, -f]

# 查看服务日志(只在服务器上使用)
sft service logs <service_name> [--container, -c] [--tail, -n] [--follow, -f] [--previous, -p]

TODO

  • 数据库中自动添加trace_id
  • BaseModel管理和注入
  • 服务之间的相互调用
  • Workflow相关更加精确的报错信息
  • 完善通用节点
  • 节点自动生成
  • 服务存活心跳包
  • 各种类型的测试

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

service_forge-0.1.76.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

service_forge-0.1.76-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file service_forge-0.1.76.tar.gz.

File metadata

  • Download URL: service_forge-0.1.76.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for service_forge-0.1.76.tar.gz
Algorithm Hash digest
SHA256 f664844312010acae6cba66df08ef310bb88559fdacadcebd05e64cfb00facb3
MD5 499c18322a0d89002eee548c6318c8f1
BLAKE2b-256 169f094a66b87f7cdc5f16a7a238f1be7e3859ab12fbfa2a07d5dc90a5a0e856

See more details on using hashes here.

File details

Details for the file service_forge-0.1.76-py3-none-any.whl.

File metadata

File hashes

Hashes for service_forge-0.1.76-py3-none-any.whl
Algorithm Hash digest
SHA256 e637baf4472ae0cf3fc5752d4da4280ea7707b382f927a0f6afed4b26172baf9
MD5 1fd074c031fd207a154585e67085a67a
BLAKE2b-256 ae096c0849e0b9782afc2e5ec774b993d1544790174cbc34e47363ded903f304

See more details on using hashes here.

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