dict-derive

Struct transformer

A Rust derive macro that automatically transforms Python dicts into Rust structs and vice versa.

Derive PyO3's FromPyObject to automatically transform Python dicts into Rust structs

GitHub

105 stars
4 watching
10 forks
Language: Rust
last commit: 5 months ago

Related projects:

Repository Description Stars
pixart-alpha/pixart-sigma Develops a PyTorch model for 4K text-to-image generation using diffusion transformer 1,711
cgarciae/phi A Python library for functional programming that aims to simplify the experience by providing a unified API and operator overloading for common data transformations and operations. 134
pylons/colander A library for serializing and deserializing data structures into strings, mappings, and lists while performing validation. 451
bold-commerce/protoc-gen-struct-transformer A plugin for generating code transformations between Protocol Buffers structures and custom application models. 203
keyvank/femtogpt A Rust implementation of a minimal Generative Pretrained Transformer architecture. 845
gamrix/cs231n_proj This project focuses on manipulating 3D views using deep learning techniques. 6
davidhewitt/pythonize A Rust-based library that converts Rust objects to Python values and back using the PyO3 library. 211
pysal/tobler A Python package for interpolating and estimating variables at different spatial scales using various techniques such as areal interpolation, dasymetric mapping, and change of support. 152
graykode/gpt-2-pytorch An implementation of the GPT-2 language model in PyTorch for generating text 976
stavro/remodel A library to transform data structures for API serialization 141
galeone/rts Generates Go structs from JSON responses to specific routes defined in a configuration file. 248
3liz/proj4rs Provides a Rust implementation of PROJ.4 transformations between geographic coordinate systems. 41
danhper/structomap Tool for generating maps from Go structs with dynamic transformation and serialization options. 144
tongjilibo/bert4torch An implementation of transformer models in PyTorch for natural language processing tasks 1,257
marella/ctransformers Provides a unified interface to various transformer models implemented in C/C++ using GGML library 1,823