inline-python
datascript
inline-python | datascript | |
---|---|---|
5 | 24 | |
1,117 | 5,358 | |
1.3% | - | |
3.9 | 7.7 | |
10 months ago | 7 days ago | |
Rust | Clojure | |
BSD 2-clause "Simplified" License | Eclipse Public License 1.0 |
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.
inline-python
-
What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
This may be cursed but you could just use https://github.com/fusion-engineering/inline-python to use the Python Levensthein library in Rust directly. Just make sure to invoke the Rust binary under a venv with the library
-
Is rust overkill for most back-end apps that could be done quickly by NodeJS or PHP?
I know the OP asked about Node/PHP but for Python, there is https://github.com/fusion-engineering/inline-python which can give you both Rust and the all-the-libraries experience.
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
- Inline Python code directly in your Rust code
-
Guys help, I've been stuck on the borrow checker boss stage for more than 20 hours now
And if that doesn't work, there's always inline-python.
datascript
-
Datalog in 100 lines of JavaScript (2022)
Hi pests, I don't think the criticism in the comments gives a full picture.
I wrote about a particular flavor of datalog, in common use today. [1] [2]. The earliest representation I know, which matches the syntax of my essay, was in SICP [3]
There's another, more academic form of datalog, which looks a lot more like prolog. Both have lots of similarities: both systems have a set of facts and rules. Both systems have can take a partially filled fact or rule, and find all matching facts. The more academic flavors of Datalog are useful for general logic, and particularly powerful for recursive questions. The variant I showed is more tailed for database queries.
[1] https://github.com/tonsky/datascript
-
XTDB on Mobile Possible?
There is also datascript as a similar option.
- FoundationDB: A Distributed Key-Value Store
-
wotbrew/relic: FRP for Clojure(Script)
What's the use case for relic? Sounds similar to https://github.com/tonsky/datascript ?
- Introduction to Datalog
- Clojure Turns 15 panel discussion video
-
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite, written in Rust
This look nice !
Datascript seems to be another Datalog engine (in memory only)
https://github.com/tonsky/datascript
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
-
Working with large maps
An in-memory database like Datascript may be worth looking into. Otherwise you could take an indexing approach: put all the data into one big map indexed by some unique key, and have a bunch of supplementary indexes that are updated on insertion.
- Obsidian Dataview: Turn Obsidian Vault into a database which you can query from
What are some alternatives?
xml-mut - xml mutation language resembling sql
asami - A graph store for Clojure and ClojureScript
rust-openssl - OpenSSL bindings for Rust
datahike - A durable Datalog implementation adaptable for distribution.
Relm4 - Build truly native applications with ease!
datalevin - A simple, fast and versatile Datalog database
typeshare - Generate code in different languages from Rust type definitions for FFI interop.
10000-markdown-files - 10,000 markdown files. Useful for stress testing note-taking tools.
diesel-async
xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Apache AGE - Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL. [Moved to: https://github.com/apache/age]