UniswapX orders are not straightforward to decode or encode. With this open-source Python SDK, you can now do it very easily! You can also get the orders from the UniswapX API and resolve/verify/quote them.
The development of this library is at an early stage, so more features will be added in the near future.
You can find the source code and the documentation on GitHub.
Please, let me know any feedback or issue you may experience! :)