pyflyby
A set of productivity tools for Python (by deshaw)
magic-trace
magic-trace collects and displays high-resolution traces of what a process is doing (by janestreet)
pyflyby | magic-trace | |
---|---|---|
5 | 29 | |
337 | 4,449 | |
1.2% | 0.8% | |
9.0 | 6.8 | |
3 days ago | 10 days ago | |
Python | OCaml | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
pyflyby
Posts with mentions or reviews of pyflyby.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-20.
- Pyflyby: Automatic Import Resolution in Python Shell
- Memray is a memory profiler for Python by Bloomberg
-
Smoother Python with automatic imports | pyflyby
docs
-
Smart-imports: automatic Mypy-friendly library imports
Another implementation of a similar idea (but taking the form of CLI utilities rather than a library) is https://github.com/deshaw/pyflyby. I think philosophically it’s better - the result is good quality Python code. No mypy support, though.
magic-trace
Posts with mentions or reviews of magic-trace.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-02.
-
When Optimising Code, Measure
I really like magic-trace [0].
https://github.com/janestreet/magic-trace
Not that the exact tracing relies on Intel PT - support for AMD was added recently but uses perf so suffers from the same sampling/skew issues, but is still very useful.
-
Grafana Phlare, open source database for continuous profiling at scale
Would love to see this integrate with magic trace [1]. I'll need to look at the code for the flamegraph plugin, because handling nanosecond timestamps in flamegraphs seems to break most tools due to float precision.
(1) https://github.com/janestreet/magic-trace
-
How to break into Hudson River Trading?
As for inner workings, have you looked into magic trace? I want to play around with it but last I checked, it doesn't work on macs.
-
Brendan Intel.com
I really hope he can work with cloud vendors and Intel to make Processor Trace a more popular and easier to use capability.
It's unfortunate how https://github.com/janestreet/magic-trace and PMUs in general can't be used by lots of people using cloud VMs.
- GitHub - janestreet/magic-trace: magic-trace collects and displays high-resolution traces of what a process is doing
-
Hacker News top posts: Apr 23, 2022
Magic-trace – High-resolution traces of what a process is doing\ (133 comments)
- Magic-trace – High-resolution traces of what a process is doing
- Magic-trace - 高分辨率跟踪一个进程正在做什么 (Magic-trace – High-resolution traces of what a process is doing)
What are some alternatives?
When comparing pyflyby and magic-trace you can also consider the following projects:
smart-imports - smart imports for Python
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.