owl 0.4.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 61

Owl client libraries #

Client libraries (annotations and utilities) for the owl source code generator. It supports JSON serialization, HTTP APIs and SQL CRUD.

Usage #

A simple usage example can be found in the example project.

Warning: pre-1.0 API is subject to change. Please contact the contributors if you need migration path for early versions.

Changelog #

0.4.0 #

  • Upgraded to Dart 2 only.
  • Breaking change: package:postgresql is replaced by package:postgres.

0.2.3 #

  • Updated to Dart 2.

0.2.2 #

  • Fixed analysis_options.yaml and dependency.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  owl: ^0.4.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:owl/annotation/http.dart';
import 'package:owl/annotation/json.dart';
import 'package:owl/annotation/sql.dart';
import 'package:owl/util/http/webapp.dart';
import 'package:owl/util/json/core.dart';
import 'package:owl/util/sql/postgresql.dart';
  
Version Uploaded Documentation Archive
0.4.0 Sep 1, 2018 Go to the documentation of owl 0.4.0 Download owl 0.4.0 archive
0.2.3 Jul 16, 2018 Go to the documentation of owl 0.2.3 Download owl 0.2.3 archive
0.2.2 Apr 23, 2018 Go to the documentation of owl 0.2.2 Download owl 0.2.2 archive
0.2.1+1 Aug 27, 2017 Go to the documentation of owl 0.2.1+1 Download owl 0.2.1+1 archive
0.2.1 Apr 8, 2017 Go to the documentation of owl 0.2.1 Download owl 0.2.1 archive
0.2.0 Apr 2, 2017 Go to the documentation of owl 0.2.0 Download owl 0.2.0 archive
0.1.1 Jan 20, 2017 Go to the documentation of owl 0.1.1 Download owl 0.1.1 archive
0.1.0 Dec 19, 2016 Go to the documentation of owl 0.1.0 Download owl 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
30
Health:
Code health derived from static analysis. [more]
94
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
61
Learn more about scoring.

We analyzed this package on May 29, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.1
  • pana: 0.12.17

Platforms

Detected platforms: web

Platform components identified in package: html, io.

Health suggestions

Fix lib/util/sql/postgresql.dart. (-3.45 points)

Analysis of lib/util/sql/postgresql.dart reported 7 hints, including:

line 21 col 19: Use = to separate a named parameter from its default value.

line 89 col 23: Use = to separate a named parameter from its default value.

line 119 col 17: Use = to separate a named parameter from its default value.

line 120 col 21: Use = to separate a named parameter from its default value.

line 142 col 19: Use = to separate a named parameter from its default value.

Fix lib/annotation/json.dart. (-1 points)

Analysis of lib/annotation/json.dart reported 2 hints:

line 12 col 32: Use = to separate a named parameter from its default value.

line 25 col 41: Use = to separate a named parameter from its default value.

Fix lib/annotation/sql.dart. (-1 points)

Analysis of lib/annotation/sql.dart reported 2 hints:

line 39 col 22: Use = to separate a named parameter from its default value.

line 40 col 22: Use = to separate a named parameter from its default value.

Fix lib/util/json/core.dart. (-0.50 points)

Analysis of lib/util/json/core.dart reported 1 hint:

line 11 col 27: Use = to separate a named parameter from its default value.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and owl.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
postgres ^1.0.0 1.0.2
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
typed_data 1.1.6