siren15 / Pyre

Pyre is a fast and stable-ish WIP wrapper for revolt.chat
https://revolt.chat
1 stars 0 forks source link

A revolt server? #1

Closed MCausc78 closed 1 month ago

MCausc78 commented 2 months ago

Hello. Recently I was curious and wanted to find other Python libraries for Revolt (apart from my own). Wanted to ask, is there a Revolt server about Pyre?

A few recommendations:

siren15 commented 1 month ago

A month later, but here's some answers anyways.

There is technically a server, but since I'm not actually working on this as my main project as my time is scarce, I'm not gonna promote it as it would be hard for me to even check it at this time. If people need to contact me about this project, github is always here.

Plus this is a WIP and will stay so for a much longer like it is. I don't have as much time to work on this as I would like to. Is it technically usable? Sure. But I don't recommend it being the main library someone would want to use, it's still very much bare. Plus I ain't really giving support because of that. After all my intention for this was to learn myself more about APIs and wrappers and how to build them. Something coming off of this project or people wanting to use it is a welcome thing, but not expected.

I'm not really concerned about performance with either enums or custom validations, as custom validations are there to validate user input, not the server input. And as I want to make my life easy, I want to reuse as much of my models as I can.

I'm not concerned about pydantic, I have experience using it and I haven't really seen much of issues with large datasets. And since my library is focusing on being model centric(and I want users to define the types of the vars), I would need to scrap everything to start with something new and I ain't doing that.

I don't really want to remove the ability of users having all the members, it's something even I personally use for my Discord bots. It's a function to call, it's not degrading performance by being there. And if I notice the function being very slow itself, I can always find a better way of doing it.