tuna
Altair
Our great sponsors
tuna | Altair | |
---|---|---|
4 | 43 | |
1,263 | 8,912 | |
- | 1.3% | |
0.0 | 9.0 | |
about 2 months ago | 15 days ago | |
Python | Python | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" 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.
tuna
-
Is AWS Lambda Cold Start Still an Issue?
Every minor detail matters and adds to the total import time as part of the cold start. We need to optimize our code and imports. If you use Python, you can analyze your code with a tool like Tuna and optimize your libraries (perhaps replace slower ones) and your imports.
- Make Python Run Faster
- Scanning Function calls in a script - is there a tool?
-
Creating a Python CLI with Go(lang)-comparable startup times
I started to examine the output of python -X importtime -m gefyra 2> import.log just to check the imports. There is an awesome tool to analyze the Python imports: tuna (see: https://github.com/nschloe/tuna). tuna allows analyzing the import times from the log. Run it like so tuna import.log. It opens a browser window and visualizes the import times. With that I was able to manually move all imports to the functions in which they are needed (and bring in some other optimizations). This greatly violates PEP 8 (https://peps.python.org/pep-0008/#imports) but leads to very fast startup times.
Altair
-
Ask HN: What's the best charting library for customer-facing dashboards?
I like Vega-Lite: https://vega.github.io/vega-lite/
It’s built by folks from the same lab as D3, but designed as “a higher-level visual specification language on top of D3” [https://vega.github.io/vega/about/vega-and-d3/]
My favorite way to prototype a dashboard is to use Streamlit to lay things out and serve it and then use Altair [https://altair-viz.github.io/] to generate the Vega-Lite plots in Python. Then if you need to move to something besides Python to productionize, you can produce the same Vega-Lite definitions using the framework of your choice.
- FLaNK AI Weekly 18 March 2024
- FLaNK AI for 11 March 2024
-
Vega-Altair: Declarative Visualization in Python
Feel free to open an issue to let us know which parts of the documentation you find obscure and if you have suggestions for how to improve them. We did a larger overhaul a few months back and are always open to feedback on how to improve it further! https://altair-viz.github.io/
(disclaimer: I'm a co-maintainer of Altair)
-
Gnuplotlib: Non-Painful Plotting for NumPy
Vega-Altair is pretty great as well. It uses a grammar of graphics that’s slightly different from ggplot, but has most of the same advantages.
https://altair-viz.github.io/
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
Altair - Declarative statistical visualization library for Python.
-
Top 10 growing data visualization libraries in Python in 2023
Github: Altair
- What python library you are using for interactive visualisation?(other than plotly)
- Libs para gráficos
-
If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
Yeah, that's one of the main reasons I like altair. It has 10M downloads per month and the newest Git update is from two days ago.
What are some alternatives?
SnakeViz - An in-browser Python profile viewer
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
ggplot - ggplot port for python
bokeh - Interactive Data Visualization in the browser, from Python
seaborn - Statistical data visualization in Python
vincent
Apache Superset - Apache Superset is a Data Visualization and Data Exploration Platform [Moved to: https://github.com/apache/superset]
plotnine - A Grammar of Graphics for Python
PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications
matplotlib - matplotlib: plotting with Python