Skip to content
InKCrePublic

About

InKCre's python implementation, includes the core lib, an RESTful HTTP app and CLI for agent.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

392 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InKCre Python Implementation

这个仓库交付 Python SDK(inkcre-core)、运行 HTTP Peer 的 App、独立的 inkcre-cli 和第一方 Python 扩展。它维护所有 Peer 共用的数据库 schema 和迁移。Web App、原生 App 和 Python Peer 通过同一个信息库协作。

Quickstart

Self-host an InKCre instance

在 GitHub 上 fork 本仓即可自部署。选择 Heroku + Neon 或 Render + Neon,按对应指南配置凭据、运行工作流并检查可用性。

Develop locally

从 checkout 初始化合同与开发依赖:

git submodule update --init --recursive
pdm install -G app -G dev --frozen-lockfile
pdm run doctor

需要与 Web App 联调时,按开发环境启动包含 PostgreSQL、Python Peer 和 PostgREST 的整套环境;该页也说明如何对已初始化的数据库单独运行 Python。选择本地检查、隔离数据库回归或 PR Preview 验收,见贡献指南。

独立 Python SDK

pdm build 构建 inkcre-core wheel。调用方用自己的数据库连接创建 Core,即可通过 inkcre_core 进行领域操作。示例、异步绑定、引擎所有权与关闭顺序见 SDK 使用指南。从包索引阅读时可进入源码仓库。

Documentation

Generated artifacts

HTTP 接口见 OpenAPI schema。路由有变时用 pdm run python scripts/generate-openapi.py 重新生成。生成过程只需导入服务。见运行生命周期。

Security

安全报告使用私下报告入口。权限模型见共享安全边界和 Python 实现。

About

InKCre's python implementation, includes the core lib, an RESTful HTTP app and CLI for agent.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages