dartpip 0.2.8 copy "dartpip: ^0.2.8" to clipboard
dartpip: ^0.2.8 copied to clipboard

Add Python modules (packages) to your Dart or Flutter project. Like `pip`, but for Dart, heavily inspired by the `pub` command.

130/ 160
pub points
91
downloads

We analyzed this package 5 days ago, and awarded it 130 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: BSD-3-Clause.

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

617 out of 622 API elements (99.2 %) have documentation comments.

Some symbols that are missing documentation: ast, dartpip, inspect, interface_gen, types.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:dartpip/dartpip.dart that imports:
  • package:python_ffi_dart/python_ffi_dart.dart that imports:
  • package:python_ffi_cpython_dart/python_ffi_cpython_dart.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:dartpip/dartpip.dart that imports:
  • package:python_ffi_dart/python_ffi_dart.dart that imports:
  • package:python_ffi_cpython_dart/python_ffi_cpython_dart.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:dartpip/dartpip.dart that imports:
  • package:python_ffi_dart/python_ffi_dart.dart that imports:
  • package:python_ffi_cpython_dart/python_ffi_cpython_dart.dart that declares support for platforms: Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dartpip/dartpip.dart that imports:
  • package:python_ffi_dart/python_ffi_dart.dart that imports:
  • package:python_ffi_interface/python_ffi_interface.dart that imports:
  • package:cli_util/cli_logging.dart that 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.

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/interface_gen/modules/inspect/src/util/reference_equality_wrapper.dart:20:17

   ╷
20 │   bool operator ==(Object? other) {
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/interface_gen/modules/inspect/src/util/reference_equality_wrapper.dart

INFO: The part-of directive uses a library name.

lib/builtin_modules/python_ffi.py.dart:1:1

  ╷
1 │ part of dartpip;
  │ ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/builtin_modules/python_ffi.py.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
archive ^3.4.2 3.6.1 4.0.7
args ^2.4.2 2.7.0 2.7.0
cli_util ^0.4.0 0.4.2 0.4.2
collection ^1.18.0 1.19.1 1.19.1
dartpip_solver ^0.0.7 0.0.7 0.0.7
http ^1.1.0 1.5.0 1.5.0
json_annotation ^4.8.1 4.9.0 4.9.0
meta ^1.10.0 1.17.0 1.17.0
path ^1.8.3 1.9.1 1.9.1
python_ffi_cpython_dart ^0.4.4 0.4.4 0.4.4
python_ffi_dart ^0.4.4 0.4.4 0.4.4
yaml ^3.1.2 3.1.3 3.1.3
yaml_edit ^2.1.1 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
http_parser - 4.1.2 4.1.2
python_ffi_interface - 0.2.0 0.2.0
source_span - 1.10.1 1.10.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
web - 1.1.1 1.1.1

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.

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.22.23, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
130
points
91
downloads

Publisher

verified publisherivlivs.dev

Weekly Downloads

Add Python modules (packages) to your Dart or Flutter project. Like `pip`, but for Dart, heavily inspired by the `pub` command.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, args, cli_util, collection, dartpip_solver, http, json_annotation, meta, path, python_ffi_cpython_dart, python_ffi_dart, yaml, yaml_edit

More

Packages that depend on dartpip