{"id":19165588,"url":"https://github.com/lablup/callosum","last_synced_at":"2025-09-11T02:32:34.157Z","repository":{"id":43826521,"uuid":"131797423","full_name":"lablup/callosum","owner":"lablup","description":"An RPC Transport Library for asyncio","archived":false,"fork":false,"pushed_at":"2025-07-07T20:52:05.000Z","size":323,"stargazers_count":20,"open_issues_count":6,"forks_count":2,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-07-08T00:34:39.899Z","etag":null,"topics":["asyncio","backendai","networking","python","rpc","zeromq"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lablup.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-02T04:19:58.000Z","updated_at":"2025-06-08T12:00:50.000Z","dependencies_parsed_at":"2024-01-01T23:28:01.808Z","dependency_job_id":"87ed9e1c-92f0-4dc6-b00a-173d0287c3f3","html_url":"https://github.com/lablup/callosum","commit_stats":{"total_commits":162,"total_committers":3,"mean_commits":54.0,"dds":"0.30246913580246915","last_synced_commit":"a9ee21ee215f8614cb72d05f5c8b3a74fd0dbe80"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/lablup/callosum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablup%2Fcallosum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablup%2Fcallosum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablup%2Fcallosum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablup%2Fcallosum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lablup","download_url":"https://codeload.github.com/lablup/callosum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablup%2Fcallosum/sbom","scorecard":{"id":576461,"data":{"date":"2025-08-11","repo":{"name":"github.com/lablup/callosum","commit":"4ad66c115c941ec55bf262079cd628b9140393ba"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/default.yml:181","Warn: no topLevel permission defined: .github/workflows/default.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:120: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:145: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:153: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:164: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:169: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:185: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:187: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:192: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:197: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:205: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/default.yml:213: update your workflow using https://app.stepsecurity.io/secureworkflow/lablup/callosum/default.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/default.yml:43","Warn: pipCommand not pinned by hash: .github/workflows/default.yml:44","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.0.3 not signed: https://api.github.com/repos/lablup/callosum/releases/144610498","Warn: release artifact 1.0.2 not signed: https://api.github.com/repos/lablup/callosum/releases/144042709","Warn: release artifact 1.0.1 not signed: https://api.github.com/repos/lablup/callosum/releases/121482504","Warn: release artifact 1.0.0 not signed: https://api.github.com/repos/lablup/callosum/releases/121139689","Warn: release artifact 1.0.3 does not have provenance: https://api.github.com/repos/lablup/callosum/releases/144610498","Warn: release artifact 1.0.2 does not have provenance: https://api.github.com/repos/lablup/callosum/releases/144042709","Warn: release artifact 1.0.1 does not have provenance: https://api.github.com/repos/lablup/callosum/releases/121482504","Warn: release artifact 1.0.0 does not have provenance: https://api.github.com/repos/lablup/callosum/releases/121139689"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/default.yml:174"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T17:56:00.896Z","repository_id":43826521,"created_at":"2025-08-20T17:56:00.896Z","updated_at":"2025-08-20T17:56:00.896Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asyncio","backendai","networking","python","rpc","zeromq"],"created_at":"2024-11-09T09:28:33.446Z","updated_at":"2025-08-20T20:32:32.207Z","avatar_url":"https://github.com/lablup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Callosum\n========\n\nAn RPC Transport Library\n\nIt provides an asynchronous multi-channel order-preserving message and data\nstreaming transport for *upper* RPC layers (e.g., Apache Thrift) by wrapping\n*lower* transport implementations (e.g., ZeroMQ).\n\nIt aims to follow the latest coding style and conventions in Python asyncio.\n\n*Corpus callosum* is a bundle of neuron fibers that connects two cerebral\nhemispheres of a human brain.\n\nPrerequisite\n------------\n\nPython 3.11 or higher.\n\nFeatures\n--------\n\n* RPC\n  - Native timeout and cancellation support\n  - Explicit server-to-client error propagation including stringified tracebacks\n  - Order preserving based on user-defined keys while keeping executions asynchronous\n* Streaming\n  - Broadcast \u0026 shared pipelines\n* Optional client authentication and encrypted communication\n  - Currently supported for only ZeroMQ with its CURVE library\n* Optional message compression using [snappy](https://pypi.org/project/python-snappy/)\n* Replacible and combinable lower/upper layers (ZeroMQ/Redis + JSON/msgpack/Thrift)\n\nPlanned features\n----------------\n\n* Managed streaming (with acks)\n* Tunneling to bundle other channels and generic network traffic in a single connection\n* Bidirectional RPC\n* Chunked transfer of large messages\n\nInstallation\n------------\n\nTo install the core:\n\n```console\n$ pip install -U pip setuptools\n$ pip install callosum\n```\n\nYou may add extra dependencies like:\n\n```console\n$ pip install 'callosum[zeromq,redis,thrift,snappy]'\n```\n\nExamples\n--------\n\nPlease check out [the examples directory.](https://github.com/lablup/callosum/tree/master/examples)\n\nDevelopment\n-----------\n\nThis project uses [uv](https://docs.astral.sh/uv/) for dependency management and development workflow.\n\n### Prerequisites\n\nInstall uv:\n\n```console\n$ curl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\n### Setup\n\nClone the repository and set up the development environment:\n\n```console\n$ git clone https://github.com/lablup/callosum.git\n$ cd callosum\n$ uv sync --dev\n```\n\nThis will create a virtual environment and install the package in editable mode along with all development dependencies.\n\n### Development Commands\n\nRun tests:\n```console\n$ uv run pytest\n```\n\nRun pre-commit hooks for linting:\n```console\n$ pre-commit run --all-files\n```\n\nBuild the package:\n```console\n$ uv build\n```\n\n### News Fragment Types\n\nUse these suffixes to put news fragments in the `changes/` directory for each PR, whereas the name should be the PR number (e.g., `1234.fix.dm`):\n\n- `.breaking.md` - Breaking changes\n- `.feature.md` - New features\n- `.fix.md` - Bug fixes\n- `.deprecation.md` - Deprecation notices\n- `.doc.md` - Documentation changes\n- `.misc.md` - Miscellaneous changes\n\n### Running Examples\n\nYou can run examples using uv with additional dependencies:\n\n```console\n$ uv sync --extra zeromq --extra redis --extra thrift --extra snappy\n$ uv run python examples/simple-server.py\n```\n\nMaking a Release\n----------------\n\nThis project uses [towncrier](https://towncrier.readthedocs.io/) for changelog management and [setuptools-scm](https://setuptools-scm.readthedocs.io/) for automatic versioning based on git tags.\n\n### Release Process\n\n1. **Ensure all changes are documented**: Add change fragments to the `changes/` directory:\n   ```console\n   # For a bug fix\n   $ echo \"Fix description of the bug fix\" \u003e changes/123.fix.md\n\n   # For a new feature\n   $ echo \"Description of the new feature\" \u003e changes/124.feature.md\n   ```\n\n2. **Generate the changelog**: Create a draft changelog to review:\n   ```console\n   $ uv run towncrier build --draft --version 1.0.4\n   ```\n\n3. **Build and finalize the changelog**: When ready to release:\n   ```console\n   $ uv run towncrier build --version 1.0.4\n   ```\n   This updates `CHANGES.md` and removes the change fragments.\n\n4. **Commit the changelog**:\n   ```console\n   $ git add CHANGES.md changes/\n   $ git commit -m \"release: 1.0.4\"\n   ```\n\n5. **Create and push a annotated, signed git tag**:\n   ```console\n   $ git tag -a -s 1.0.4\n   $ git push origin main --tags\n   ```\n\n6. **Automated release**: The GitHub Actions workflow will automatically:\n   - Run all tests and checks\n   - Build source and wheel distributions using `uv build`\n   - Extract release notes from the changelog\n   - Create a GitHub release with the built artifacts\n   - Publish to PyPI using trusted publishing\n\n### Release Workflow\n\nThe release is triggered automatically when a git tag is pushed. The workflow:\n\n1. **Triggers on**: Git tag push (e.g., `git push origin --tags`)\n2. **Builds**: Uses `uv build` to create distributions\n3. **Publishes**:\n   - GitHub release with changelog and artifacts\n   - PyPI release using trusted publishing (no manual tokens needed)\n4. **Determines release type**: Automatically detects pre-releases (`rc`, `a` (alpha), `b` (beta), `dev` suffixes)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flablup%2Fcallosum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flablup%2Fcallosum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flablup%2Fcallosum/lists"}