{"id":24316013,"url":"https://github.com/rimvaliulin/pass","last_synced_at":"2025-09-04T12:39:41.629Z","repository":{"id":10143068,"uuid":"12218598","full_name":"rimvaliulin/pass","owner":"rimvaliulin","description":"The pythonic awesome css stylesheet language.","archived":false,"fork":false,"pushed_at":"2018-08-14T09:24:59.000Z","size":92,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T06:47:57.026Z","etag":null,"topics":["css","css-framework","preprocessor","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rimvaliulin.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":"2013-08-19T14:20:29.000Z","updated_at":"2023-07-24T08:31:58.000Z","dependencies_parsed_at":"2022-08-30T11:01:30.363Z","dependency_job_id":null,"html_url":"https://github.com/rimvaliulin/pass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rimvaliulin/pass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimvaliulin%2Fpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimvaliulin%2Fpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimvaliulin%2Fpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimvaliulin%2Fpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimvaliulin","download_url":"https://codeload.github.com/rimvaliulin/pass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimvaliulin%2Fpass/sbom","scorecard":{"id":776700,"data":{"date":"2025-08-11","repo":{"name":"github.com/rimvaliulin/pass","commit":"66744a0449e4541772e0330147cc2b1e49bed341"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"Code-Review","score":0,"reason":"Found 0/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":"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":"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":"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":"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":"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":"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":"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: BSD 3-Clause \"New\" or \"Revised\" 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"}}]},"last_synced_at":"2025-08-23T03:49:12.932Z","repository_id":10143068,"created_at":"2025-08-23T03:49:12.933Z","updated_at":"2025-08-23T03:49:12.933Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273611371,"owners_count":25136971,"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-09-04T02:00:08.968Z","response_time":61,"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":["css","css-framework","preprocessor","python"],"created_at":"2025-01-17T12:17:21.935Z","updated_at":"2025-09-04T12:39:41.574Z","avatar_url":"https://github.com/rimvaliulin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====\nPass\n====\nhttp://github.com/rimvaliulin/pass\n\nThe **pythonic awesome** stylesheet language.\n\nAbout\n=====\nPass is a dynamic stylesheet language and css preprocessor for web-developers that makes ccs coding simple and\nbeautiful by having dynamic behavior such as variables, inheritance, operations and functions with python like indented syntax.\n\nInstallation\n------------\n\n::\n\n    pip install pass\n\nCommand-line usage\n------------------\n\n::\n\n    pass style.pass\n\nUsage in Code\n-------------\n\n::\n\n    import Pass\n\n    Pass('style.pass')\n\nSyntax\n======\n - Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. `\"DRY - don't repeat yourself\" \u003chttp://en.wikipedia.org/wiki/Don't_repeat_yourself\u003e`_\n - There should be one — and preferably only one — obvious way to do it\", from `\"The Zen of Python\" \u003chttp://en.wikipedia.org/wiki/The_Zen_of_Python\u003e`_.\n\nVariables and operators\n-----------------------\nVariables allow you to specify widely used values in a single place, and then re-use them throughout the stylesheet,\nmaking global changes as easy as changing one line of code.\n\n+------------------------------------------+------------------------------------------+\n|::                                        |::                                        |\n|                                          |                                          |\n|    // Pass                               |    /* Compiled CSS */                    |\n|    link_active = #1f6ba2                 |    .menu-item {                          |\n|    link_hover = #ccc                     |        color: #1f6ba2;                   |\n|    link_height = 32px                    |        line-height: 16px                 |\n|    link_size = 1em                       |    }                                     |\n|                                          |    a:hover {                             |\n|    .menu-item                            |        color: #ccc                       |\n|      color link_active                   |        font-size: 1.5em                  |\n|      line-height link_height / 2         |        background: #000                  |\n|                                          |    }                                     |\n|    a:hover                               |                                          |\n|      color link_hover                    |                                          |\n|      font-size link_size + 0.5           |                                          |\n|      background #000                     |                                          |\n|                                          |                                          |\n+------------------------------------------+------------------------------------------+\n\nNested selectors\n----------------\nRather than constructing long selector names to specify inheritance, you can simply nest selectors\ninside other selectors.\n\n+------------------------------------------+------------------------------------------+\n|::                                        |::                                        |\n|                                          |                                          |\n|    // Pass                               |    /* Compiled CSS */                    |\n|    line_height = 16px                    |    .menu {                               |\n|    .menu                                 |        margin-bottom 8px                 |\n|      margin-bottom line_height/2         |    }                                     |\n|      -item                               |    .menu-item {                          |\n|        float left                        |        float left                        |\n|        color #fff                        |        color #fff                        |\n|        :visited                          |    }                                     |\n|          color #eee                      |    .menu-item:visited {                  |\n|        _active                           |        color #eee                        |\n|        :hover                            |    }                                     |\n|          color #ccc                      |    .menu-item_active, .menu-item:hover { |\n|      span                                |       color #ccc                         |\n|        background-color #ccc             |    }                                     |\n|                                          |    .menu span {                          |\n|                                          |        background-color #ccc             |\n|                                          |    }                                     |\n|                                          |                                          |\n+------------------------------------------+------------------------------------------+\n\nSelector inheritance\n--------------------\nClass naming scheme::\n\n             block-[element]\n    [child_]parent-[[parent]_child]\n\n+------------------------------------------+------------------------------------------+\n|::                                        |::                                        |\n|                                          |                                          |\n|    // Pass                               |    /* Compiled CSS */                    |\n|    ._foo                                 |    ._foo,.foo,.сhild_foo,.new_child_foo{}|\n|      pass                                |    .foo{}                                |\n|                                          |    .child_foo,.new_child_foo{}           |\n|    .foo                                  |    .new_child_foo{}                      |\n|      pass                                |                                          |\n|                                          |                                          |\n|    .сhild_foo                            |                                          |\n|      pass                                |                                          |\n|                                          |                                          |\n|    .new_child_foo                        |                                          |\n|      pass                                |    .bar-link,bar-link_active{}           |\n|                                          |    bar-link_active{}                     |\n|    .bar                                  |                                          |\n|      -link                               |                                          |\n|        pass                              |                                          |\n|        _acive                            |                                          |\n|          pass                            |                                          |\n+------------------------------------------+------------------------------------------+\n\n\nParent directive\n--------------------\nUsage::\n\n    @parent \"style.pass\"\n\n\nFunctions\n---------\n\nColor initialization\n####################\n\nrgb(r, g, b) - Converts an Rgb(r, g, b) triplet into a color\n\nrgba(r, g, b, a) - Converts an Rgba(r, g, b, a) quadruplet into a color.\n\nhsl(h, s, l) - Converts an Hsl(h, s, l) triplet into a color.\n\nhsla(h, s, l, a) - Converts an Hsla(h, s, l) quadruplet into a color.\n\n\nGet/set color components\n########################\n\nred(color, value=None) - Return the red component of the given color.\n\ngreen(color, value=None) - Return the green component of the given color.\n\nblue(color, value=None) - Return the blue component of the given color.\n\nhue(color, value=None) - Return the hue of the given color.\n\nsaturation(color, value=None) - Return the saturation of the given color.\n\nlightness(color, value=None) - Return the lightness of the given color.\n\nalpha(color, value=None) - Return the alpha component of the given color.\n\nColor adjustment\n################\n\nspinin(color, value=Pr(10)) - Changes the hue of a color.\n\nspinout(color, value=Pr(10)) - Changes the hue of a color.\n\nlighten(color, value=Pr(10)) - Makes a color lighten.\n\ndarken(color, value=Pr(10)) - Makes a color darker.\n\nsaturate(color, value=Pr(10)) - Makes a color more saturated.\n\nesaturate(color, value=Pr(10)) - Makes a color less saturated.\n\nfadein(color, value=Pr(10)) - Add or change an alpha layer for any color value.\n\nfadeout(color, value=Pr(10)) - Add or change an alpha layer for any color value.\n\ngrayscale(color) - Converts a color to grayscale.\n\ncomplement(color) - Returns the complement of a color.\n\ninvert(color) - Returns the inverse of a color.\n\nmix(color, color1, weight=Pr(50)) - Mixes two colors together.\n\nString Functions\n################\n\nquote(s) - Removes the quotes from a string.\n\nunquote(s) - Adds quotes to a string.\n\nNumber Functions\n################\n\npercentage(value) - Converts a unitless number to a percentage.\n\nround_(value, digits=0) - Rounds a number to the nearest whole number.\n\nceil(value) - Rounds a number up to the nearest whole number.\n\nfloor(value) - Rounds a number down to the nearest whole number.\n\n\nCommand-line options\n--------------------\n\n--version                               show program's version number and exit\n-h, --help                              show this help message and exit\n-i, --inherit                           use selector inheritance, rather then property duplication\n-c, --compressed                        compress imported .css files\n-e, --empty-selectors                   keep empty selectors\n-r, --respect-indents                   respect indentes\n-n, --newlines                          use newlines\n-I INDENT, --indent=INDENT              .pass file indentation. default 2 breaks\n-C CSS_INDENT, --css-indent=CSS_INDENT  .css file indentation. default 4 breaks\n-C CSS_INDENT, --css-indent=CSS_INDENT  .css file indentation. default 4 breaks\n\nLicense\n=======\n\nSee ``LICENSE`` file.\n\n::\n\n\u003e Copyright (c) 2012 Rim Valiulin\n\n\n:Author: Rim Valiulin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimvaliulin%2Fpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimvaliulin%2Fpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimvaliulin%2Fpass/lists"}