barneygale / quarry

Python library that implements the Minecraft network protocol and data types
Other
527 stars 75 forks source link

Question: What is better quarry or pycraft? #165

Closed namtacs closed 2 years ago

namtacs commented 2 years ago

What is better for me quarry or pycraft ?

Context: I want to make many clients at once. Aspects are important to me: Performance and stability (For example, catching errors).

dries007 commented 2 years ago

I have no idea how pycraft works, so I can only give you information about Quarry.

Quarry uses Twisted, it's event based, and basically behaves like async code. While I haven't done so I think you can (relatively easily) use multiple clients in the same thread. If you end up using Quarry, we'd be happy to accept a PR with an example, so others can learn.