Python best-practices

Open-source Python projects categorized as best-practices

Top 15 Python best-practice Projects

best-practices
  1. CheatSheetSeries

    The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics.

    Project mention: Using AI Offline: Insights into Local Models | dev.to | 2025-01-29

    Just for fun, I cloned the OWASP repo https://github.com/OWASP/CheatSheetSeries.git and am waiting for the indexing process to finish. I then asked the model (on the left side) and included all files from the cloned project (on the right side). As you can see below, the right side contains more useful information

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Cookbook

    The Data Engineering Cookbook

  4. lightning-hydra-template

    PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡

  5. pytorch-styleguide

    An unofficial styleguide and best practices summary for PyTorch

  6. hardeneks

    Runs checks to see if an EKS cluster follows EKS Best Practices.

    Project mention: HardenEKS: The Easy Way to keep your AWS EKS clusters secure and compliant | dev.to | 2024-11-10

    HardenEKS is an open source Python CLI that helps you programmatically validate if your EKS clusters follow best practices defined in the AWS EKS Best Practices Guide EBPG. The EBPG covers security, reliability, autoscaling, networking, and scalability. HardenEKS has incorporated and codified the pillars of the EBPG into a set of rules.

  7. nn-template

    Generic template to bootstrap your PyTorch project.

  8. ck

    Collective Knowledge (CK), Collective Mind (CM) & Common Metadata eXchange (CMX): community-driven projects to learn how to run AI, ML and other emerging workloads in a more efficient and cost-effective way across diverse models, datasets, software and hardware using MLPerf automations, CK playground & open reproducibility & optimization challenges (by mlcommons)

  9. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  10. aws-lambda-handler-cookbook

    This repository provides a working, deployable, open source-based, serverless service blueprint with an AWS Lambda function and AWS CDK Python code with all the best practices and a complete CI/CD pipeline.

    Project mention: Protect Your API Gateway with AWS WAF using CDK | dev.to | 2024-12-15

    The ‘orders’ service allows users to order products. We will use my open-source Serverless template project: AWS Lambda Handler Cookbook.

  11. bricks

    Open-source natural language enrichments at your fingertips.

  12. wolt-python-package-cookiecutter

    Cookiecutter for rapidly creating modern & high-quality Python packages

  13. go-template

    A batteries-included project generator for your next Go project :rocket: (by notsatan)

  14. dslinter

    `dslinter` is a pylint plugin for linting data science and machine learning code. We plan to support the following Python libraries: TensorFlow, PyTorch, Scikit-Learn, Pandas and NumPy.

  15. rickroller

    RickRoll your friends like a pro! Just enter a webpage URL and let the magic happen. Every click on the page will send you to the one and only Rick Astley's iconic hit.

  16. stack-scraper

    Sample repository showcasing how to write impeccably clean code that will save your sanity. In correspondence to my Medium article: https://medium.com/gitconnected/how-to-write-impeccably-clean-code-that-will-save-your-sanity-7d0ea59d285c

  17. dockerfilesrepo

    A repository of Dockerfiles and kubernetes deployment manifests pre-configured with docker/k8s best practices

  18. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python best-practices discussion

Log in or Post with

Python best-practices related posts

  • HardenEKS: The Easy Way to keep your AWS EKS clusters secure and compliant

    1 project | dev.to | 10 Nov 2024
  • Preventing CSRF and XSS Attacks with JWT and Fingerprint Cookies in Express

    1 project | dev.to | 1 Oct 2024
  • 🛡️ Mastering Security HTTP Headers

    2 projects | dev.to | 4 Sep 2024
  • Ask HN: Company wants us to upskill in AI. What is the best approach?

    2 projects | news.ycombinator.com | 9 Aug 2024
  • Tranzitie catre data engineering

    1 project | /r/programare | 12 Jul 2023
  • How to improve the code quality

    4 projects | /r/cpp | 29 Jun 2023
  • Advice For Securing Backend Code

    1 project | /r/node | 10 Jun 2023
  • A note from our sponsor - Nutrient
    nutrient.io | 16 Feb 2025
    Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free. Learn more →

Index

What are some of the best open-source best-practice projects in Python? This list will help you:

# Project Stars
1 CheatSheetSeries 28,868
2 Cookbook 13,998
3 lightning-hydra-template 4,425
4 pytorch-styleguide 1,942
5 hardeneks 887
6 nn-template 638
7 ck 614
8 aws-lambda-handler-cookbook 584
9 bricks 455
10 wolt-python-package-cookiecutter 252
11 go-template 31
12 dslinter 24
13 rickroller 9
14 stack-scraper 3
15 dockerfilesrepo 2

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai