jedi
wcag
Our great sponsors
jedi | wcag | |
---|---|---|
7 | 8 | |
5,652 | 1,014 | |
- | 2.7% | |
7.4 | 9.6 | |
2 days ago | 3 days ago | |
Python | HTML | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
jedi
-
:help jedi-vi doesn't work at all after installation via vim-plug
I don't use jedi at all, but from a quick glance at the README of the package you've installed, the code you've posted in your post installs the wrong repo; it seems davidhalter/jedi is just jedi's backend. To make it work with vim, install one of the plugins suggested in the README instead (it seems that davidhalter/jedi-vim) is the one you're looking for.
-
code auto-complete
Jedi: https://github.com/davidhalter/jedi
-
What are your bad python habits?
Or better, use refactoring tool like rope, jedi, or whatever you have in your IDE to rename them.
-
Get jedi working in Kate
Get jedi working in Kate · Issue #1539 · davidhalter/jedi
-
IDE Similar to PyCharm for Work
For text completion, Jedi. For automated refactoring, I highly recommend rope. Some of the previously mentioned plugins provides Vim integrations with these excellent tools.
-
Anybody using lsp-mode for python?
Take a look at some LSP servers that use Jedi https://github.com/davidhalter/jedi
-
The Database Inside Your Codebase
I've been playing with some ideas for creating a SQLite database of classes, functions and suchlike found in Python code, so I can analyze my codebases with SQL queries.
I've had some good initial results with https://github.com/davidhalter/jedi - which is the Python introspection library that powers various editor autocomplete implementations. I have a prototype which uses that to create a SQL database of functions, classes and places that they are used.
I've also been playing with https://github.com/github/semantic - it can parse Python, JavaScript and other languages and offers a --json-symbols option which dumps out a JSON object showing the symbols (functions, variables etc) found in the code.
wcag
-
Low-contrast font color and unreadable texts? To hell with them!
> This isn't subjective or aesthetics, it's an objective measurement.
I’m going to push back against this slightly (I’m not disagreeing that the HN contrast is bad, but I am challenging the WCAG ratios). It’s objective, but it’s not a good measurement. WCAG computes contrast in sRGB, which is not perceptually uniform. As such there are cases where WCAG will give better scores to worse contrast.
https://github.com/w3c/wcag/issues/695
It’s the biggest thing I wish would be changed in WCAG.
-
APCA (WCGA 3.0) does not allow for 14px font to be used as a regular base
The APCA color calculator is still in progress and WCAG 3.0 is still a working draft, so its guidelines are not in place. The purpose of the changes are so that color contrast will focus on perceived color instead of a more simple algorithm that can mess up in some cases: https://github.com/w3c/wcag/issues/695
- The pain of UX/UI and accessibility
- WCAG exceptions?
- Starting to design for better accessibility
- Contrast Ratio Math and Related Visual Issues
-
Does anyone follow WCAG's typography guidelines to the letter?
This came up in my work recently. Here’s a possibly helpful thread if you’re looking at a mobile app: https://github.com/w3c/wcag/issues/1510
-
The Database Inside Your Codebase
Just because you find it readable does not mean others can; also, color contrast is not the only thing that affects readability. In this case, the issue is font weight.
Here's some discussion on the issue: https://github.com/w3c/wcag/issues/665
What are some alternatives?
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
guide - Aiming to be a fully transparent company. All information about source{d} and what it's like to work here.
python-language-server - An implementation of the Language Server Protocol for Python
semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
sourcery - Instant AI code reviews to speed up your pull requests
codeq - Creates Datomic dbs from git repos
Rope - a python refactoring library
Sourcetrail - Sourcetrail - free and open-source interactive source explorer
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
pyright - Static Type Checker for Python