Chain.jl
PaddedViews.jl
Our great sponsors
Chain.jl | PaddedViews.jl | |
---|---|---|
8 | 2 | |
346 | 45 | |
- | - | |
4.2 | 3.8 | |
2 months ago | 19 days ago | |
Julia | Julia | |
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.
Chain.jl
-
Pains of Julia compared to python
The [Chain.jl package](https://github.com/jkrumbiegel/Chain.jl) is becoming idiomatic for these kind of pipelines.
-
Transition from R Tidyverse to Julia (VS Code)
If you do have tabular data in a dataframe you have a few options for data manipulation, the most popular packages are probably DataFramesMeta and Query, although in my opinion the best way to manipulate dataframes is with the functions built in to DataFrames.jl and using a package like Chain.jl or Pipe.jl to pipe the functions into each other like magrittr in R.
-
The (updated) history of the pipe operator in R
The Julia community built a better piping method than any other language has AFAIK: Chain.jl.
-
What are some of your favourite macros?
@chain and @match.
-
Why is piping so well-accepted in the R community compared to those in Julia and Python?
Have you ever tried Infiltrator.jl and Chain.jl?
-
https://np.reddit.com/r/Julia/comments/nnu6if/julia_object_oriented_programming_with_dot/h0anaru/
You are right. However, sometimes well used is very useful, and readable. One suggestion, in Julia I suggest Chain.jl, because it allows intercalate easily the output for debugging:
-
Julia Update: Adoption Keeps Climbing; Is It a Python Challenger?
I also like pipe syntax and I've found there is nice support for it in Julia. There are some nice packages to improve it over base [1].
Have you checked queryverse [2]?
[1] https://github.com/jkrumbiegel/Chain.jl
PaddedViews.jl
-
Julia Update: Adoption Keeps Climbing; Is It a Python Challenger?
As sibling posts have pointed out, you can in fact do all of those things:
1. You can write a getproperty method for a tuple. It is considered to be type piracy and thus runs the risk of colliding with someone else's definition, but the language absolutely lets you do it.
2. You can broadcast over the fields of a NamedTuple by defining appropriate methods. Again, it's type piracy, so take that into consideration but the language lets you do this easily.
3. The https://github.com/JuliaArrays/PaddedViews.jl package implements exactly what you're saying Julia won't let you do.
If anything, Julia errs on the side of allowing you to do too many things! There are very few things the language says really won't let you do.
What are some alternatives?
Pipe.jl - An enhancement to julia piping syntax
Dash.jl - Dash for Julia - A Julia interface to the Dash ecosystem for creating analytic web applications in Julia. No JavaScript required.
Genie.jl - 🧞The highly productive Julia web framework
Revise.jl - Automatically update function definitions in a running Julia session
StatsPlots.jl - Statistical plotting recipes for Plots.jl
JLD2.jl - HDF5-compatible file format in pure Julia
org-mode - This is a MIRROR only, do not send PR.
Infiltrator.jl - No-overhead breakpoints in Julia
VegaLite.jl - Julia bindings to Vega-Lite
RCall.jl - Call R from Julia