py-shiny | dtplyr | |
---|---|---|
29 | 24 | |
968 | 654 | |
5.8% | -0.3% | |
9.7 | 7.5 | |
7 days ago | 2 months ago | |
Python | R | |
MIT License | 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.
py-shiny
-
Designing a Pure Python Web Framework
I really like this idea of using Python to create both the frontend and backend. Another lib doing this is https://solara.dev/ . Something I particularly like about Solara is that you can interactively build your app in a Jupyter Notebook, since behind the scenes it's using ipywidgets.
Has anyone compared Solara and Reflex and can comment on pros/cons? Are there other options in this space? Maybe https://shiny.posit.co/py/ ?
-
FastUI: Build Better UIs Faster
Would you consider giving Shiny (for Python) a try? https://shiny.posit.co/py/ It's (I hope) pretty close to Streamlit in ease of use for getting started, but reactive programming runs all the way through it. The kind of app you're talking about are extremely natural to write in Shiny, you don't have to keep track of state yourself at all.
If you decide to give it a try and have trouble, please email me (email in profile) or drop by the Discord (https://discord.gg/yMGCamUMnS).
-
py-shiny VS solara - a user suggested alternative
2 projects | 13 Oct 2023
-
Duckdb + Shiny for Python example
Code is here: https://github.com/rstudio/py-shiny/tree/duckdb-example/examples/duckdb
-
Transitioning from R to Python - any tips?
The equivalent of shiny in python is shiny for python: https://shiny.posit.co/py/
- Show HN: Mercury – convert Jupyter Notebooks to Web Apps without code rewriting
- Shiny for Python – building interactive web apps from Python
- Shiny – Web Pages in Python
-
Tidyverse 2.0.0
I'm not sure how usable it is, but Shiny for Python exists: https://shiny.rstudio.com/py/
-
Graphs in Python web app
There's Shiny for Python - originally for R - but it's only Alpha status: https://shiny.rstudio.com/py/
dtplyr
-
Tidyverse 2.0.0
Can’t say I’ve used it, but isn’t that what dtplyr is supposed to provide?
https://dtplyr.tidyverse.org/
-
Error when trying to use dtplyr::lazy_dt, "invalid argument to unary operator"
# I am trying to follow the example at https://dtplyr.tidyverse.org/
-
Millions of rows
FYI the developer of tidytable has been developing dtplyr for the Tidyverse. You might like that too!
-
fuzzyjoin - "Error in which(m) : argument to 'which' is not logical"
If you need speed, you should consider using dtplyr (or tidytable), or even dbplyr with duckdb.
-
Best alternative to Pandas 2023?
https://dtplyr.tidyverse.org/ ?
-
R Dialects Broke Me
If you want data.table speed, but using dplyr/tidy then dtplyr is a good package to have handy. Personally I love R, and choose R + NodeJS as my gotos for everything I do, and use Python only when I have to.
-
Merging csv from environment.
Also, that dataset is quite big, and the "base" Tidyverse will be excessively slow. You should supplement the "base" Tidyverse packages (i.e. dplyr and tidyr) with either dtplyr or dbplyr (+ duckDB). I'd suggest starting with dtplyr, which should handle 10M+ rows fine.
-
mutate ( ) function is only working in code chunk I run it in. It does not change the column in my data frame other than in that one code chunk.
If you want, there's a "substitute" for dplyr called dtplyr (also part of the Tidyverse), which "translates" your dplyr/tidyr code into data.table behind the scenes, and allows you to make your modifications apply directly to the original dataset by default:
-
R process taking over 2 hours to run suddenly
Install the dtplyr package and change your code to:
-
DS student here: why use R over Python?
Get the best of both worlds (tidyverse + data.tables) with dtplyr, a data.table backend for dplyr.
What are some alternatives?
Solara - A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
tidytable - Tidy interface to 'data.table'
pyvibe - Generate styled HTML pages from Python
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust
Genie.jl - 🧞The highly productive Julia web framework
tidypolars - Tidy interface to polars
Tidier.jl - Meta-package for data analysis in Julia, modeled after the R tidyverse.
vaex - Out-of-Core hybrid Apache Arrow/NumPy DataFrame for Python, ML, visualization and exploration of big tabular data at a billion rows per second 🚀
React - The library for web and native user interfaces.
Datamancer - A dataframe library with a dplyr like API
streamlit - Streamlit — A faster way to build and share data apps.
explorer - Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir