py_embed 0.5.0
py_embed: ^0.5.0 copied to clipboard
Embed CPython in Dart applications using native FFI bindings to the Python C API.
We analyzed this package in the last hour, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/dzylikecode/invariance/tree/main/packages/py_embed 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
81 out of 159 API elements (50.9 %) have documentation comments.
Some symbols that are missing documentation: debug, debug.PyRefDebugExtension, debug.PyRefDebugExtension.count, debug.getRefCount, py_embed.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:py_embed/py_embed.dartthat imports:package:py_embed/src/scope.dartthat imports:package:py_embed/src/binding/api.dartthat imports:package:py_embed/src/env/env_args.dartthat imports:package:py_embed/src/env/loader.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 57 issues. Showing the first 2:
WARNING: The value of the field '_config_init' isn't used.
lib/src/binding/posix_3_10_21.g.dart:767:16
╷
767 │ external int _config_init;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/binding/posix_3_10_21.g.dart
WARNING: The value of the field '_install_importlib' isn't used.
lib/src/binding/posix_3_10_21.g.dart:905:16
╷
905 │ external int _install_importlib;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/binding/posix_3_10_21.g.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.2.0 |
2.2.0 | 2.2.0 | |
meta |
^1.19.0 |
1.19.0 | 1.19.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 |
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.23.19, Dart 3.13.5.
Check the analysis log for details.