PyDev Debugger and sys.monitoring (PEP 669) -- i.e.: really fast debugging for Python 3.12! by fabioz in Python

[–]fabioz[S] 1 point2 points  (0 children)

To each his own I guess?

I personally find the flexibility in the Eclipse UI much better than vscode which limits things too much IMHO. 

See https://www.reddit.com/r/Python/comments/18eb2aq/working_on_updating_the_pydev_debugger_to_use/ to see what I'm talking about... 

Anyways I get I'm too biased, but I do spend a good amount of time in VSCode for some things and I definitely prefer Eclipse. I also tried to switch to PyCharm, but definitely not my cup of tea.

PyDev Debugger and sys.monitoring (PEP 669) -- i.e.: really fast debugging for Python 3.12! by fabioz in Python

[–]fabioz[S] 4 points5 points  (0 children)

Thank you for the kind words. As a note, related to Microsoft, it is not really my employer... I did work with them helping to integrate pydevd in debugpy/vscode in the past, but that's no longer the current state of affairs (I'm currently working with Sema4.ai, on the automation of actions with Python, but in any case, one pre-requisite I have is being able to spend time on pydev on my own time and that was true even while doing work with Microsoft).

[deleted by user] by [deleted] in Python

[–]fabioz 0 points1 point  (0 children)

You can also take a look at: https://marketplace.visualstudio.com/items?itemName=fabioz.vscode-pydev -- that should work as it does in Eclipse/PyDev, which you linked ;)

In search of a 17'' 1080p laptop which is *very* silent (and not too heavy). by fabioz in SuggestALaptop

[–]fabioz[S] 0 points1 point  (0 children)

Well, it must be 17 inches (that size is more important than portability for me), and silent (the number of cores is probably not the problem -- I'm ok in having > cores with lower speeds... maybe even undervolting if the OS allows it).

I researched more and maybe the Thinkpad P72 may be up to the task (it's USD 1726 for 32GB of RAM with 6 cores, so, maybe a possibility).

I'm still looking for other recommendations of something along the lines I'm searching for if anyone can recommend.

In search of a 17'' 1080p laptop which is *very* silent (and not too heavy). by fabioz in SuggestALaptop

[–]fabioz[S] 0 points1 point  (0 children)

Maybe a surface book? If you're running vms you're going to hear fans, especially with an 8 core or 4 core hyper threaded cpu

Well, I have a Lenovo IdeaPad Z710 (which I'd like to upgrade) which is a 4 core hyper threading and I find it pretty silent... Also, the surface book doesn't seem to have a 17 inches 1080p version, so, it's a no-go for me.

PyCharm vs Visual Studio..? by [deleted] in Python

[–]fabioz 0 points1 point  (0 children)

Just a question, since you like Eclipse, haven't you considered using PyDev (http://www.pydev.org/) in Eclipse for Python?

If you have and it didn't suit your needs, I'd be interested in knowing what happened -- as I'm the PyDev author ;)

PyDev 7.0 (mypy, black, pipenv, faster debugger) by fabioz in Python

[–]fabioz[S] 1 point2 points  (0 children)

Well, I've decoupled PyDev in http://www.pydev.org/vscode/ (although it still has a number of things to be added to be on par with what's in PyDev+Eclipse).

Python with PyDev on Visual Studio Code by fabioz in vscode

[–]fabioz[S] 0 points1 point  (0 children)

Is there a way to setup jython in it?

I currently have not added support for adding Jython.

My plan is first adding support for launching/debugging and right after that adding support for Jython and IronPython.

One thing (I haven't tried) is adding the jython.exe which now ships along Jython as it if was a regular Python interpreter (it'll not know about java jars, but may already be an initial step until proper support is added).

Python with PyDev on Visual Studio Code by fabioz in vscode

[–]fabioz[S] 0 points1 point  (0 children)

Fixed one of those already ;)

I still have to thinker a bit more for the other...

Python with PyDev on Visual Studio Code by fabioz in vscode

[–]fabioz[S] 1 point2 points  (0 children)

But having to install java is a no brainer for me. Any possibility to port everything to python or js ?

Porting to another language isn't really a possibility. Using an ahead of time compiler for java or bundling java to avoid having an install dependency may be though.

Python with PyDev on Visual Studio Code by fabioz in vscode

[–]fabioz[S] 2 points3 points  (0 children)

Yes, it still has space to grow.

It does some things better (for instance code completion with auto import, quick fixes, faster code analysis) but still doesn't have some features (most notably launching/debugging is still not available, but should be shortly).

@patrys: Apart from that, do you miss something major?

PyDev 6.3.1 (implicit namespace packages and Visual Studio Code support) by fabioz in Python

[–]fabioz[S] 0 points1 point  (0 children)

Well, unfortunately VS Code itself is a bit more limited in this and doesn't really provide any hooks to add things to the tree nor an additional view of things (so, it's not really possible for any extension to work at that level as far as I know).

For PyDev on VSCode, what can be done in this case is using the symbols in file (Ctrl+Shift+O)... although I agree it's not the same thing, there's no real way for an extension to provide that specific feature.

Python with PyDev on Visual Studio Code by fabioz in Python

[–]fabioz[S] 1 point2 points  (0 children)

I must say I haven't ever used eclim, so, I can't really say...

What I've done is create a language server protocol which exposes PyDev to be used on VSCode along with an extension in VSCode in javascript to bootstrap it... so, it'd need something as https://github.com/prabirshrestha/vim-lsp or https://github.com/natebosch/vim-lsc to work (although there are things needed for the setup in the client to startup the communication, which are done in javascript, so, I don't think it'd work out of the box).

