crepe
inline-python
crepe | inline-python | |
---|---|---|
4 | 5 | |
444 | 1,126 | |
- | 1.2% | |
0.0 | 2.4 | |
3 months ago | about 1 month ago | |
Rust | Rust | |
Apache License 2.0 | BSD 2-clause "Simplified" 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.
crepe
- Datalog in 100 lines of JavaScript (2022)
-
GDlog: A GPU-Accelerated Deductive Engine
https://github.com/topics/datalog?l=rust ... Cozo, Crepe
Crepe: https://github.com/ekzhang/crepe :
> Crepe is a library that allows you to write declarative logic programs in Rust, with a Datalog-like syntax. It provides a procedural macro that generates efficient, safe code and interoperates seamlessly with Rust programs.
Looks like there's not yet a Python grammar for the treeedb tree-sitter: https://github.com/langston-barrett/treeedb :
> Generate Soufflé Datalog types, relations, and facts that represent ASTs from a variety of programming languages.
Looks like roxi supports n3, which adds `=>` "implies" to the Turtle lightweight RDF representation: https://github.com/pbonte/roxi
FWIW rdflib/owl-rl: https://owl-rl.readthedocs.io/en/latest/owlrl.html :
> simple forward chaining rules are used to extend (recursively) the incoming graph with all triples that the rule sets permit (ie, the “deductive closure” of the graph is computed).
ForwardChainingStore and BackwardChainingStore implementations w/ rdflib in Python: https://github.com/RDFLib/FuXi/issues/15
Fast CUDA hashmaps
Gdlog is built on CuCollections.
GPU HashMap libs to benchmark: Warpcore, CuCollections,
https://github.com/NVIDIA/cuCollections
https://github.com/NVIDIA/cccl
https://github.com/sleeepyjack/warpcore
/? Rocm HashMap
DeMoriarty/DOKsparse:
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
- Call for Help - Open Source Datom/EAV/Fact database in Rust.
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.
What are some alternatives?
datalevin - A simple, fast and versatile Datalog database
xml-mut - xml mutation language resembling sql
percival - 📝 Web-based, reactive Datalog notebooks for data analysis and visualization
rust-openssl - OpenSSL bindings for Rust
mentat - UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript.
Relm4 - Build truly native applications with ease!
souffle - Soufflé is a variant of Datalog for tool designers crafting analyses in Horn clauses. Soufflé synthesizes a native parallel C++ program from a logic specification.
typeshare - Generate code in different languages from Rust type definitions for FFI interop.
indradb - A graph database written in rust
diesel-async
Event Store - EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project