vedic_panchanga_dart 0.1.0
vedic_panchanga_dart: ^0.1.0 copied to clipboard
A Dart port of PyJHora for Vedic astrology panchanga calculations. Provides accurate calculations for Tithi, Nakshatra, Yoga, Karana, sunrise/sunset, and planetary positions.
We analyzed this package 4 days 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
45 out of 162 API elements (27.8 %) have documentation comments.
Some symbols that are missing documentation: vedic_panchanga_dart.KaranaInfo.KaranaInfo.new, vedic_panchanga_dart.KaranaInfo.endTime, vedic_panchanga_dart.KaranaInfo.name, vedic_panchanga_dart.KaranaInfo.number, vedic_panchanga_dart.NakshatraInfo.NakshatraInfo.new.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:vedic_panchanga_dart/vedic_panchanga_dart.dartthat imports:package:vedic_panchanga_dart/src/panchanga_service.dartthat imports:package:sweph/sweph.dartthat imports:package:sweph/src/types.dartthat imports:package:sweph/src/utils.dartthat imports:package:sweph/src/ffi_proxy.dartthat imports:package:sweph/src/wasm_provider.dartthat imports:package:wasm_interop/wasm_interop.dartthat imports:package:js/js_util.dartthat imports:dart:js_util
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
sweph |
^2.10.3 |
2.10.3+18 | 3.2.1+2.10.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.2 | |
html |
- | 0.15.6 | 0.15.6 | |
inject_js |
- | 2.1.0 | 2.1.0 | |
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.2 | |
native_toolchain_c |
- | 0.17.6 | 0.17.6 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.23 | 2.2.23 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
wasm_ffi |
- | 0.9.4 | 2.3.0 | |
wasm_interop |
- | 2.0.1 | 2.0.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.10.3` on sweph does not support the stable version `3.0.0+2.10.3`.
Try running dart pub upgrade --major-versions sweph to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 27 errors:
STATIC_ACCESS_TO_INSTANCE_MEMBER-lib/src/panchanga_service.dart:34:13- Instance member 'swe_set_sid_mode' can't be accessed using static access.STATIC_ACCESS_TO_INSTANCE_MEMBER-lib/src/panchanga_service.dart:54:17- Instance member 'swe_calc_ut' can't be accessed using static access.STATIC_ACCESS_TO_INSTANCE_MEMBER-lib/src/panchanga_service.dart:92:28- Instance member 'swe_rise_trans' can't be accessed using static access.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Dart 3.11.2.
Check the analysis log for details.