{"library":"ry","title":"ry","description":"ry (\"rust | python\") is a high-performance Python library providing Rust-accelerated bindings for hashing, encoding, UUID generation, HTTP client, and more. Current version 0.0.91. Frequent releases (multiple per month), pre-1.0 rapid development.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install ry"],"cli":null},"imports":["import ry","import ry; hash_obj = ry.Hash()"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import ry\n\n# Generate a UUID v4\nuuid_v4 = ry.uuid4()\nprint(f\"UUID4: {uuid_v4}\")\n\n# Compute SHA-256 hash\nhash_obj = ry.hash(b\"hello\", algorithm=ry.HashAlgorithm.SHA256)\nprint(f\"SHA256: {hash_obj.hex()}\")\n\n# Encode an object to JSON base64\nencoded = ry.json_base64_encode({\"key\": \"value\"})\nprint(f\"Encoded: {encoded}\")\n\n# Decode it\ndecoded = ry.json_base64_decode(encoded)\nprint(f\"Decoded: {decoded}\")\n\n# Use the HTTP client\nclient = ry.Client()\nresponse = client.request(\"GET\", \"https://httpbin.org/get\")\nprint(f\"Status: {response.status_code}\")","lang":"python","description":"Basic operations: UUID generation, hashing, base64 JSON encode/decode, and an HTTP client.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}