{"id":18565679,"url":"https://github.com/quiltdata/benchling-packager","last_synced_at":"2025-04-10T04:33:02.801Z","repository":{"id":189199229,"uuid":"640937588","full_name":"quiltdata/benchling-packager","owner":"quiltdata","description":"Example of Benchling integration","archived":false,"fork":false,"pushed_at":"2024-09-26T18:23:21.000Z","size":71,"stargazers_count":4,"open_issues_count":13,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T16:27:16.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/quiltdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-15T12:45:03.000Z","updated_at":"2024-09-26T18:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"d96e4310-faac-42f5-919b-5c9d3c164b64","html_url":"https://github.com/quiltdata/benchling-packager","commit_stats":null,"previous_names":["quiltdata/benchling-packager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quiltdata%2Fbenchling-packager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quiltdata%2Fbenchling-packager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quiltdata%2Fbenchling-packager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quiltdata%2Fbenchling-packager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quiltdata","download_url":"https://codeload.github.com/quiltdata/benchling-packager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248157700,"owners_count":21057057,"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-06T22:19:52.200Z","updated_at":"2025-04-10T04:33:02.484Z","avatar_url":"https://github.com/quiltdata.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# benchling-packager\n\nThe Benchling Packager is a lambda you can deploy in your own AWS private cloud to process\n[Benchling](https://benchling.com/) events in order to create (and link back, if possible)\na dedicated [Quilt](https://quiltdata.com/) package for every Benchling notebook.\n\nThe CloudFormation template is available on\n[open.quiltdata.com](https://open.quiltdata.com/b/quilt-example/packages/examples/benchling-packager).\n\nThis repository contains the source code for generating that template.\nIt is open source under the [Apache 2.0 license](./LICENSE.txt).\n\n## Template generation\n\nRequires a recent version of Python 3.\n\n```shell\npython3 -m venv venv\n. ./venv/bin/activate\npython3 -m pip install -r requirements.txt\npython3 make.py \u003e build/benchling_packager.yaml\n```\n\n## Template upload\n\n- setup the Python environment\n- generate the template in the `build` directory\n- upload the template to a Quilt package (if you have appropriate permissions)\n- open the package URL: \u003chttps://open.quiltdata.com/b/quilt-example/packages/examples/benchling-packager\u003e\n\n## Installation\n\nTo install and configure the template, see [Install.md](Install.md).\nNote: this is the file that's distributed as `README.md` in the package.\n\n## Testing for Developers\n\nIf you want to modify the actual lambda function, you can run automated tests via:\n\n```shell\nmake test\n```\n\nIn order to run these tests, you'll need to set the following environment variables\n(usually in the `.env` file, which is auto-included by the Makefile):\n\n- `BENCHLING_TENANT`: the part before \".benchling.com\" in your Benchling URL (e.g. \"mycompany\" for \"mycompany.benchling.com\")\n- `BENCHLING_CLIENT_ID`: the client ID for the Benchling API`\n- `BENCHLING_CLIENT_SECRET_ARN`: the ARN of the AWS Secrets Manager secret containing the client secret for the Benchling API\n- `DST_BUCKET`: the name of the S3 bucket (no prefix) where the generated packages should be stored\n- `PKG_PREFIX`: the prefix to use for the generated packages, with a trailing \"/\" (e.g. \"benchling/\" to store packages in the \"benchling\" directory)\n- `QUILT_CATALOG_DOMAIN`: the domain name of your Quilt catalog (if any) where the generated packages can be viewed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquiltdata%2Fbenchling-packager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquiltdata%2Fbenchling-packager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquiltdata%2Fbenchling-packager/lists"}