https://github.com/activitywatch/aw-core

Core library for ActivityWatch

https://github.com/activitywatch/aw-core

Science Score: 26.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
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.9%) to scientific vocabulary

Keywords

activitywatch python

Keywords from Contributors

time-tracker timetracker quantified-self afk productivity active-window activitywatch-watcher
Last synced: 6 months ago · JSON representation

Repository

Core library for ActivityWatch

Basic Info
  • Host: GitHub
  • Owner: ActivityWatch
  • License: mpl-2.0
  • Language: Python
  • Default Branch: master
  • Size: 914 KB
Statistics
  • Stars: 52
  • Watchers: 5
  • Forks: 55
  • Open Issues: 14
  • Releases: 0
Topics
activitywatch python
Created almost 10 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

aw-core

GitHub Actions badge Code coverage PyPI Code style: black Typechecking: Mypy

Core library for ActivityWatch.

Modules

  • aw_core, contains basic datatypes and utilities, such as the Event class, helpers for configuration and logging, as well as schemas for buckets, events, and exports.
  • aw_datastore, contains the datastore classes used by aw-server-python.
  • aw_transform, all event-transforms used in queries.
  • aw_query, the query-language used by ActivityWatch.

Logging

Run python with LOG_LEVEL=debug to use change the log level across all AW components

How to install

To install the latest git version directly from github without cloning, run pip install git+https://github.com/ActivityWatch/aw-core.git

To install from a cloned version, cd into the directory and run poetry install to install inside an virtualenv. If you want to install it system-wide it can be installed with pip install ., but that has the issue that it might not get the exact version of the dependencies due to not reading the poetry.lock file.

Owner

  • Name: ActivityWatch
  • Login: ActivityWatch
  • Kind: organization

Open source time-tracking application with a focus on extensibility and privacy.

GitHub Events

Total
  • Watch event: 3
  • Issue comment event: 4
  • Pull request review event: 3
  • Pull request event: 5
  • Fork event: 8
Last Year
  • Watch event: 3
  • Issue comment event: 4
  • Pull request review event: 3
  • Pull request event: 5
  • Fork event: 8

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 662
  • Total Committers: 12
  • Avg Commits per committer: 55.167
  • Development Distribution Score (DDS): 0.338
Past Year
  • Commits: 4
  • Committers: 2
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.25
Top Committers
Name Email Commits
Erik Bjäreholt e****k@b****t 438
Johan Bjäreholt j****n@b****t 211
Stephen Cline 8****e 2
BelKed 6****d 2
A_A 2****A 2
lgtm-com[bot] 4****] 1
huantian d****i@g****m 1
Victor Winberg v****g@g****m 1
Nicolae s****e@g****m 1
Michael Bianco i****y@g****m 1
Denys Otrishko s****i@g****m 1
Carl George c****e@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 12
  • Total pull requests: 96
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 7
  • Total pull request authors: 21
  • Average comments per issue: 3.25
  • Average comments per pull request: 2.51
  • Merged pull requests: 77
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ErikBjare (3)
  • johan-bjareholt (3)
  • nicolae-stroncea (2)
  • xylix (1)
  • watertrainer (1)
  • Zurnaz (1)
  • laszukdawid (1)
Pull Request Authors
  • ErikBjare (57)
  • johan-bjareholt (14)
  • iloveitaly (2)
  • JM-JamalMustafa (2)
  • carlwgeorge (2)
  • BelKed (2)
  • dependabot[bot] (2)
  • nicolae-stroncea (2)
  • vinothkumart (1)
  • lundibundi (1)
  • 0xbrayo (1)
  • sacline (1)
  • fossabot (1)
  • xylix (1)
  • Alwinator (1)
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels
review (2) dependencies (2) invalid (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 5,661 last-month
  • Total dependent packages: 3
  • Total dependent repositories: 34
  • Total versions: 18
  • Total maintainers: 2
pypi.org: aw-core

Core library for ActivityWatch

  • Versions: 18
  • Dependent Packages: 3
  • Dependent Repositories: 34
  • Downloads: 5,661 Last month
Rankings
Dependent packages count: 2.4%
Dependent repos count: 2.5%
Average: 5.6%
Forks count: 6.0%
Downloads: 7.1%
Stargazers count: 10.0%
Maintainers (2)
Last synced: 6 months ago

Dependencies

poetry.lock pypi
  • astroid 2.11.3 develop
  • atomicwrites 1.4.0 develop
  • black 22.3.0 develop
  • click 8.1.2 develop
  • colorama 0.4.4 develop
  • coverage 6.3.2 develop
  • dill 0.3.4 develop
  • iniconfig 1.1.1 develop
  • isort 5.10.1 develop
  • lazy-object-proxy 1.7.1 develop
  • mccabe 0.7.0 develop
  • mypy 0.950 develop
  • mypy-extensions 0.4.3 develop
  • pathspec 0.9.0 develop
  • platformdirs 2.5.2 develop
  • pluggy 1.0.0 develop
  • py 1.11.0 develop
  • pylint 2.13.7 develop
  • pytest 6.2.5 develop
  • pytest-cov 3.0.0 develop
  • toml 0.10.2 develop
  • tomli 2.0.1 develop
  • typing-extensions 4.2.0 develop
  • wrapt 1.14.0 develop
  • appdirs 1.4.4
  • attrs 21.4.0
  • deprecation 2.1.0
  • importlib-resources 5.7.1
  • iso8601 1.0.2
  • jsonschema 4.4.0
  • packaging 21.3
  • peewee 3.14.10
  • pymongo 3.12.3
  • pyparsing 3.0.8
  • pyrsistent 0.18.1
  • python-json-logger 2.0.2
  • rfc3339-validator 0.1.4
  • six 1.16.0
  • strict-rfc3339 0.7
  • takethetime 0.3.1
  • timeslot 0.1.2
  • tomlkit 0.10.2
  • zipp 3.8.0
pyproject.toml pypi
  • black ^22.1.0 develop
  • mypy * develop
  • pylint ^2.4.4 develop
  • pytest ^6.0 develop
  • pytest-cov * develop
  • TakeTheTime ^0.3.1
  • appdirs ^1.4.4
  • deprecation *
  • iso8601 ^1.0.2
  • jsonschema ^4.3
  • peewee 3.*
  • pymongo ^3.10.0
  • python ^3.8
  • python-json-logger *
  • rfc3339-validator ^0.1.4
  • strict-rfc3339 ^0.7
  • timeslot *
  • tomlkit *
.github/workflows/codeql.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/lint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • psf/black stable composite
.github/workflows/build.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite