explodinglabs / jsonrpcserver

Process incoming JSON-RPC requests in Python
https://www.jsonrpcserver.com
MIT License
185 stars 40 forks source link

OSlash dependency is not meant for production use #225

Closed mikepii closed 2 years ago

mikepii commented 2 years ago

jsonrpcserver uses the OSlash package. From the OSlash readme:

OSlash is intended to be a tutorial. For practical functional programming in Python in production environments you should use Expression instead.

bcb commented 2 years ago

Yes I’m keen to remove the dependency. One issue we found is that there’s no conda recipe for OSlash which in turn means no jsonrpcserver in conda.

We should use some other library or even write a simple bind function to include in jsonrpcserver. That’s the only part of OSlash being used.

bcb commented 2 years ago

I just found https://github.com/dry-python/returns which would be perfect for this.

bcb commented 2 years ago

This has been merged into version 6, which is coming soon.

antispam2002 commented 1 year ago

Any chances to get v6 out soon?

bcb commented 1 year ago

Yeah, all that’s left for 6 is to replace setup.py with pyproject.toml and some documentation and then I’ll make a pre-release.