pydantic-core
yaegi
Our great sponsors
pydantic-core | yaegi | |
---|---|---|
18 | 38 | |
1,252 | 6,533 | |
3.3% | 2.4% | |
9.6 | 5.6 | |
7 days ago | 22 days ago | |
Python | Go | |
MIT License | Apache License 2.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.
pydantic-core
-
Is there a pydantic.BaseSettings equivalent in rust?
Funny that you ask... https://github.com/pydantic/pydantic-core Unfortunately it seems that the functionality you ask for is not (yet) part of this ...
-
Investigating Pydantic v2's Bold Performance Claims
I encourage you to checkout the official benchmarks for more realistic and detailed examples, and, as always, YMMV.
-
Pydantic V2 leverages Rust's Superpowers [video]
> to also be constrained by a separate set of data types which are legal in rust.
This isn't really how writing rust/python iterop works. You tend to have opaque handles you call python methods on. Here's a decent example I found skimming the code.
https://github.com/pydantic/pydantic-core/blob/main/src/inpu...
-
Pydantic vs Protobuf vs Namedtuples vs Dataclasses
Thanks for pointing out to that, I did not know about it. Also attaching repo in case someone would be interested as well - https://github.com/pydantic/pydantic-core
-
Introducing CodSpeed: Continuous Performance Measurement
pydantic-core: The core validation logic for pydantic, a Python data parsing and validation library.
-
Show HN: Python framework is faster than Golang Fiber
pydandic-core [0] will hopefully solve this issue (written in Rust)
- Scala or Rust? which one will rule in future?
-
Pydantic 2 rewritten in Rust was merged
Here's the Rust library: https://github.com/pydantic/pydantic-core
yaegi
-
Go: What We Got Right, What We Got Wrong
Yes. There are long standing feature requests for (e.g.) the reflect package that simply don't get done because they'd break this assumption and/or force further indirection in hot paths to support "no code generation at runtime, ever".
Packages like Yaegi (that offers an interpreted Go REPL) have "know limitations, won't be addressed" also because of these assumptions.
https://github.com/golang/go/issues/4146
https://github.com/golang/go/issues/16522
https://github.com/traefik/yaegi?tab=readme-ov-file#limitati...
- Fourteen Years of Go
-
Gojekyll – 20x faster Go port of jekyll
There is always https://github.com/traefik/yaegi - a Go interpreter written to make it easy to write plugins.
- Jacobin: Minimal JVM written in Go and capable of running Java 17 classes
-
Can Go run statements in cmd like Python?
I think https://github.com/traefik/yaegi comes as close as using the python interpreter in you CLI, but for Go
-
Can Go files be compiled by themselves?
There's a go interpreter: https://github.com/traefik/yaegi It could run programs without compiling them, but there're some limitations.
-
referencing packages on the internet and using go plugin
I'd recommend looking into a different approach for plugins such as hashicorp/go-plugin (which uses multiple process PIDs and RPC communication between them) or traefik/yaegi (which implements a Go-compatible scripting language that can be interpreted at runtime and which still supports most Go modules).
-
Mun v0.4.0: a statically-typed scripting language like Rust, written in Rust
Why do we need a language like Rust when we have Rust. Why not just create a Rust interpreter. (There's such an interpreter for Go, BTW, https://github.com/traefik/yaegi )
-
Plugo - A plugin library for Go.
A cool solution I saw was Traefik's yaegi module. They basically created an interpreted scripting language with Go compatible syntax (turning Go into an interpreted, not compiled, language). I haven't tried this but it sounds like it brings the better parts of dynamic languages like Python's plugin support to Go - plugin writers can still write "Go" code, which can load dynamically.
-
Best local Golang REPL for learning?
I've used https://github.com/traefik/yaegi REPL combined with rlwrap for nicer readline experience. But sadly no completion.
What are some alternatives?
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
aiohttp-apispec - Build and document REST APIs with aiohttp and apispec
gomacro - Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros
grule-rule-engine - Rule engine implementation in Golang
gobook - Simple in Pure Go in Browser Interactive Interpreter
scriggo - The world’s most powerful template engine and Go embeddable interpreter
gophernotes - The Go kernel for Jupyter notebooks and nteract.
gop - The Go+ programming language is designed for engineering, STEM education, and data science
go - The Go programming language
klipse - Klipse is a JavaScript plugin for embedding interactive code snippets in tech blogs.
grex - A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML