hyperinfer 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. hyperinfer-0.2.0/Cargo.lock +5415 -0
  2. hyperinfer-0.2.0/Cargo.toml +14 -0
  3. hyperinfer-0.2.0/PKG-INFO +66 -0
  4. hyperinfer-0.2.0/README.md +56 -0
  5. hyperinfer-0.2.0/crates/hyperinfer-client/CHANGELOG.md +8 -0
  6. hyperinfer-0.2.0/crates/hyperinfer-client/Cargo.toml +52 -0
  7. hyperinfer-0.2.0/crates/hyperinfer-client/README.md +53 -0
  8. hyperinfer-0.2.0/crates/hyperinfer-client/package.json +8 -0
  9. hyperinfer-0.2.0/crates/hyperinfer-client/src/cache.rs +376 -0
  10. hyperinfer-0.2.0/crates/hyperinfer-client/src/lib.rs +849 -0
  11. hyperinfer-0.2.0/crates/hyperinfer-client/src/mirroring.rs +332 -0
  12. hyperinfer-0.2.0/crates/hyperinfer-client/src/router.rs +297 -0
  13. hyperinfer-0.2.0/crates/hyperinfer-client/src/router_engine.rs +206 -0
  14. hyperinfer-0.2.0/crates/hyperinfer-client/src/safe_resolver.rs +82 -0
  15. hyperinfer-0.2.0/crates/hyperinfer-client/src/telemetry.rs +348 -0
  16. hyperinfer-0.2.0/crates/hyperinfer-client/src/telemetry_otlp.rs +289 -0
  17. hyperinfer-0.2.0/crates/hyperinfer-client/src/util.rs +19 -0
  18. hyperinfer-0.2.0/crates/hyperinfer-core/CHANGELOG.md +7 -0
  19. hyperinfer-0.2.0/crates/hyperinfer-core/Cargo.toml +44 -0
  20. hyperinfer-0.2.0/crates/hyperinfer-core/README.md +47 -0
  21. hyperinfer-0.2.0/crates/hyperinfer-core/package.json +5 -0
  22. hyperinfer-0.2.0/crates/hyperinfer-core/src/error.rs +57 -0
  23. hyperinfer-0.2.0/crates/hyperinfer-core/src/lib.rs +45 -0
  24. hyperinfer-0.2.0/crates/hyperinfer-core/src/rate_limiting.rs +417 -0
  25. hyperinfer-0.2.0/crates/hyperinfer-core/src/redis.rs +472 -0
  26. hyperinfer-0.2.0/crates/hyperinfer-core/src/telemetry_consumer.rs +1052 -0
  27. hyperinfer-0.2.0/crates/hyperinfer-core/src/traits/config_store.rs +14 -0
  28. hyperinfer-0.2.0/crates/hyperinfer-core/src/traits/database.rs +197 -0
  29. hyperinfer-0.2.0/crates/hyperinfer-core/src/traits/mod.rs +7 -0
  30. hyperinfer-0.2.0/crates/hyperinfer-core/src/types.rs +924 -0
  31. hyperinfer-0.2.0/crates/hyperinfer-core/tests/rate_limiting-integration.rs +168 -0
  32. hyperinfer-0.2.0/crates/hyperinfer-core/tests/telemetry-integration.rs +428 -0
  33. hyperinfer-0.2.0/crates/hyperinfer-providers/Cargo.toml +33 -0
  34. hyperinfer-0.2.0/crates/hyperinfer-providers/README.md +66 -0
  35. hyperinfer-0.2.0/crates/hyperinfer-providers/src/anthropic.rs +674 -0
  36. hyperinfer-0.2.0/crates/hyperinfer-providers/src/gemini.rs +878 -0
  37. hyperinfer-0.2.0/crates/hyperinfer-providers/src/lib.rs +250 -0
  38. hyperinfer-0.2.0/crates/hyperinfer-providers/src/openai.rs +539 -0
  39. hyperinfer-0.2.0/crates/hyperinfer-providers/src/provider_trait.rs +76 -0
  40. hyperinfer-0.2.0/crates/hyperinfer-providers/src/registry.rs +301 -0
  41. hyperinfer-0.2.0/crates/hyperinfer-python/CHANGELOG.md +10 -0
  42. hyperinfer-0.2.0/crates/hyperinfer-python/Cargo.toml +27 -0
  43. hyperinfer-0.2.0/crates/hyperinfer-python/README.md +56 -0
  44. hyperinfer-0.2.0/crates/hyperinfer-python/package.json +9 -0
  45. hyperinfer-0.2.0/crates/hyperinfer-python/src/client.rs +614 -0
  46. hyperinfer-0.2.0/crates/hyperinfer-python/src/lib.rs +41 -0
  47. hyperinfer-0.2.0/crates/hyperinfer-python/src/providers.rs +234 -0
  48. hyperinfer-0.2.0/crates/hyperinfer-python/src/registry_wrapper.rs +78 -0
  49. hyperinfer-0.2.0/crates/hyperinfer-python/src/types.rs +124 -0
  50. hyperinfer-0.2.0/crates/hyperinfer-python/tests/integration/__init__.py +0 -0
  51. hyperinfer-0.2.0/crates/hyperinfer-python/tests/integration/test_redis_integration.py +90 -0
  52. hyperinfer-0.2.0/crates/hyperinfer-python/tests/test_client.py +164 -0
  53. hyperinfer-0.2.0/crates/hyperinfer-python/tests/test_integration.py +78 -0
  54. hyperinfer-0.2.0/crates/hyperinfer-python/tests/test_otel.py +231 -0
  55. hyperinfer-0.2.0/crates/hyperinfer-router/Cargo.toml +35 -0
  56. hyperinfer-0.2.0/crates/hyperinfer-router/README.md +49 -0
  57. hyperinfer-0.2.0/crates/hyperinfer-router/src/deployment.rs +481 -0
  58. hyperinfer-0.2.0/crates/hyperinfer-router/src/engine.rs +507 -0
  59. hyperinfer-0.2.0/crates/hyperinfer-router/src/error.rs +31 -0
  60. hyperinfer-0.2.0/crates/hyperinfer-router/src/fallback.rs +234 -0
  61. hyperinfer-0.2.0/crates/hyperinfer-router/src/lib.rs +22 -0
  62. hyperinfer-0.2.0/crates/hyperinfer-router/src/state/mod.rs +3 -0
  63. hyperinfer-0.2.0/crates/hyperinfer-router/src/state/redis_state.rs +301 -0
  64. hyperinfer-0.2.0/crates/hyperinfer-router/src/strategy/cost_based.rs +236 -0
  65. hyperinfer-0.2.0/crates/hyperinfer-router/src/strategy/latency_based.rs +395 -0
  66. hyperinfer-0.2.0/crates/hyperinfer-router/src/strategy/least_busy.rs +225 -0
  67. hyperinfer-0.2.0/crates/hyperinfer-router/src/strategy/mod.rs +91 -0
  68. hyperinfer-0.2.0/crates/hyperinfer-router/src/strategy/usage_based.rs +204 -0
  69. hyperinfer-0.2.0/crates/hyperinfer-router/src/strategy/weighted_shuffle.rs +406 -0
  70. hyperinfer-0.2.0/crates/hyperinfer-router/tests/engine_integration.rs +228 -0
  71. hyperinfer-0.2.0/crates/hyperinfer-router/tests/redis_state_integration.rs +283 -0
  72. hyperinfer-0.2.0/pyproject.toml +23 -0
  73. hyperinfer-0.2.0/python/hyperinfer/__init__.py +27 -0
  74. hyperinfer-0.2.0/python/hyperinfer/_hyperinfer.pyi +159 -0
  75. hyperinfer-0.2.0/python/hyperinfer/client.py +171 -0
  76. hyperinfer-0.2.0/python/hyperinfer/config.py +123 -0
  77. hyperinfer-0.2.0/python/hyperinfer/py.typed +0 -0
  78. hyperinfer-0.2.0/python/hyperinfer/telemetry.py +14 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.