Skip to content

feat: Context+Settings APIs#230

Open
tmathern wants to merge 79 commits intovNextfrom
mathern/context
Open

feat: Context+Settings APIs#230
tmathern wants to merge 79 commits intovNextfrom
mathern/context

Conversation

@tmathern
Copy link
Collaborator

@tmathern tmathern commented Mar 4, 2026

Changes in this pull request

Main changes are in src/c2pa/c2pa.py.

  • Add Context and Settings APIs (+bump of c2pa-rs)
  • Add tests to verify feature parity of context APIs with existing APIs
  • Update examples, add "no_thumbnails.py" example showing how to use settings to turn off thumbnails
  • Update usage docs, and add ManagedResource class docs (more docs are in docs: Document Context+Settings API, Intents, Working Stores #235)
  • Remove unused toml settings file (Python only uses JSON settings)
  • Fix typos and bugs caused by typos in src/c2pa/lib.py
  • Prune some tests that tested features covered by other tests
  • Removed bindings for unused APIs (the "old" embeddable ones, which where not bound in Python), added missing bindings for fragments

Checklist

  • This PR represents a single feature, fix, or change (new API: context with settings).
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@tmathern tmathern self-assigned this Mar 4, 2026
@tmathern tmathern changed the title (wip) (wip Context+Settings) Mar 4, 2026
@tmathern tmathern changed the title (wip Context+Settings) feat: Context+Settings APIs Mar 9, 2026
@tmathern tmathern requested review from gpeacock and ok-nick March 9, 2026 17:47
@tmathern tmathern requested a review from ale-adobe March 9, 2026 22:13
Tania Mathern and others added 12 commits March 9, 2026 15:58
* fix: Managed resources docs

* fix: Docs

* fix: Docs

* fix: Docs

* fix: Docs

* fix: Update docs

---------

Co-authored-by: Tania Mathern <tania.mathern@gmail.comn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant