{"id":51392058,"url":"https://github.com/nocomplexity/pythonsecurity","last_synced_at":"2026-07-04T00:33:09.717Z","repository":{"id":360962764,"uuid":"1252457408","full_name":"nocomplexity/pythonsecurity","owner":"nocomplexity","description":"The Python Security Handbook","archived":false,"fork":false,"pushed_at":"2026-06-23T15:13:30.000Z","size":3692,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-23T16:24:41.743Z","etag":null,"topics":["handbook","jupyterbook","python","python-security","python-security-tools","sast","security","security-by-design"],"latest_commit_sha":null,"homepage":"https://nocomplexity.github.io/pythonsecurity/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nocomplexity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"securitytools/codeaudit.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-28T14:38:37.000Z","updated_at":"2026-06-23T15:13:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nocomplexity/pythonsecurity","commit_stats":null,"previous_names":["nocomplexity/pythonsecurity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nocomplexity/pythonsecurity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocomplexity%2Fpythonsecurity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocomplexity%2Fpythonsecurity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocomplexity%2Fpythonsecurity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocomplexity%2Fpythonsecurity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nocomplexity","download_url":"https://codeload.github.com/nocomplexity/pythonsecurity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocomplexity%2Fpythonsecurity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35106552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"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":["handbook","jupyterbook","python","python-security","python-security-tools","sast","security","security-by-design"],"created_at":"2026-07-04T00:33:06.269Z","updated_at":"2026-07-04T00:33:09.706Z","avatar_url":"https://github.com/nocomplexity.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Security Handbook\n\n**A practical, no-nonsense guide to writing secure Python code in 2026 and beyond.**\n\n[![PythonCodeAudit Badge](https://img.shields.io/badge/Python%20Code%20Audit-Security%20Verified-FF0000?style=flat-square)](https://github.com/nocomplexity/codeaudit)\n[![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY--SA%204.0-blue.svg)](https://creativecommons.org/licenses/by-sa/4.0/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n[![Jupyter Book](https://img.shields.io/badge/Built%20with-Jupyter%20Book-blue)](https://jupyterbook.org/)\n\n![bookcover](images/bookcover_small.png) \n\nThis open-source book covers **Python Security Fundamentals** with a strong focus on real-world practices, essential security tools, and actionable security recipes.\n\n\n## What You'll Learn\n\n- Core security principles every Python developer should know\n- How to secure common Python patterns and libraries\n- Secure coding techniques \n- Essential open-source security tools for Python\n- Practical **security recipes** – step-by-step solutions to common security challenges\n- Dependency management, supply chain security, and runtime protection\n- Static Application Security Testing (SAST) and Software Composition Analysis (SCA)\n\n\n## Key Features\n\n- **Fundamentals First** – Clear explanations of specific Python weaknesses, vulnerabilities, and threats\n- **Secure Coding Guidelines** - The best maintained collection of guidelines to create secure Python applications\n- **Practical Recipes** – Ready-to-use, secure code patterns\n- **Tool Recommendations** – Focused on using the best Free and Open Source (FOSS) tools\n- **Realistic Advice** – Balanced between theory and production reality\n- **Regularly Updated** – Keeping pace with the evolving Python and security landscape\n\n\n## Tools Featured\n\n- **[Python Code Audit](https://github.com/nocomplexity/codeaudit)** – Best-in-class open-source Python SAST scanner\n- Dependency scanners (pip-audit, Open Source Insights , etc.)\n- And other essential security tools\n\n## How to Read This Book\n\nYou can read the book online at:  \n👉 **[https://nocomplexity.github.io/pythonsecurity/](https://nocomplexity.github.io/pythonsecurity/)**\n\n## Contributing\n\nContributions are welcome! See [CONTRIBUTING](CONTRIBUTING.md) for details.\n\nSimple ways to help:\n- Star the repository\n- Share with fellow Python developers\n- Report issues or suggest improvements\n- Submit pull requests for new recipes or corrections\n\n## License\n\nThis book is licensed under [**CC-BY 4.0**](license.md) – you are free to share and adapt with attribution.\n\n---\n\n**Made with ❤️ to [Simplify Cyber Security](https://nocomplexity.com/simplifysecurity-manifesto/) Challenges**\n\nWant to support the project? Consider [sponsoring](sponsors.md) or making a [donation](contribute.md).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocomplexity%2Fpythonsecurity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnocomplexity%2Fpythonsecurity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocomplexity%2Fpythonsecurity/lists"}