{"id":19816965,"url":"https://github.com/geoadmin/tool-aws","last_synced_at":"2026-06-11T11:31:19.070Z","repository":{"id":57476199,"uuid":"70698714","full_name":"geoadmin/tool-aws","owner":"geoadmin","description":"A set of generic utility tools to manage some aws services","archived":false,"fork":false,"pushed_at":"2025-04-23T07:48:53.000Z","size":284,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":23,"default_branch":"develop","last_synced_at":"2025-08-27T00:24:50.387Z","etag":null,"topics":["managed-by-tf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geoadmin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T12:40:50.000Z","updated_at":"2025-04-23T07:48:55.000Z","dependencies_parsed_at":"2024-11-12T10:11:24.443Z","dependency_job_id":"144bb6e1-0fca-4519-8449-5be7124cdd1e","html_url":"https://github.com/geoadmin/tool-aws","commit_stats":{"total_commits":65,"total_committers":4,"mean_commits":16.25,"dds":0.3846153846153846,"last_synced_commit":"e7ed6e3ee82f94adb6c356301c835bcceb0cb671"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/geoadmin/tool-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geoadmin%2Ftool-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geoadmin%2Ftool-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geoadmin%2Ftool-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geoadmin%2Ftool-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geoadmin","download_url":"https://codeload.github.com/geoadmin/tool-aws/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geoadmin%2Ftool-aws/sbom","scorecard":{"id":422799,"data":{"date":"2025-08-11","repo":{"name":"github.com/geoadmin/tool-aws","commit":"ac51e9c75f641a24cf118c845ec83bed9c709aed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":6,"reason":"Found 6/10 approved changesets -- score normalized to 6","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" 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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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-19T01:38:07.746Z","repository_id":57476199,"created_at":"2025-08-19T01:38:07.746Z","updated_at":"2025-08-19T01:38:07.746Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34197393,"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-06-11T02:00:06.485Z","response_time":57,"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":["managed-by-tf"],"created_at":"2024-11-12T10:11:15.159Z","updated_at":"2026-06-11T11:31:19.065Z","avatar_url":"https://github.com/geoadmin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"tool-aws\n========\n\n\u003e [!WARNING]\n\u003e This project is no longer under active development\n\n### Macro CMDs for managing AWS resources\n\n## Installation\n\n`$ pip install tool_aws`\n\n## Usage\n\nBatch delete files in S3 by listing content iteratively with a prefix.\n\n`$ s3rm --bucket-name ${BUCKET_NAME} --prefix ${PATH}`\n\nBatch delete tiles in S3 using a bbox in LV95:\n\n`$ s3rm --bucket-name ${BUCKET_NAME} --prefix /1.0.0/ch.swisstopo.fixpunkte-agnes/default/current/2056/* --bbox 2671000,1139000,2712250,1158500 --image-format png`\n\n\nYou can always use the help function:\n\n```\n$ s3rm --help\nusage: s3rm [-h] -b BUCKETNAME -p PREFIX [--profile PROFILENAME] [--bbox BBOX]\n            [-n NBTHREADS] [-s CHUNKSIZE] [-i IMAGEFORMAT] [-lr LOWRES]\n            [-hr HIGHRES] [-f]\n\nPurpose:\n    This script is intended for efficient and MASSIVE RECURSIVE\n    DELETION of S3 'folders'. This mean that any resource matching with\n    the PREFIX variable, will be DELETED IRREVERSIVELY.\n\n    Use this script CAREFULLY.\n\noptional arguments:\n  -h, --help            show this help message and exit\n\nMandatory arguments:\n  -b BUCKETNAME, --bucket-name BUCKETNAME\n                        bucket name\n  -p PREFIX, --prefix PREFIX\n                        Prefix (string) relative to the bucket base path.\n\nProgram options:\n  --profile PROFILENAME\n                        AWS profile\n  --bbox BBOX           a bounding box in lv95\n  -n NBTHREADS, --threads-number NBTHREADS\n                        Number of threads (subprocess), default: machine\n                        number of CPUs\n  -s CHUNKSIZE, --chunk-size CHUNKSIZE\n                        Chunk size for S3 batch deletion, default is set to\n                        1000 (maximal value for S3)\n  -i IMAGEFORMAT, --image-format IMAGEFORMAT\n                        The image format\n  -lr LOWRES, --lowest-resolution LOWRES\n                        The lowest resolution in meters\n  -hr HIGHRES, --highest-resolution HIGHRES\n                        The highest resolution in meters\n  -f, --force           force the removal, i.e. no prompt for confirmation.\n\nDisclaimer:\n    This software is provided \"as is\" and\n    is not granted to work in particular cases or without bugs.\n    The author disclaims any responsability in case of data loss,\n    computer damage or any other bad issue that could arise\n    using this software.\n```\n\n## Setup in dev mode\n\n`$ python3 -m venv .venv`\n`$ source .venv/bin/activate`\n`$ pip install -e .`\n`$ pip install -r dev-requirements.txt`\n\n\nTo launch the tests:\n\n`$ nose2 tests`\n\n### Style\n\nControl styling:\n\n`$ flake8 tool_aws/ tests/`\n\nAutofix mistakes:\n\n`$ find tool_aws/* tests/* -type f -name '*.py' -print | xargs autopep8 --in-place --aggressive --aggressive --verbose`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeoadmin%2Ftool-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeoadmin%2Ftool-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeoadmin%2Ftool-aws/lists"}