pod-registry
hickory
pod-registry | hickory | |
---|---|---|
2 | 1 | |
87 | 621 | |
- | 0.5% | |
8.1 | 4.8 | |
13 days ago | about 1 month ago | |
Clojure | Clojure | |
- | 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.
pod-registry
-
Babashka: GraalVM Helped Create a Scripting Environment for Clojure
babashka supports html parsing through pods:
https://github.com/babashka/pod-registry
Pods can be written in any language and they can expose functions to babashka by implementing a protocol.
One pod exposing HTML parsing is:
https://github.com/retrogradeorbit/bootleg
Here is an example of how to use that:
https://github.com/babashka/pod-registry/blob/master/example...
-
Lokke: Clojure for Guile
This is not how babashka (or the underlying sci interpreter) works: babashka doesn't transpile to another language, but directly executes the code (via an intermediate analyzed representation). Babashka (and sci) are implemented on the JVM in Clojure itself and can leverage libraries directly from that ecosystem, without re-implementing everything for a different host than the JVM. A bb (or sci) program consists of pre-compiled Clojure code (via GraalVM native-image) and interpreted glue code. It aims to be as compatible as possible with JVM Clojure. Babashka integrates with tools.deps.alpha and can execute several existing Clojure libraries "as is" (https://github.com/borkdude/babashka/blob/master/doc/projects.md). It aims to be as compatible as possible with JVM Clojure. With the introduction of pods (https://github.com/babashka/pod-registry) it is able to leverage libraries from other ecosystems as well.
hickory
-
Babashka: GraalVM Helped Create a Scripting Environment for Clojure
https://github.com/clj-commons/hickory
I'm a previous BeautifulSoup user and have found the combination of (1) having the scraped data presented in plain Clojure data structures, and (2) Hickory's built in selectors, to be a very nice experience.
Happy scraping!
What are some alternatives?
lokke - Lokke: Clojure for Guile
skyscraper - Structural scraping for the rest of us.
clojure-scheme - Clojure to Scheme to C to the bare metal.
babashka-sql-pods - Babashka pods for SQL databases
.dotfiles - My dotfiles
backup-scripts - The various scripts I use to back up my home computers using ssh and rsync
roswell - intended to be a launcher for a major lisp environment that just works.
bootleg - Simple template processing command line tool to help build static websites
CIEL - CIEL Is an Extended Lisp. Scripting with batteries included.