• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ikawaha / kagome / 21325438545
86%

Build:
DEFAULT BRANCH: v2
Ran 25 Jan 2026 02:27AM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jan 2026 02:23AM UTC coverage: 85.555%. Remained the same
21325438545

push

github

web-flow
add example to use kagome as a C library from Python & PHP (via FFI) (#381)

* feat: kagome as a C library and use it from python

* chore: isolate python script under `python3`

preparation for PHP8

* refactor: use C ABI as a stable boundary

To decouple Go ABI from the shared library boundary, we generate a static archive
and header ('.a' and '.h') from Go, then build the shared library using the
target platform's C toolchain, exposing a stable C ABI.

* chore: move go files under ./go for simplicity

* refactor: run tests for python and php by 'make docker-test' for ease testing

* feat: POS (part of speech) as array

it will reduce parsing CSV in python and php to array

* chore: ignore platform dependent artifacts

* chore: ensure scripts to be read-only during test

* chore: convert file path as absolute for readability during test

* refactor: ensure PHP to free memory to stable testing

* chore: add comment for POS array

* feat: return all the tokenized results including base form, reading, etc.

* fix: remove unused arg (dictionary path)

As so far, we will not allow to specify dictionary for complex

* fix: ensure to free when 'arr' gets malloc and free even 'arr.tokens' is nil

* fix: remove redundant declaration

* fix: allocate dummy handle for safety

* fix: destroy/free the tokenizer explicitly for ensure-ness

* fix: ctypes.c_size_t --> ctypes.c_void_p for clarity

* feat: only export visible symbols for clean public API

* refactor: use 'PHP_OS_FAMILY' to detect OS

* refactor: more readable and maintainable code

* chore: individual local test for php and python

* chore: rename 'c' directory --> 'c_wrapper' for readability

* refactor: more readable and maintainable Python code

* chore: rename 'php' dir --> 'php8' for readability

* refactor: isolate library and usage

* docs: add pydoc-friendly comments

* refactor: isolate usage and library with PHPDoc friendly comment

* docs: add README.md files to each directory

* docs: min... (continued)

1303 of 1523 relevant lines covered (85.55%)

3180.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21325438545.1 25 Jan 2026 02:27AM UTC 20
85.55
GitHub Action Run
Source Files on build 21325438545
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9648d9b0 on github
  • Prev Build on v2 (#21268496703)
  • Next Build on v2 (#21473621228)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc