An open API service indexing awesome lists of open source software.

https://github.com/vizonex/cyclass

A dataclasses library inspired by msgspec , pydantic and attrs written in cython.
https://github.com/vizonex/cyclass

cython dataclasses json python python3 serlizable yaml

Last synced: 4 months ago
JSON representation

A dataclasses library inspired by msgspec , pydantic and attrs written in cython.

Awesome Lists containing this project

README

          

# CyClass
A New Kind of dataclass Library based on the serlization of msgspec and the safety of attrs written in cython.
There's a lot of work to do and I think you're going to like this exciting python library coming soon.

## Goals with this library
- Providing a Baseclass Just like Msgspec does but with better maintainability with the use of cython
- The Ability of being able to develop extensions such as SQLAlchemy which I am already commited to just building in as a bonus.

## Updates
- I am resuming this project but it will be massively rewritten.
- `__cinit__` is python's `__new__` method (Shocking, I know...) so metaclasses can be made with high performance.
- CWPack is going to be the new json serlizer and deserlizer and I modified a few things to make it "cython-acceptable"
- Fields will be written in the same format as Msgspec only this time they are subclassable...
- CodeWriter will use aiohttp's httpwriter's implementation
- __SQLTable__ Extension is now going to be built-in with this project by checking if sqlalchemy was installed.
- `Msgspec.Struct` , `dataclass`, `attrs` (maybe), `NamedTuple` support. Which means they all get serlized.