SkillAgentSearch skills...

Pysanity

Opinionated coding guidelines and best practices in Python

Install / Use

/learn @rednafi/Pysanity
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <h1> PySanity </h1> <h4> <a href="https://pysanity.netlify.app"> Python Coding Guidelines for Sanity </a> </h4> </div> <div align="center"> <span align="center"> <pre> <a href="https://github.com/rednafi/pysanity"><img src="https://user-images.githubusercontent.com/30027932/86592037-7ff4f580-bfb4-11ea-86b9-077ebe2ae801.png" height="450" width="450" align="center"/></a> <h3>````¯¯¯¯\____<b>philosophy____</b>/¯¯¯¯````</h3> <h3> __Practicality Beats Purity__ ___Automation Brings Salvation___ ____Abstraction is Chaos, Concealed by Confusion____ </h3> </pre> </span> </div> <p>&nbsp;</p> <div align="center"> <a href="https://github.com/rednafi/pysanity/issues"><img src="https://img.shields.io/github/issues/rednafi/pysanity" /></a> <a href="https://github.com/rednafi/pysanity/network/members"><img src="https://img.shields.io/github/forks/rednafi/pysanity" /></a> <a href="https://github.com/rednafi/pysanity/stargazers"><img src="https://img.shields.io/github/stars/rednafi/pysanity" /></a> <a href="https://github.com/rednafi/pysanity/blob/master/LICENSE" <img src="https://img.shields.io/github/license/rednafi/pysanity"> <a href="https://twitter.com/intent/retweet?tweet_id=1222434622442594304"><img src="https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2Frednafi%2Fpysanity" /></a> <a href="https://github.com/rednafi/pysanity"><img src="https://img.shields.io/badge/code%20style-pysanity-teal" /> </a> </div> <p>&nbsp;</p> <div align="center"> <h2> What is this? </h2> </div> <p> This is an ever evolving, battle tested and marginally opinionated python coding guideline that is currently being enforced at my company ShopUp. Primarily, it is an attempt to document some of the implicit lessons and good practices that we have picked up while writing, maintaining and documenting python code in production. You may not agree with all the conventions mentioned here but other than the style guide where everyone has different ideas about how code should be formatted, the conventions mentioned here are almost universally accepted as good practices by the python community. The aim is not to have a strict guideline that is imposed upon every codebase, rather it exists to provide a baseline and reduce unnecessary cognitive overload that arises from disagreements during internal code reviews. The guideline is divided into three major segments.

Styling Guideline: A mashup of simplified pep8, pep257 and a few tools for styling automation

Coding Guideline: Conventions, best practices and design patterns

Documentation Guideline: An attempt to streamline API documentation

</p> <p>&nbsp;</p> <div align="center"> <h3> Read the guideline <a href="https://pysanity.netlify.com"> here. </a></h3> </div> <p>&nbsp;</p> <div align="center"> <h3> Contribution Instructions </h3> Fork the repo <br> Go to <code>docs/README.md</code> <br> Make your edit, push to a new branch & send a pull request <br> </div>

Related Skills

View on GitHub
GitHub Stars205
CategoryDevelopment
Updated9d ago
Forks12

Security Score

100/100

Audited on Mar 25, 2026

No findings