lora_sdk 1.0.4 copy "lora_sdk: ^1.0.4" to clipboard
lora_sdk: ^1.0.4 copied to clipboard

LoraSDK is a Flutter package that enables easy integration of local Large Language Models (LLM) into your Flutter applications. It provides a streamlined interface for managing and running LLM models [...]

100/ 160
pub points
38
downloads

We analyzed this package 5 days ago, and awarded it 100 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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Repository URL doesn't exist.

At the time of the analysis https://github.com/peekaboolabs-appdev/lora-sdk 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

2 out of 57 API elements (3.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: lora_sdk, lora_sdk.LLMInterface, lora_sdk.LLMInterface.LLMInterface.new, lora_sdk.LLMInterface.cancelInference, lora_sdk.LLMInterface.chat.

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:lora_sdk/lora_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

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

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:lora_sdk/lora_sdk.dart that imports:
  • package:lora_sdk/src/implementation/lora_service_impl.dart that imports:
  • package:lora_sdk/src/implementation/managers/performance_metric_manager.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:lora_sdk/lora_sdk.dart that imports:
  • package:lora_sdk/src/implementation/lora_service_impl.dart that imports:
  • package:lora_sdk/src/implementation/managers/performance_metric_manager.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

It does not contain ios/lora_sdk/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.

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 13 issues. Showing the first 2:

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

lib/src/core/sdk_config.dart:63:13

   ╷
63 │       final configString = await rootBundle
   │             ^^^^^^^^^^^^
   ╵

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

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

lib/src/data/datasources/local/lora_sdk_database.dart:107:16

    ╷
107 │   Future<void> _insertInitialData(Transaction txn) async {
    │                ^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/datasources/local/lora_sdk_database.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
battery_plus ^6.2.1 6.2.3 7.0.0
connectivity_plus ^6.1.3 6.1.5 7.0.0
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.6 3.0.7 3.0.7
device_info_plus ^11.3.0 11.5.0 12.3.0
flutter_secure_storage ^9.2.4 9.2.4 10.0.0
http ^1.3.0 1.6.0 1.6.0
logger ^2.5.0 2.6.2 2.6.2
package_info_plus ^8.2.1 8.3.1 9.0.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.5 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
shared_preferences ^2.5.1 2.5.4 2.5.4
sqflite ^2.4.1 2.4.2 2.4.2
synchronized ^3.3.0+3 3.4.0 3.4.0
tiktoken_tokenizer_gpt4o_o1 ^1.1.0 1.2.1 1.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
battery_plus_platform_interface - 2.0.1 2.0.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.12 0.7.12
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 3.1.2 4.1.0
glob - 2.1.3 2.1.3
hooks - 1.0.1 1.0.1
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
native_toolchain_c - 0.17.4 0.17.4
nm - 0.5.0 0.5.0
objective_c - 9.3.0 9.3.0
package_info_plus_platform_interface - 3.2.1 3.2.1
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
pub_semver - 2.2.0 2.2.0
shared_preferences_android - 2.4.21 2.4.21
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
upower - 0.7.0 0.7.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.0.0
win32_registry - 2.1.0 3.0.2
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.

Found 5 issues. Showing the first 2:

The constraint `^6.2.1` on battery_plus does not support the stable version `7.0.0`.

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

The constraint `^6.1.3` on connectivity_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus 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.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

LoraSDK is a Flutter package that enables easy integration of local Large Language Models (LLM) into your Flutter applications. It provides a streamlined interface for managing and running LLM models locally on device.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

battery_plus, connectivity_plus, convert, crypto, device_info_plus, flutter, flutter_secure_storage, http, logger, package_info_plus, path, path_provider, plugin_platform_interface, shared_preferences, sqflite, synchronized, tiktoken_tokenizer_gpt4o_o1

More

Packages that depend on lora_sdk

Packages that implement lora_sdk