ruff
py-template
ruff | py-template | |
---|---|---|
96 | 8 | |
26,725 | 94 | |
4.7% | - | |
10.0 | 9.7 | |
4 days ago | 7 days ago | |
Rust | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruff
-
Introducing Tapyr: Create and Deploy Enterprise-Ready PyShiny Dashboards with Ease
Leverage Python Tools: Tapyr takes advantage of Python’s ecosystem tools, including ruff, pytest, and others.
-
Ask HN: High quality Python scripts or small libraries to learn from
I think I mention this all the time when this comes up, but I learned the most 'best practices' through using ruff.
https://docs.astral.sh/ruff/
I just installed and enabled all the rules by setting
-
Enhance Your Project Quality with These Top Python Libraries
Ruff is a Python linter that helps to identify and remove code smells. Over 700 built-in rules: Ruff includes native re-implementations of popular Flake8 plugins, like flake8-bugbear. And also built-in caching to avoid re-analyzing unchanged files.
-
Ask HN: What interesting project ideas you've got but have no time to work on?
Because the Python's "ast" modules is too slow, and lacks proper "format" feature (it has unparse but it removes comments, and forgets the current style completely). I use "ruff" a lot (https://github.com/astral-sh/ruff) which is in Rust. But I want to be able to implement fast custom linters in Go (linters that ruff / fixit lack, and Python linters lack or are too slow).
-
Rye: A Vision Continued
I think it’s interesting that rye uses ruff (https://github.com/astral-sh/ruff) for linting and formatting. That’s the right call, and it’s also correct to bundle that in for an integrated dev experience.
I had to guess, that’s the path that the Astral team would take as well - expand ruff’s capabilities so it can do everything a Python developer needs. So the vision that Armin is describing here might be achieved by ruff eventually. They’d have an advantage that they’re not a single person maintenance team, but the disadvantage of needing to show a return to their investors.
- An fast Python linter and code formatter, written in Rust
-
Smooth Packaging: Flowing from Source to PyPi with GitLab Pipelines
Adding more weight to ease of setup and configurability, the choice came down on flake8. It is easy to integrate, since its also available through pip and let’s you configure which standards you want to omit by simply stating them as a list via the --ignore switch. Moving to ruff appears quite smooth, so future updates may do so.
- Show HN: Marimo – an open-source reactive notebook for Python
-
AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting
I confess I stole the pip recipe from Charlie :D
https://github.com/astral-sh/ruff/blob/main/.github/workflow...
-
Embracing Modern Python for Web Development
Ruff is an emerging tool in the Python ecosystem that describes itself as "an extremely fast Python linter and code formatter, written in Rust".
py-template
-
Py-template: one-click Python environment v0.2.0 update
Hey HackerNews,
Original post with more context on reddit [here](https://www.reddit.com/r/Python/comments/yu4ynu/pytemplate_o...).
## TLDR - what is it?
[py-template](https://github.com/inovintell/py-template) is a [GitHub Template repository](https://docs.github.com/en/repositories/creating-and-managin...) for Python, which provides:
- Opinionated linting, autoformatting etc. (this update changes [flake8](https://flake8.pycqa.org/en/latest/) to substantially faster [ruff](https://github.com/charliermarsh/ruff)
-
py-template: one-click Python environment v0.2.0 update
py-template is a GitHub Template repository for Python, which provides:
-
[PROJECT] templates: One-click extensive GitHub Actions pipelines for your projects!
py-template: same as above, but tailored to Python programming language.
-
py-template: one-click extensive GitHub Actions pipelines for your Python projects!
Also feel free to Open a GitHub Issue on our repo if you have a specific project in mind and we will do our best to help. :)
-
Monthly 'Shameless Self Promotion' thread - 2022/11
inovintell/py-template (this one is more specialized)
What are some alternatives?
black - The uncompromising Python code formatter
sparrowci_web - ci.sparrowhub.io website
mypy - Optional static typing for Python
deweb - Learn how to automate GitHub releases. Complete CI/CD 🤖
pyright - Static Type Checker for Python
renovate - Universal dependency automation tool.
Pylint - It's not just a linter that annoys you!
ksbus - KSBus is a zero-configuration event bus written in Go, designed to facilitate real-time data sharing and synchronization between Go servers, JavaScript clients, and Python. It's particularly useful for building applications that require real-time communication, such as chat applications or live updates.
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
korm - KORM, an elegant and lightning-fast ORM for all your concurrent and async needs. Inspired by the highly popular Django Framework, KORM offers similar functionality with the added bonus of performance
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
hof - Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic.