Skip to content

[Repo Proposal]: Add a Python Gemara SDK #12

Description

@jpower432

Proposal Title

py-gemara

Description

There are multiple use cases where Gemara types in Python can be useful especially when you need to incorporate them with many AI toolchains, SDKs, and agent frameworks (e.g., CrewAI, PydanticAI, LangGraph). A concrete use case where Gemara is already being represented in Python in the ComplianceAsCode community. Creating official Python types could be useful to prevent drift for consumers.

Proposal Type

New Repository (SDK, toolkit, library)

Technical Details

Lanaguge/Framework

  • Python Library
  • Data Model Code Generation using JSON schema as an input
  • Pydantic v2 types

License

License would be Apache 2.0 as per OpenSSF requirement for code repositories

Notes

Would require gemara to publish JSON schema release artifacts alongside OpenAPI to support codegen. With this expansion, we should probably automate the generated code update similar to how do we with the website repository. Meaning we could do a repository dispatch and have a workflow create a new PR for maintainers to review.

Related Work

Explored some here: https://github.com/complytime-labs/gemara-py

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalCommunity proposal for new initiativesrepo-proposalProposal for a new repository, SDK, tool, or integration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions