dart_duckdb 1.1.3 copy "dart_duckdb: ^1.1.3" to clipboard
dart_duckdb: ^1.1.3 copied to clipboard

Provides lightweight yet convenient bindings to DuckDB by using dart:ffi

11
likes
120/ 160
pub points
139
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/duckdb/duckdb/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

80 out of 119 API elements (67.2 %) have documentation comments.

Some symbols that are missing documentation: dart_duckdb.Appender.Appender.new, dart_duckdb.Connection.Connection.new, dart_duckdb.Database.Database.new, dart_duckdb.DatabaseType.dartType, dart_duckdb.DatabaseType.isDate.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:dart_duckdb/dart_duckdb.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_duckdb/dart_duckdb.dart that imports:
  • package:dart_duckdb/src/api/result_set.dart that imports:
  • package:dart_duckdb/src/api/database_type.dart that imports:
  • package:dart_duckdb/src/ffi/duckdb.g.dart that imports:
  • dart:ffi

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

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

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/dart_duckdb/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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 16 issues. Showing the first 2:

WARNING: The declaration '__mbstate_t' isn't referenced.

lib/src/ffi/duckdb.g.dart:8350:13

     ╷
8350 │ final class __mbstate_t extends ffi.Union {
     │             ^^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ffi/duckdb.g.dart

WARNING: The value of the field '__mbstate8' isn't used.

lib/src/ffi/duckdb.g.dart:8352:32

     ╷
8352 │   external ffi.Array<ffi.Char> __mbstate8;
     │                                ^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ffi/duckdb.g.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
async ^2.11.0 2.13.0 2.13.0
collection ^1.17.0 1.19.1 1.19.1
ffi ^2.0.1 2.1.4 2.1.4
intl ^0.19.0 0.19.0 0.20.2
meta ^1.8.0 1.16.0 1.16.0
path ^1.8.2 1.9.1 1.9.1
uuid ^4.4.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl 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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
120
points
139
downloads

Publisher

verified publishertigereye.com

Weekly Downloads

Provides lightweight yet convenient bindings to DuckDB by using dart:ffi

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, collection, ffi, intl, meta, path, uuid

More

Packages that depend on dart_duckdb