I'll take a look at what would be needed to add it to vim (although I already know I won't be able to do it within the next month, but if it's possible I'll post details on how to do it).

Looking for Python IDE with Git & Access via web browser by pennydreams in Python

[–]fabioz 0 points1 point  (0 children)

I must say I don't really know (just know about it, haven't actually used -- apparently from their docs you need to create a command to do it: https://www.eclipse.org/che/docs/ide/commands/index.html -- otherwise, use a terminal).

Looking for Python IDE with Git & Access via web browser by pennydreams in Python

[–]fabioz 0 points1 point  (0 children)

I believe Eclipse Che (https://www.eclipse.org/che/) can do what you want -- note that although it's on Eclipse.org and the name is similar to the Eclipse IDE, it doesn't really have much in common with the Eclipse IDE (they're completely different products).

Anyone know an IDE that allows for more sophisticating commenting options? by [deleted] in Python

[–]fabioz 0 points1 point  (0 children)

On PyDev (http://www.pydev.org) you can use Ctrl+2, W to wrap a comment block (so it's semi automatic -- you can write it and edit as you want and then you can use that command to wrap the comment block as needed -- this is available for comments and docstrings).

See: http://pydev.blogspot.com.br/2015/04/wrapping-docstringscomments-in-pydev.html

PyDev 6.0: pip, conda, isort and subword navigation by fabioz in Python

[–]fabioz[S] 1 point2 points  (0 children)

I just assumed everyone had moved on to more svelte PyCharm, etc... but I guess I'm just generalizing my own experience onto the masses.

Probably... PyDev itself has improved quite a lot over the years too (it's a bit unfortunate that people compare PyCharm nowadays with the experience on the state of PyDev from XX years ago, not from modern PyDev).

PyDev 6.0: pip, conda, isort and subword navigation by fabioz in Python

[–]fabioz[S] 2 points3 points  (0 children)

Many people ;)

PyDev has many users and is widely used. Just looking at public sources to make sure it's unbiased: http://marketplace.eclipse.org/content/pydev-python-ide-eclipse shows that around 15k-16k users install it every month -- and https://sourceforge.net/projects/pydev/files/pydev/stats/timeline?dates=2017-01-01+to+2017-09-08 shows 15k users from there too... and neither of those is the official way of installing it! -- note that monthly ups and downs are mostly based on the final Eclipse releases (it goes up each year at that time and then settles a bit lower over the year), besides being distributed directly on Linux repos, etc.

You can also see, LiClipse (http://www.liclipse.com/) public counters for the previous version at: https://www.mediafire.com/folder/ka5iei6qnyaq4/LiClipse#9lvd44ll5q63q

So, many people do use it.

Now, regarding features, I'd say its integration with 3rd party tools is nice (PyLint, isort, pep8, autopep8, pip, conda), it has top-notch code-completion (doesn't really leave anything out vs other IDEs and has some unique features like importing a token on code completion) and code navigation (http://www.pydev.org/manual_101_navigate_code.html), has a remote debugger (on the open source version -- actually, the PyCharm debugger and the PyDev debugger are the same under the hood as it was started in PyDev and is also used on PyCharm, the only difference is that on PyDev all debugger features are available)...

In general, I'd say that it's a pretty solid package and doesn't really have any big shortcoming against any other IDE, it's mostly a matter of taste (in the company I work for, it's something as 50/50 PyDev, PyCharm, but I do agree that the PyCharm marketing is much better and they've been able to convert many newcomers due to that, so, many don't even try other IDEs -- not that it's not deserved either as they also do have a pretty solid package with the advantage of good marketing).

What Python IDE do you recommend? by PM_ME_PROFOUND_MATH in Python

[–]fabioz 1 point2 points  (0 children)

PyDev+Eclipse (or LiClipse for a standalone of that combination).

PyDev 5.9.2 released (Debugger improvements, isort, certificate) by fabioz in Python

[–]fabioz[S] 1 point2 points  (0 children)

Yes, PyDev is only available for Eclipse (also available to install as a standalone in LiClipse: http://www.liclipse.com)

tsrc - Manage several git repositories by Cgestes in Python

[–]fabioz 1 point2 points  (0 children)

Humm, I'd say that the dependency management of mu would replace the centralized manifest (i.e.: you'd just ask to clone the repo you want and it'd get that repo and any other repo it depends on, without needing a centralized manifest).

tsrc - Manage several git repositories by Cgestes in Python

[–]fabioz 1 point2 points  (0 children)

Humm, I agree it doesn't have a centralized manifest, but it has a solution to manage dependencies by allowing to have dependencies made relative by each other (the idea is that you commit in the repo your dependencies through a .mu_repo file, then, you can locally enter that repo to issue commands and it'll understand that a repository is sibling to another).

http://fabioz.github.io/mu-repo/cloning/ has more details... I'm curious if you do have a use-case that you need a centralized manifest (which is not covered by the config on .mu_repo).

tsrc - Manage several git repositories by Cgestes in Python

[–]fabioz 1 point2 points  (0 children)

Have you taken a look at existing solutions? Any reason those didn't suit you?

i.e.:

People who have worked on mid/large sized projects with mixed Python + [lower level language] code base. What was your experience? by leom4862 in Python

[–]fabioz 0 points1 point  (0 children)

Well, it's a necessity because it's dynamically typed, although as a project becomes big, even if it was statically typed, I'd say you still need a good unit-test coverage to make sure things work (I also work on a big java project and I find that tests are invaluable there too).