kreuzberg_cloud_sdk 0.3.1 copy "kreuzberg_cloud_sdk: ^0.3.1" to clipboard
kreuzberg_cloud_sdk: ^0.3.1 copied to clipboard

Official Dart client SDK for the Kreuzberg Cloud document extraction API. Asynchronous extraction with webhook delivery, presigned uploads, and job polling.

115/ 160
pub points
299
downloads

We analyzed this package 8 hours ago, and awarded it 115 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.3.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

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

2022 out of 2402 API elements (84.2 %) have documentation comments.

Some symbols that are missing documentation: kreuzberg_cloud_sdk.AnnotationKind.AnnotationKind.bold, kreuzberg_cloud_sdk.AnnotationKind.AnnotationKind.code, kreuzberg_cloud_sdk.AnnotationKind.AnnotationKind.fromJson, kreuzberg_cloud_sdk.AnnotationKind.AnnotationKind.italic, kreuzberg_cloud_sdk.AnnotationKind.AnnotationKind.link.

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

WASM-ready: This package is compatible with runtime wasm. 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 22 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/src/_generated/models/block_type.dart:60:12

   ╷
60 │     return value as String;
   │            ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/_generated/models/block_type.dart

WARNING: Unnecessary cast.

lib/src/_generated/models/bypass_mode.dart:33:12

   ╷
33 │     return value as String;
   │            ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/_generated/models/bypass_mode.dart

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

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

Package Constraint Compatible Latest Notes
dio ^5.9.0 5.9.2 5.9.2
freezed_annotation ^3.1.0 3.1.0 3.1.0
json_annotation ^4.9.0 4.12.0 4.12.0
meta ^1.11.0 1.18.3 1.18.3
retrofit ^4.9.1 4.9.2 4.9.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
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.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 22 errors:

  • NOT_ENOUGH_POSITIONAL_ARGUMENTS - lib/src/_generated/documents/documents_client.g.dart:66:43 - 4 positional arguments expected by 'logError', but 3 found.
  • UNDEFINED_NAMED_PARAMETER - lib/src/_generated/documents/documents_client.g.dart:66:45 - The named parameter 'response' isn't defined.
  • NOT_ENOUGH_POSITIONAL_ARGUMENTS - lib/src/_generated/documents/documents_client.g.dart:96:43 - 4 positional arguments expected by 'logError', but 3 found.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Dart 3.12.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
299
downloads

Documentation

Documentation
API reference

Publisher

verified publisherkreuzberg.dev

Weekly Downloads

Official Dart client SDK for the Kreuzberg Cloud document extraction API. Asynchronous extraction with webhook delivery, presigned uploads, and job polling.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#kreuzberg #document-extraction #ocr #api-client

License

MIT (license)

Dependencies

dio, freezed_annotation, json_annotation, meta, retrofit

More

Packages that depend on kreuzberg_cloud_sdk