py_embed 0.9.0
py_embed: ^0.9.0 copied to clipboard
Embed CPython in Dart applications using native FFI bindings to the Python C API.
We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
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
130 out of 202 API elements (64.4 %) 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/function.dartthat imports:package:py_embed/src/binding/shared.g.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 | |
resource_scope |
^0.1.0 |
0.1.0 | 0.1.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.23.19, Dart 3.13.5.
Check the analysis log for details.