pytorch_lite 4.3.2 copy "pytorch_lite: ^4.3.2" to clipboard
pytorch_lite: ^4.3.2 copied to clipboard

discontinuedreplaced by: executorch_flutter
PlatformAndroidiOS

Flutter package to help run pytorch lite models classification and yolov5 and yolov8

140/ 160
pub points
663
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

38 out of 116 API elements (32.8 %) have documentation comments.

Some symbols that are missing documentation: dtype, dtype.DType, enums, image_utils, image_utils.ImageUtils.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:pytorch_lite/pytorch_lite.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:pytorch_lite/pytorch_lite.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:pytorch_lite/pytorch_lite.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:pytorch_lite/pytorch_lite.dart that declares support for platforms: Android, iOS.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/pytorch_lite/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/pytorch_lite.dart:266:12

    ╷
266 │           .whereNotNull()
    │            ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pytorch_lite.dart

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/pytorch_lite.dart:271:10

    ╷
271 │         .whereNotNull()
    │          ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pytorch_lite.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
camera ^0.11.0+2 0.11.4 0.12.0
collection >1.0.0 <2.3.0 1.19.1 1.19.1
computer ^3.2.1 3.2.1 3.2.1
image ^4.0.15 4.8.0 4.8.0
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.2 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.9 4.0.9
async - 2.13.0 2.13.0
camera_android_camerax - 0.6.30 0.7.1
camera_avfoundation - 0.9.23+2 0.10.1
camera_platform_interface - 2.12.0 2.12.0
camera_web - 0.3.5+3 0.3.5+3
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
cross_file - 0.3.5+2 0.3.5+2
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
objective_c - 9.3.0 9.3.0
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.0 6.5.0
pub_semver - 2.2.0 2.2.0
source_span - 1.10.2 1.10.2
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

The constraint `^0.11.0+2` on camera does not support the stable version `0.12.0`, that was published 20 days ago.

When camera is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions camera 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.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
59
likes
140
points
663
downloads

Documentation

API reference

Publisher

verified publisherzcreations.info

Weekly Downloads

Flutter package to help run pytorch lite models classification and yolov5 and yolov8

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

camera, collection, computer, flutter, image, path, path_provider

More

Packages that depend on pytorch_lite

Packages that implement pytorch_lite