dart_periphery 0.9.9 copy "dart_periphery: ^0.9.9" to clipboard
dart_periphery: ^0.9.9 copied to clipboard

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O).

56
likes
150/ 160
pub points
83%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

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

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

526 out of 756 API elements (69.6 %) have documentation comments.

Some symbols that are missing documentation: dart_periphery, dart_periphery.AirQuality.color, dart_periphery.AirQuality.isTextColorBlack, dart_periphery.AirQuality.lowerBound, dart_periphery.AirQuality.upperBound.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:dart_periphery/dart_periphery.dart that imports:
  • package:dart_periphery/src/version.dart that imports:
  • package:dart_periphery/src/signature.dart that imports:
  • package:dart_periphery/src/library.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_periphery/dart_periphery.dart that imports:
  • package:dart_periphery/src/version.dart that imports:
  • package:dart_periphery/src/signature.dart that imports:
  • package:dart_periphery/src/library.dart that imports:
  • dart:io

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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

/tmp/pana_ROJPGC/lib/src/native/lib_base64.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.6.1 3.6.1 3.6.1
async ^2.11.0 2.12.0 2.12.0
collection ^1.18.0 1.19.1 1.19.1
ffi ^2.1.2 2.1.3 2.1.3
meta ^1.15.0 1.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
process ^5.0.2 5.0.3 5.0.3
stack_trace ^1.11.1 1.12.0 1.12.0
Transitive dependencies
Package Constraint Compatible Latest
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
typed_data - 1.4.0 1.4.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

56
likes
150
pub points
83%
popularity

Publisher

verified publisherflutterdev.at

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, async, collection, ffi, meta, path, process, stack_trace

More

Packages that depend on dart_periphery