{"id":16281304,"url":"https://github.com/arjunbazinga/lazier","last_synced_at":"2026-04-30T09:37:55.467Z","repository":{"id":62575261,"uuid":"141544042","full_name":"arjunbazinga/lazier","owner":"arjunbazinga","description":"Sticky functions for better interactive data exploration.","archived":false,"fork":false,"pushed_at":"2019-06-01T17:06:53.000Z","size":445,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T23:55:25.067Z","etag":null,"topics":["data-science","jupyter","python"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/arjunbazinga.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":"2018-07-19T07:52:45.000Z","updated_at":"2020-05-08T10:04:48.000Z","dependencies_parsed_at":"2022-11-03T20:42:33.609Z","dependency_job_id":null,"html_url":"https://github.com/arjunbazinga/lazier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arjunbazinga/lazier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunbazinga%2Flazier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunbazinga%2Flazier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunbazinga%2Flazier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunbazinga%2Flazier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arjunbazinga","download_url":"https://codeload.github.com/arjunbazinga/lazier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunbazinga%2Flazier/sbom","scorecard":{"id":207094,"data":{"date":"2025-08-11","repo":{"name":"github.com/arjunbazinga/lazier","commit":"8a414b53f98cabb8c48506c00fcb3e62305b35fa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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 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":"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":-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":8,"reason":"binaries present in source code","details":["Warn: binary detected: dist/lazier-0.0.1-py3-none-any.whl:1","Warn: binary detected: lazier/__pycache__/__init__.cpython-36.pyc:1"],"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":"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":"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":"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: 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"}}]},"last_synced_at":"2025-08-17T00:00:48.980Z","repository_id":62575261,"created_at":"2025-08-17T00:00:48.980Z","updated_at":"2025-08-17T00:00:48.980Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","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":["data-science","jupyter","python"],"created_at":"2024-10-10T19:06:27.322Z","updated_at":"2026-04-30T09:37:55.451Z","avatar_url":"https://github.com/arjunbazinga.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lazier\n\nLazier allows you to move faster when you are exploring how functions change with their input, this module was written because I often felt that there had to be an easier way to work in a interactive enviroment with jupyter notebooks.\n\nLazier allow you to create functions which remeber what their last inputs were.\n\n## Installing \n\n```bash\npip install lazier\n```\nor\n```bash\npip3 install lazier\n```\n\n## Demo\n\nMe using it in [real life](https://arjunbazinga.github.io/lazier/softmax)  \n\n\n### Mini demo\nWithout lazier:\n\n```python\ndef foo(a,b,c,d):\n    print(a)\n    print(b)\n    print(c)\n    print(d)\n```\n\n```python\nfoo(a=1,b= 2, c=3, d=4)\n```\n\n    1\n    2\n    3\n    4\n\n```python\nfoo(d=2)\n```\n\n    ---------------------------------------------------------------------------\n\n    TypeError                                 Traceback (most recent call last)\n\n    \u003cipython-input-3-9233fe4ac2c5\u003e in \u003cmodule\u003e()\n    ----\u003e 1 foo(d=2)\n    \n    TypeError: foo() missing 3 required positional arguments: 'a', 'b', and 'c'\n\n\n\n**with Lazier**:\n\n```python\nfrom lazier import lazier\n```\n\n\n```python\n@lazier\ndef foo(a,b,c,d):\n    print(a)\n    print(b)\n    print(c)\n    print(d)\n```\n\n\n```python\nfoo(a=1,b= 2, c=3, d=4)\n```\n\n    1\n    2\n    3\n    4\n\n\nNow suppose you want to see how the output of the function changed if d was 7 in the above function call, with lazier it looks like:\n\n```python\nfoo(d=7)\n```\n\n    1\n    2\n    3\n    7\n\n\nand so on.\n\n```python\nfoo(a=9)\n```\n\n    9\n    2\n    3\n    7\n\n\n\nusing reset you can forget all past values that it remebers\n\n```python\nfoo.reset()\n```\n\n\n```python\nfoo()\n```\n\n    foo() missing 4 required positional arguments: 'a', 'b', 'c', and 'd'\n\n\n\n```python\nfoo(a=1, b=11, c=3)\n```\n\n    foo() missing 1 required positional argument: 'd'\n\n\n\n```python\nfoo(d=9)\n```\n\n    1\n    11\n    3\n    9\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunbazinga%2Flazier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjunbazinga%2Flazier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunbazinga%2Flazier/lists"}