python_ffi_cpython_dart 0.4.4
python_ffi_cpython_dart: ^0.4.4 copied to clipboard
The macOS, Windows and Linux implementation of python_ffi_dart, a Python-FFI for Dart.
We analyzed this package 10 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
117 out of 1182 API elements (9.9 %) 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: python_ffi_cpython_dart.DartPythonCBindings.PyAIter_Check, python_ffi_cpython_dart.DartPythonCBindings.PyArg_Parse, python_ffi_cpython_dart.DartPythonCBindings.PyArg_ParseTuple, python_ffi_cpython_dart.DartPythonCBindings.PyArg_ParseTupleAndKeywords, python_ffi_cpython_dart.DartPythonCBindings.PyArg_UnpackTuple.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat declares support for platforms:Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat imports:package:python_ffi_interface/python_ffi_interface.dartthat imports:package:cli_util/cli_logging.dartthat 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 477 issues. Showing the first 2:
WARNING: The declaration '_PyMem_GetCurrentAllocatorName' isn't referenced.
lib/src/ffi/generated_bindings.g.dart:149:25
╷
149 │ ffi.Pointer<ffi.Char> _PyMem_GetCurrentAllocatorName() {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/generated_bindings.g.dart
WARNING: The declaration '_PyMem_RawStrdup' isn't referenced.
lib/src/ffi/generated_bindings.g.dart:160:25
╷
160 │ ffi.Pointer<ffi.Char> _PyMem_RawStrdup(
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/generated_bindings.g.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.4.2 |
3.6.1 | 4.0.7 | |
cli_util |
^0.4.0 |
0.4.2 | 0.4.2 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
ffi |
^2.1.0 |
2.1.4 | 2.1.4 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
python_ffi_interface |
^0.2.0 |
0.2.0 | 0.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.0 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.4.2` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
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.1, Dart 3.9.4.
Check the analysis log for details.