tensorzero 0.1.0 copy "tensorzero: ^0.1.0" to clipboard
tensorzero: ^0.1.0 copied to clipboard

A full-featured Dart client for TensorZero Gateway supporting both native inference and OpenAI-compatible APIs with streaming, tool calling, and multimodal capabilities.

120/ 160
pub points
74
downloads

We analyzed this package 1 hour ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Could not find any pubspec.yaml in the repository.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: tensorzero,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

319 out of 525 API elements (60.8 %) have documentation comments.

Some symbols that are missing documentation: tensorzero.ApiEndpoint.path, tensorzero.AuthenticationException.AuthenticationException.new, tensorzero.Awesome, tensorzero.Awesome.Awesome.new, tensorzero.Awesome.isAwesome.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 23 issues. Showing the first 2:

WARNING: The annotation 'JsonKey.new' can only be used on fields or getters.

lib/src/domain/value_objects/content_block.dart:18:6

   ╷
18 │     @JsonKey(name: 'arguments') Map<String, dynamic>? arguments,
   │      ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/domain/value_objects/content_block.dart

WARNING: The value of the local variable 'errorCode' isn't used.

lib/src/infrastructure/http/http_client.dart:356:13

    ╷
356 │       final errorCode = jsonBody['error']?['code'] as String?;
    │             ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/infrastructure/http/http_client.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
clock ^1.1.1 1.1.2 1.1.2
collection ^1.18.0 1.19.1 1.19.1
dartz ^0.10.1 0.10.1 0.10.1
freezed_annotation ^2.4.1 2.4.4 3.1.0
http ^1.2.0 1.6.0 1.6.0
json_annotation ^4.9.0 4.9.0 4.9.0
logging ^1.2.0 1.3.0 1.3.0
meta ^1.12.0 1.18.1 1.18.1
sse ^4.1.2 4.1.8 4.1.8
uuid ^4.2.1 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
pool - 1.5.2 1.5.2
shelf - 1.4.2 1.4.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
74
downloads

Publisher

verified publisherzuzu.dev

Weekly Downloads

A full-featured Dart client for TensorZero Gateway supporting both native inference and OpenAI-compatible APIs with streaming, tool calling, and multimodal capabilities.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

clock, collection, dartz, freezed_annotation, http, json_annotation, logging, meta, sse, uuid

More

Packages that depend on tensorzero