{"id":15550066,"url":"https://github.com/hscspring/python-cookbook","last_synced_at":"2026-02-04T00:01:34.028Z","repository":{"id":105868477,"uuid":"448746748","full_name":"hscspring/python-cookbook","owner":"hscspring","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-28T02:57:41.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T04:38:27.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hscspring.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":"2022-01-17T03:52:42.000Z","updated_at":"2024-07-28T02:57:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"7849d47e-3d60-4dad-b754-998366fbe6a4","html_url":"https://github.com/hscspring/python-cookbook","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"7cbd731f7121d9320143a4e96092042e79f80771"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hscspring/python-cookbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hscspring%2Fpython-cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hscspring%2Fpython-cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hscspring%2Fpython-cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hscspring%2Fpython-cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hscspring","download_url":"https://codeload.github.com/hscspring/python-cookbook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hscspring%2Fpython-cookbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29062481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T23:14:54.203Z","status":"ssl_error","status_checked_at":"2026-02-03T23:14:50.873Z","response_time":96,"last_error":"SSL_read: 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":[],"created_at":"2024-10-02T13:49:33.279Z","updated_at":"2026-02-04T00:01:33.988Z","avatar_url":"https://github.com/hscspring.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-cookbook\n\n\n\n## Mocker\n\n[Mocking database calls in python using pytest-mock - Stack Overflow](https://stackoverflow.com/questions/66223290/mocking-database-calls-in-python-using-pytest-mock)\n\n[Pytest-mock. How to mock your database connection. | by Mariusz Raczynski | Medium](https://medium.com/@mariusz.raczynski2/pytest-mock-how-to-mock-your-database-connection-5c84a5a0bfc3)\n\n\n## yield and return\n\n[python - What does the \"yield\" keyword do? - Stack Overflow](https://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhscspring%2Fpython-cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhscspring%2Fpython-cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhscspring%2Fpython-cookbook/lists"}