[Bug 2140076] New: Review Request: python-interface-meta - Provides
a convenient way to expose an extensible API
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2140076
Bug ID: 2140076
Summary: Review Request: python-interface-meta - Provides a
convenient way to expose an extensible API
Product: Fedora
Version: rawhide
Status: NEW
Component: Package Review
Assignee: nobody(a)fedoraproject.org
Reporter: sanjay.ankur(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: package-review(a)lists.fedoraproject.org
Target Milestone: ---
Classification: Fedora
Spec URL:
https://ankursinha.fedorapeople.org/python-interface-meta/python-interfac...
SRPM URL:
https://ankursinha.fedorapeople.org/python-interface-meta/python-interfac...
Description:
interface_meta provides a convenient way to expose an extensible API with
enforced method signatures and consistent documentation.
This library has been extracted (with some modifications) from omniduct, a
library also principally written by this author, where it was central to the
extensible plugin architecture. It places an emphasis on the functionality
required to create a well-documented extensible plugin system, whereby the act
of subclassing is sufficient to register the plugin and ensure compliance to
the parent API. As such, this library boasts the following features:
- All subclasses of an interface must conform to the parent's API.
- Hierarchical runtime property existence and method signature checking.
Methods are permitted to add additional optional arguments, but otherwise
must conform to the API of their parent class (which themselves may have
extended the API of the interface).
- Subclass definition time hooks (e.g. for registration of subclasses into a
library of plugins, etc).
- Optional requirement for methods in subclasses to explicity decorate methods
with an override decorator when replacing methods on an interface, making it
clearer as to when a class is introducing new methods versus replacing those
that form the part of the interface API.
- Generation of clear docstrings on implementations that stitches together the
base interface documentation with any downstream extensions and quirks.
- Support for extracting the quirks documentation for a method from other
method docstrings, in the event that subclass implementations are done in an
internal method.
- Compatibility with ABCMeta from the standard library.
Fedora Account System Username: ankursinha
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2140076
1 year, 6 months
[Bug 1801519] New: Review Request:
golang-github-google-licenseclassifier - A License Classifier
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1801519
Bug ID: 1801519
Summary: Review Request: golang-github-google-licenseclassifier
- A License Classifier
Product: Fedora
Version: rawhide
Status: NEW
Component: Package Review
Assignee: nobody(a)fedoraproject.org
Reporter: zebob.m(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: package-review(a)lists.fedoraproject.org
Target Milestone: ---
Classification: Fedora
Spec URL:
https://eclipseo.fedorapeople.org/for-review/golang-github-google-license...
SRPM URL:
https://eclipseo.fedorapeople.org/for-review/golang-github-google-license...
Description:
The license classifier is a library and set of tools that can analyze text to
determine what type of license it contains. It searches for license texts in a
file and compares them to an archive of known licenses. These files could be,
e.g., LICENSE files with a single or multiple licenses in it, or source code
files with the license text in a comment. A "confidence level" is associated
with each result indicating how close the match was. A confidence level of 1.0
indicates an exact match, while a confidence level of 0.0 indicates that no
license was able to match the text.
Fedora Account System Username: eclipseo
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
1 year, 6 months