pydantic-to-typescript
vim-jumpsuite
pydantic-to-typescript | vim-jumpsuite | |
---|---|---|
3 | 8 | |
239 | 5 | |
- | - | |
0.0 | 0.0 | |
4 months ago | over 1 year ago | |
Python | Python | |
MIT License | MIT License |
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.
pydantic-to-typescript
-
Which not so well known Python packages do you like to use on a regular basis and why?
Bit niche, but I like using pydantic-to-typescript (https://github.com/phillipdupuis/pydantic-to-typescript) to automatically generate typescript definitions for my fastapi apps. Or any app which uses pydantic models.
-
pydantic-to-typescript: a simple CLI tool for converting pydantic models into typescript interfaces
Complete documentation, examples, and the source code can all be viewed here: https://github.com/phillipdupuis/pydantic-to-typescript
-
Python & Typescript
There are also some packages out there for converting the types directly into their typescript equivalents: https://github.com/phillipdupuis/pydantic-to-typescript/
vim-jumpsuite
-
Parse python traceback in the quickfix list.
Oh, you're in luck because I've actually written this exact plugin, it's called vim-jumpsuite. It is personally one of my special weapons that's becoming completely indispensable for me.
-
Which not so well known Python packages do you like to use on a regular basis and why?
vim-jumpsuite: parses python tracebacks and identifies the most "interesting" part of the stack to create a jump list; despite vim being in the name, the python part of the plug-in is usable with any editors that supports parsing grep/quickfix-style output
-
Are you a person who loves reinventing a wheel ?
Here is link number 1 - Previous text "my"
-
Vim setup as a Python IDE with REPL similar to Spyder/VSCode
vim-jumpsuite for creating a quickfix/loclist jumps out of unittest tracebacks
-
IDE Similar to PyCharm for Work
vim-test with lieryan/vim-jumpsuite
-
Open Python error in Vim
For more elaborate cases, I wrote a plugin that summarises python traceback into the quickfix list. vim-jumpsuite is designed to be used when writing unittest/pytest; for each failing test, it'll try to pick the three most important locations that you'll want to jump to. You can also configure certain files/functions to never be picked by vim-jumpsuite.
-
Python Devs who Use Vim, Share Your Expertise!
Plug: one of the most valuable plugin for me are the vim plugin that I wrote myself: lieryan/vim-jumpsuite. It's a plugin to quickly jump to "interesting" line of code from your test suite by converting unittest reports to a Quickfix jumplist. The plugin uses some customizable heuristics to find the lines from tracebacks that are most likely to be most useful to your code.
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
Rope - a python refactoring library
opyrator - 🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.
vim-test - Run your tests at the speed of thought
dynamoquery - Python AWS DynamoDB ORM
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
enforce - Python 3.5+ runtime type checking for integration testing and data validation
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines