SaaSHub helps you find the best software and product alternatives Learn more →
Attrs Alternatives
Similar projects and alternatives to attrs
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
-
-
-
-
-
starlite
Discontinued Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
-
django-allauth
Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.
-
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
-
-
-
-
-
-
-
transitions
A lightweight, object-oriented finite state machine implementation in Python with many extensions
-
-
-
attrs discussion
attrs reviews and mentions
-
FastAPI, Pydantic, Psycopg3: the holy trinity for Python web APIs
This functionality allows you to map returned database data to any Python object, including standard lib dataclasses, models from the great attrs library, and yes, Pydantic models!
-
Why should you use attrs more
Documentation: https://www.attrs.org/
-
Litestar 2.0
Full support for validation and serialisation of attrs classes and msgspec Structs. Where previously only Pydantic models and types where supported, you can now mix and match any of these three libraries. In addition to this, adding support for another modelling library has been greatly simplified with the new plugin architecture
- Ask HN: How can I get better at writing production-level Python?
-
Starlite updates March '22 | 2.0 is coming
Pydantic is by far not the only library of its kind, with prominent members of the same class being attrs, cattrs or even plain dataclasses for some use cases.
-
Data Classification: Does Python still have a need for class without dataclass?
Anything requiring e.g. setattr, getattr, delattr? Without looking far,
https://github.com/python-attrs/attrs/blob/main/src/attr/_ma...
- What new Python features are the most useful for you?
- Why you should use Data Classes in Python
-
Python Built-In Functions to Know
I was looking for an example of using locals() to "fill a data class from kwargs" or something similar to that. The example here doesn't use locals().
That aside, I generally wouldn't use the kwargs approach shown in this example either. I'd use [dataclasses](https://docs.python.org/3/library/dataclasses.html ) or [attrs](https://www.attrs.org/) instead.
-
Building a Micro Business: What Services I Pay For
hynek: developer of attrs
-
A note from our sponsor - SaaSHub
www.saashub.com | 5 Dec 2024
Stats
python-attrs/attrs is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of attrs is Python.