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: 3 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,681
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. 834
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. 201
pysal/tobler A Python package for performing spatial interpolation and data transformation tasks with support for area-weighted, dasymetric, and change of support methods. 151
graykode/gpt-2-pytorch An implementation of the GPT-2 language model in PyTorch for generating text 973
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. 40
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,241
marella/ctransformers Provides a unified interface to various transformer models implemented in C/C++ using GGML library 1,814