{"id":19435565,"url":"https://github.com/code-kern-ai/refinery-lf-exec-env","last_synced_at":"2025-02-25T06:44:44.264Z","repository":{"id":45673590,"uuid":"513917526","full_name":"code-kern-ai/refinery-lf-exec-env","owner":"code-kern-ai","description":"Execution environment for labeling functions in refinery. Containerized function as a service to execute user-defined Python scripts.","archived":false,"fork":false,"pushed_at":"2024-12-09T09:53:37.000Z","size":91,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-01-07T21:11:25.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.kern.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-kern-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-14T13:43:35.000Z","updated_at":"2024-11-27T13:07:27.000Z","dependencies_parsed_at":"2024-04-17T13:33:05.907Z","dependency_job_id":"9999b94d-50d0-4e94-a25a-93bb00271227","html_url":"https://github.com/code-kern-ai/refinery-lf-exec-env","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-kern-ai%2Frefinery-lf-exec-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-kern-ai%2Frefinery-lf-exec-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-kern-ai%2Frefinery-lf-exec-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-kern-ai%2Frefinery-lf-exec-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-kern-ai","download_url":"https://codeload.github.com/code-kern-ai/refinery-lf-exec-env/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240619428,"owners_count":19830204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:07:02.178Z","updated_at":"2025-02-25T06:44:44.233Z","avatar_url":"https://github.com/code-kern-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# refinery-lf-exec-env [![Build Status](https://drone.dev.kern.ai/api/badges/code-kern-ai/refinery-lf-exec-env/status.svg?ref=refs/heads/dev)](https://drone.dev.kern.ai/code-kern-ai/refinery-lf-exec-env)\n[![refinery repository](https://uploads-ssl.webflow.com/61e47fafb12bd56b40022a49/62c2f30f935f4d37dc864eeb_Kern%20refinery.png)](https://github.com/code-kern-ai/refinery)\n\nExecution environment for labeling functions in [refinery](https://github.com/code-kern-ai/refinery). Containerized function as a service to execute user-defined Python scripts.\n\nFor classification tasks, the schema is:\n```python\nfrom typing import Dict, Any\n\ndef my_labeling_function(record: Dict[str: Any]) -\u003e str:\n  return \"my_label\"\n```\n\nFor extraction tasks, the schema is:\n```python\nfrom typing import Dict, Any, Tuple\n\ndef my_labeling_function(record: Dict[str: Any]) -\u003e Tuple[str, int, int]:\n  start_idx = ...\n  end_idx = ... # excluding format\n  return \"my_label\", start_idx, end_idx\n```\n\nIf you like what we're working on, please leave a ⭐ for [refinery](https://github.com/code-kern-ai/refinery)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-kern-ai%2Frefinery-lf-exec-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-kern-ai%2Frefinery-lf-exec-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-kern-ai%2Frefinery-lf-exec-env/lists"}