{"id":34075457,"url":"https://github.com/trustcruit/tclambda","last_synced_at":"2026-05-31T19:32:35.842Z","repository":{"id":48291270,"uuid":"184209801","full_name":"trustcruit/tclambda","owner":"trustcruit","description":"AWS Lambda calling library","archived":false,"fork":false,"pushed_at":"2022-12-08T03:13:31.000Z","size":146,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-29T09:29:46.139Z","etag":null,"topics":["aws-lambda","python3","python37"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/tclambda/","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/trustcruit.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":null,"security":null,"support":null}},"created_at":"2019-04-30T07:04:36.000Z","updated_at":"2020-03-20T14:11:19.000Z","dependencies_parsed_at":"2023-01-24T07:10:10.563Z","dependency_job_id":null,"html_url":"https://github.com/trustcruit/tclambda","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/trustcruit/tclambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftclambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftclambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftclambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftclambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trustcruit","download_url":"https://codeload.github.com/trustcruit/tclambda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftclambda/sbom","scorecard":{"id":900030,"data":{"date":"2025-08-11","repo":{"name":"github.com/trustcruit/tclambda","commit":"4413944243257d36088805d8e2f97b0d8b56b87d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/push.yml:1","Info: no jobLevel write permissions found"],"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":"Code-Review","score":0,"reason":"Found 0/12 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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"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":"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":"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/push.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/trustcruit/tclambda/push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/trustcruit/tclambda/push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/trustcruit/tclambda/push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/trustcruit/tclambda/push.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction 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":"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":-1,"reason":"no releases found","details":null,"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 'master'"],"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":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-29pr-6jr8-q5jm","Warn: Project is vulnerable to: GHSA-g92j-qhmh-64v2","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 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-24T15:13:35.935Z","repository_id":48291270,"created_at":"2025-08-24T15:13:35.935Z","updated_at":"2025-08-24T15:13:35.935Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33746507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":["aws-lambda","python3","python37"],"created_at":"2025-12-14T09:45:04.169Z","updated_at":"2026-05-31T19:32:35.823Z","avatar_url":"https://github.com/trustcruit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**DO NOT USE, THIS IS PRE-ALPHA, ~HAS NO TESTS~, NO MONITORING, BAD LOGGING**\n\n# tclambda\nAWS Lambda calling library\n\nWorks together with functions defined in [tc-sam-cli](https://pypi.org/project/tc-sam-cli/)\n\n## Configuration of AWS Lambda\n\n```python\n# app.py\nimport tclambda\n\nfrom numpy.polynomial.polynomial import polyfit as np_polyfit\n\nhandler = tclambda.LambdaHandler()\n\n\n@handler.register()\ndef polyfit(*args, **kwargs):\n    return list(np_polyfit(*args, **kwargs))\n```\n\nThe registered handler must return something that is json serializable.\n\n\n## Usage in other projects\n\nConfiguration is primarely done by environmental variables.\n\n```sh\nTC_NUMPY_QUEUE=\"https://sqs.eu-west-1.amazonaws.com/12345/NumpySqs\"\nTC_NUMPY_BUCKET=\"s3-result-bucket\"\n```\n\n```python\nfrom tclambda.auto_functions import numpy\n\nlambda_result = numpy.polyfit([1, 2], [2, 1], 1)\nprint(lambda_result.result())\n# Output: [2.999999999999998, -0.9999999999999992]\n```\n\n\n## Retry lambda\n\n```python\nimport tclambda\nimport requests\n\nhandler = tclambda.LambdaHandler()\n\n\n@handler.register()\ndef web_data(*args, **kwargs):\n    try:\n        response = requests.get(\"https://example.com\")\n        response.raise_for_status()\n    except Exception as e:\n        raise tclambda.RetryException(e)\n    return response.text\n```\n\n## Error handling\n\n### Sentry\n\nInstall tclambda together with sentry `pip install tclambda[sentry]`\nSetting up sentry is done automatically through environmental variables.\n\n- SENTRY_DSN\n- SENTRY_RELEASE\n- SENTRY_ENVIRONMENT\n\n\n# Tests\n\n- Create an S3 bucket to test live against\n- Add `TC_THIS_BUCKET=my-test-s3-bucket` to `.env`\n- Run `pipenv run test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustcruit%2Ftclambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrustcruit%2Ftclambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustcruit%2Ftclambda/lists"}