{"id":15519162,"url":"https://github.com/i80and/fett","last_synced_at":"2025-11-11T23:35:20.297Z","repository":{"id":12445551,"uuid":"71832151","full_name":"i80and/fett","owner":"i80and","description":"A fast indentation-preserving template engine","archived":false,"fork":false,"pushed_at":"2022-10-31T21:01:42.000Z","size":49,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T20:17:28.653Z","etag":null,"topics":["templating","templating-engine","templating-language"],"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/i80and.png","metadata":{"files":{"readme":"README.rst","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":"2016-10-24T21:06:23.000Z","updated_at":"2022-07-14T15:41:57.000Z","dependencies_parsed_at":"2022-08-07T06:16:59.975Z","dependency_job_id":null,"html_url":"https://github.com/i80and/fett","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/i80and/fett","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Ffett","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Ffett/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Ffett/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Ffett/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i80and","download_url":"https://codeload.github.com/i80and/fett/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Ffett/sbom","scorecard":{"id":476446,"data":{"date":"2025-08-11","repo":{"name":"github.com/i80and/fett","commit":"ba3577fcd54244730075777f8c26dd6002d4b958"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":"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":"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":"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":-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":"Code-Review","score":0,"reason":"Found 1/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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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-19T15:25:19.179Z","repository_id":12445551,"created_at":"2025-08-19T15:25:19.179Z","updated_at":"2025-08-19T15:25:19.179Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283950016,"owners_count":26921648,"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-11-11T02:00:06.610Z","response_time":65,"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":["templating","templating-engine","templating-language"],"created_at":"2024-10-02T10:20:26.499Z","updated_at":"2025-11-11T23:35:20.282Z","avatar_url":"https://github.com/i80and.png","language":"Python","readme":".. |travis| image:: https://travis-ci.org/i80and/fett.svg?branch=master\n            :target: https://travis-ci.org/i80and/fett\n\n=============\nFett |travis|\n=============\n\nOverview\n--------\n\nExample\n-------\n\n.. code-block:: python\n\n   import fett\n\n   fett.Template('''{{ for customer in customers }}\n   {{ if i even }}\n   Even: {{ customer.name }}\n   {{ else }}\n   Odd: {{ customer.name }}\n   {{ end }}\n   {{ else }}\n   No customers :(\n   {{ end }}''').render({'customers': [\n       {'name': 'Bob'},\n       {'name': 'Elvis'},\n       {'name': 'Judy'}\n   ]})\n\nSyntax\n------\n\n==========================================   ===========\nTag Format                                   Description\n==========================================   ===========\n``{{ \u003cexpression\u003e }}``                       Substitutions_\n``{{ `foo` \u003cexpression\u003e }}``                 Substitutions_\n``{{ format \u003cname\u003e }}``                      Metaformatting_\n``{{ if \u003cexpression\u003e }}``                    Conditionals_\n``{{ for \u003cname\u003e in \u003cexpression\u003e }}``         Loops_\n``{{ else }}``\n``{{ end }}``                                Block termination\n``{{ # \u003ccomment\u003e }}``                        Comments_\n==========================================   ===========\n\nSpaces between tag opening/closing delimiters are optional.\n\nExpressions\n~~~~~~~~~~~\n\nAn **expression** is given for Substitutions_, Conditionals_, and Loops_.\n\nExpressions take the following form:\n\n    \u003cname\u003e[.\u003csubfield\u003e...] [\u003cfilter\u003e [\u003cfilter2\u003e...]]\n\nInstead of specifying a field path, you can start an expression using\na string literal:\n\n    `\u003cliteral\u003e` [\u003cfilter\u003e [\u003cfilter2\u003e...]]\n\nYou can use **filters** to modify a single value in simple ways. For example,\nthe loop iteration counter ``i`` counts from ``0``, but users often wish to\ncount from ``1``. You can obtain a count-from-1 value with the expression\n``i inc``.\n\nThe full list of filters:\n\n===========  ======\nFilter Name  Effect\n===========  ======\ncar          Returns the first element of a list.\ncdr          Returns all but the first element of a list.\ndec          Decrements a value representable as an integer by one.\neven         Returns true iff its input is representable as an even integer.\nescape       Encodes `\u0026`, `\u003c`, `\u003e`, `\"`, and `'` characters with HTML entities.\ninc          Increments a value representable as an integer by one.\nlen          Returns the length of a list.\nnot          Returns the inverse of a boolean.\nodd          Returns true iff its input is representable as an odd integer.\nnegative     Returns true iff its input is representable as an integer \u003c 0.\npositive     Returns true iff its input is representable as an integer \u003e 0.\nsplit        Splits a value into a list by whitespace.\nstrip        Returns the input string with surrounding whitespace removed.\nstriptags    Remove HTML tags from a value.\ntimesNegOne  Returns int(input) * -1\nzero         Returns true iff the input is zero\n===========  ======\n\n===========  ======\nFilter Name  Effect\n===========  ======\nupperCase    Returns a Unicode-aware uppercase version of the input.\nlowerCase    Returns a Unicode-aware lowercase version of the input.\n===========  ======\n\n=====================  ======\nFilter Name            Effect\n=====================  ======\nadd(n)                 Increments a value representable as an integer by `n`.\nminus(n)               Decrements a value representable as an integer by `n`.\nequal(value)           Returns true iff a value equals the given value.\nlessThan(n)            Returns true iff n \u003c the given value.\nlessThanOrEqual(n)     Returns true iff n \u003c= the given value.\ngreaterThan(n)         Returns true iff n \u003e the given value.\ngreaterThanOrEqual(n)  Returns true iff n \u003e= the given value.\n=====================  ======\n\nSubstitutions\n~~~~~~~~~~~~~\n\nMetaformatting\n~~~~~~~~~~~~~~\n\nConditionals\n~~~~~~~~~~~~\n\nLoops\n~~~~~\n\nComments\n~~~~~~~~\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi80and%2Ffett","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi80and%2Ffett","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi80and%2Ffett/lists"}