echo

Callback Properties in Python

https://github.com/glue-viz/echo

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 7 committers (28.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary

Keywords from Contributors

astropy astronomy astrophysics closember astropy-affiliated
Last synced: 10 months ago · JSON representation

Repository

Callback Properties in Python

Basic Info
  • Host: GitHub
  • Owner: glue-viz
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage: http://echo.readthedocs.io
  • Size: 210 KB
Statistics
  • Stars: 20
  • Watchers: 9
  • Forks: 10
  • Open Issues: 4
  • Releases: 4
Created over 12 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.rst

|Azure Status| |Coverage status|

echo: Callback Properties in Python
===================================

Echo is a small library for attaching callback functions to property
state changes. For example:

::

    class Switch(object):
        state = CallbackProperty('off')

    def report_change(state):
        print 'the switch is %s' % state

    s = Switch()
    add_callback(s, 'state', report_change)

    s.state = 'on'  # prints 'the switch is on'

CalllbackProperties can also be built using decorators

::

    class Switch(object):

          @callback_property
          def state(self):
            return self._state

          @state.setter
          def state(self, value):
              if value not in ['on', 'off']:
                  raise ValueError("invalid setting")
              self._state = value

Full documentation is avilable `here `__

.. |Azure Status| image:: https://dev.azure.com/glue-viz/echo/_apis/build/status/glue-viz.echo?branchName=master
   :target: https://dev.azure.com/glue-viz/echo/_build/latest?definitionId=4&branchName=master
.. |Coverage Status| image:: https://codecov.io/gh/glue-viz/echo/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/glue-viz/echo

Owner

  • Name: glue-viz
  • Login: glue-viz
  • Kind: organization

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 1
  • Issue comment event: 10
  • Push event: 8
  • Pull request review event: 1
  • Pull request event: 13
  • Fork event: 1
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 1
  • Issue comment event: 10
  • Push event: 8
  • Pull request review event: 1
  • Pull request event: 13
  • Fork event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 158
  • Total Committers: 7
  • Avg Commits per committer: 22.571
  • Development Distribution Score (DDS): 0.228
Past Year
  • Commits: 16
  • Committers: 3
  • Avg Commits per committer: 5.333
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Thomas Robitaille t****e@g****m 122
Chris Beaumont b****t@h****u 14
Carifio24 c****4@g****m 8
Derek Homeier d****e@g****e 8
nmearl c****t@n****e 4
Jonathan Foster j****r@g****m 1
Chris Beaumont c****t@c****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 10
  • Total pull requests: 50
  • Average time to close issues: over 1 year
  • Average time to close pull requests: 19 days
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 0.4
  • Average comments per pull request: 1.42
  • Merged pull requests: 44
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 17
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Issue authors: 2
  • Pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.24
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • astrofrog (7)
  • Carifio24 (2)
  • ChrisBeaumont (1)
Pull Request Authors
  • astrofrog (39)
  • dhomeier (7)
  • Carifio24 (4)
  • iisakkirotko (2)
  • jfoster17 (1)
Top Labels
Issue Labels
enhancement (1) bug (1)
Pull Request Labels
enhancement (12) bug (6) no-changelog-entry-needed (4) ready-for-final-review (3) performance (2)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 19,251 last-month
  • Total docker downloads: 45
  • Total dependent packages: 10
    (may contain duplicates)
  • Total dependent repositories: 63
    (may contain duplicates)
  • Total versions: 16
  • Total maintainers: 2
pypi.org: echo

Callback Properties in Python

  • Versions: 11
  • Dependent Packages: 6
  • Dependent Repositories: 61
  • Downloads: 19,251 Last month
  • Docker Downloads: 45
Rankings
Dependent packages count: 1.4%
Dependent repos count: 1.9%
Downloads: 3.5%
Average: 6.6%
Forks count: 12.5%
Stargazers count: 13.6%
Maintainers (2)
Last synced: 10 months ago
conda-forge.org: echo
  • Versions: 3
  • Dependent Packages: 3
  • Dependent Repositories: 1
Rankings
Dependent packages count: 15.6%
Dependent repos count: 24.0%
Average: 35.1%
Stargazers count: 49.2%
Forks count: 51.7%
Last synced: 11 months ago
anaconda.org: echo

Echo is a small library for attaching callback functions to property state changes.

  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 1
Rankings
Dependent packages count: 30.7%
Average: 47.2%
Dependent repos count: 51.3%
Stargazers count: 52.1%
Forks count: 54.8%
Last synced: 11 months ago

Dependencies

.github/workflows/ci_workflows.yml actions
.github/workflows/update-changelog.yaml actions
  • actions/checkout v2 composite
  • stefanzweifel/changelog-updater-action v1 composite
  • stefanzweifel/git-auto-commit-action v4 composite
requirements.txt pypi
setup.py pypi