serde-yaml
django-tables2
serde-yaml | django-tables2 | |
---|---|---|
14 | 14 | |
928 | 1,802 | |
- | - | |
8.0 | 6.9 | |
about 1 month ago | 18 days ago | |
Rust | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
serde-yaml
- Serde-YAML for Rust has been archived
- YAML decoder for rust discontinued do to maintainer "not using YAML anymore"
-
Project idea: port markdownlint to Rust
Either https://github.com/chyh1990/yaml-rust or https://github.com/dtolnay/serde-yaml for parsing the YAML config file that markdownlint uses
-
A question for all those that use Python
Serde for most of your input and output formats, with the serde-yaml and csv crates for format backends.
-
Why do we need configuration? Creating and handling configuration files in Rust
serde_yaml
-
Introduction to Rust generics [1/2]: Traits
This is especially useful for data deserialization: Just by implementing the Serialize and Deserialize traits from the serde crate, the (almost) universally used serialization library in the Rust world, we can then serialize and deserialize our types to a lot of data formats: JSON, YAML, TOML, BSON and so on...
-
Weird error only on android: "this struct takes 3 generic arguments but 2 generic arguments were supplied" for serde_json
FYI, I opened pull requests for serde_json and serde_yaml to explicitly enable indexmap/std, and dtolnay already merged and published them both!
-
anyone using rust in production? what do you do?
Pair that with Serde for serialization/deserialization (JSON, TOML, YAML, CSV/TSV, XML, URL query strings, etc.), Figment for configuration, and ignore for filesystem traversal with blacklist support, and Rust is a real joy for writing CLI utilities.
-
Walking a Yaml to file to Build an abstract syntax tree
I see that are packages like https://github.com/dtolnay/serde-yaml and the parser where serde is built on that give a Yaml representation, but I don't see any way to walk through it in a generic way with a Visitor.
-
Getting Started with Hippo - a WebAssembly PaaS (Part 3)
With the understanding we’ve built of the runtime environment, I feel ready to start porting a simple CLI I’ve built in Rust to run in WebAssembly as a service hosted in Hippo. [The project we’ll start with is J2Y(https://github.com/smurawski/j2y/tree/1-getting-started) – which is a little Rust application that converts JSON to YAML or YAML to JSON. We’ll adapt this to, depending on the target, either be a CLI or a WebAssembly binary to run in WAGI. The heavy lifting of the conversion is done by the serde-json and the serde-yaml crates.
django-tables2
-
The Design Philosophy of Great Tables (Software Package)
How does this compare to https://github.com/jieter/django-tables2? That one makes it really easy to display database models with column sorting and pagination.
-
[Discussion] What crates would you like to see?
The degree of reusability (Thanks to things like GenericForeignKey and the ubiquity of Django Templates and Django ORM, there are tons of reusable components like django-filter or django-tables)
-
Is there a package to render table from linq result?
In Django there is django-tables2 for example, that creates html table from database query.
- What is your favourite (or the most modern) way to render ModelForm data in HTML?
-
Batteries-included web-frameworks in Rust
(eg. "Django apps" like django-filter and django-tables2, which rely on being a slice across the ORM, controller layer, and templating engine.)
-
django-tables2 : would investing time in docs benefit community?
From the readthedocs tutorial, A few examples:
-
What is lacking in Rust ecosystem?
I don't see how Axum would enable something like django-tables2 or django-filter which has is vertically integrated with Django's ORM, routing layer, and template system.
-
anyone using rust in production? what do you do?
I've used actix-web for stuff... but I'm just sick of constantly reinventing the rote boilerplate that things like django-tables2 and django-filter generate for me once I've declared whatever customizations I want.
-
what are 3 django packages everyone should know about?
django-tables2 - like crispy forms but for tables, abstracts away the need to render tables in a template.
- I have a table on my website I need to able to search and return results inside the table.
What are some alternatives?
yaml-rust - A pure rust YAML implementation.
htmx - </> htmx - high power tools for HTML
libyaml-rust - LibYAML bindings for Rust
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
json - Strongly typed JSON library for Rust
django-crispy-forms - The best way to have DRY Django forms. The app provides a tag and filter that lets you quickly render forms in a div format while providing an enormous amount of capability to configure and control the rendered HTML.
serde - Serialization framework for Rust
bonsai - A library for building dynamic webapps, using Js_of_ocaml
toml-rs - A TOML encoding/decoding library for Rust
django-rest-framework - Web APIs for Django. 🎸
stfu8 - Sorta Text Format in UTF-8
natsort - Simple yet flexible natural sorting in Python.