{"id":15568634,"url":"https://github.com/jayvdb/tox-add-factor","last_synced_at":"2026-02-10T03:33:02.657Z","repository":{"id":62585036,"uuid":"304206802","full_name":"jayvdb/tox-add-factor","owner":"jayvdb","description":"tox-add-factor allows addition of factors on the command line, such as CI, OS, username and arch, so that they can be used to select dependencies and commands.","archived":false,"fork":false,"pushed_at":"2021-10-27T01:03:36.000Z","size":15,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T06:59:52.765Z","etag":null,"topics":["appveyor-ci","ci","cirrus-ci","tox","tox-plugin","travis-ci","username"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/tox-add-factor/","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/jayvdb.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":"2020-10-15T04:09:24.000Z","updated_at":"2023-11-06T17:56:52.000Z","dependencies_parsed_at":"2022-11-03T21:49:02.301Z","dependency_job_id":null,"html_url":"https://github.com/jayvdb/tox-add-factor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jayvdb/tox-add-factor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayvdb%2Ftox-add-factor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayvdb%2Ftox-add-factor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayvdb%2Ftox-add-factor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayvdb%2Ftox-add-factor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayvdb","download_url":"https://codeload.github.com/jayvdb/tox-add-factor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayvdb%2Ftox-add-factor/sbom","scorecard":{"id":509340,"data":{"date":"2025-08-11","repo":{"name":"github.com/jayvdb/tox-add-factor","commit":"38742451c74a7655592d6930f8f365574cb13ee7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/semgrep.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":"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":"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/semgrep.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/jayvdb/tox-add-factor/semgrep.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/semgrep.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/jayvdb/tox-add-factor/semgrep.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"Code-Review","score":0,"reason":"Found 0/6 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":"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":"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":-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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/jayvdb/.github/SECURITY.md:1","Info: Found linked content: github.com/jayvdb/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/jayvdb/.github/SECURITY.md:1","Info: Found text in security policy: github.com/jayvdb/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}}]},"last_synced_at":"2025-08-20T00:07:56.460Z","repository_id":62585036,"created_at":"2025-08-20T00:07:56.460Z","updated_at":"2025-08-20T00:07:56.460Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29289907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T02:32:08.756Z","status":"ssl_error","status_checked_at":"2026-02-10T02:30:31.937Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["appveyor-ci","ci","cirrus-ci","tox","tox-plugin","travis-ci","username"],"created_at":"2024-10-02T17:19:56.215Z","updated_at":"2026-02-10T03:33:02.642Z","avatar_url":"https://github.com/jayvdb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tox-add-factor\n\ntox-add-factor allows addition of factors on the command line,\nso that they can be used to select dependencies and commands.\n\nAny factor can be added with `--prepend-factor` and `--append-factor`.\nThe added factors can be combined with the `-e` argument and\n`TOXENV` environment variable.\n\n## CI factors\n\nThe argument `add-ci-factor` will detect the CI from the list below and add\nit as a factor or fallback to adding \"ci\":\n\n- appveyor\n- cirrusci\n- travis\n\nTo always add a \"ci\" factor, use `--append-factor=ci`.\n\nMany CI services use a username which are the name of the service name.\nFor those services, the `--prepend-username-factor` may be helpful.\n\n## Platform factors\n\nThree specific factors can be added to simplify selecting OS and arch:\nThe following example depends on `--prepend-ostype-factor`\n\n```ini\n[testenv:osdeps]\ndeps =\n  linux: distro\n  windows: jaraco.windows\ncommands =\n  linux: distro --help\n  windows: enver --help\n```\n\nThe factor names are determined by https://github.com/workhorsy/py-osinfo\nThis may change in the future if\n[distro issue 177](https://github.com/nir0s/distro/issues/177)\nis ever fixed.\n\nThe factors `--prepend-cpuarch-factor` and `--prepend-archraw-factor`\nare provided by https://github.com/workhorsy/py-cpuinfo .\n\nThe cpuarch factor currently only supports:\n\n- x86_32\n- x86_64\n- arm_7\n- arm_8\n- ppc_64\n- s390x\n\nWith the above two factors added, `deps` can contain\n`windows-x86_32: M2CryptoWin32` (however that may not install due to its deps).\n\nIf tox is run on an arch not in that list, the cpuarch factor will be omitted\nwith a warning which provides the archraw factor name which can be used.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayvdb%2Ftox-add-factor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayvdb%2Ftox-add-factor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayvdb%2Ftox-add-factor/lists"}