{"id":18876076,"url":"https://github.com/activitywatch/aw-core","last_synced_at":"2025-04-04T08:09:03.893Z","repository":{"id":40523843,"uuid":"56850132","full_name":"ActivityWatch/aw-core","owner":"ActivityWatch","description":"Core library for ActivityWatch","archived":false,"fork":false,"pushed_at":"2024-09-29T18:53:06.000Z","size":950,"stargazers_count":48,"open_issues_count":14,"forks_count":47,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-30T00:54:46.973Z","etag":null,"topics":["activitywatch","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActivityWatch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ActivityWatch"],"open_collective":"activitywatch","liberapay":"ActivityWatch","custom":["https://activitywatch.net/donate/"]}},"created_at":"2016-04-22T11:19:15.000Z","updated_at":"2024-09-29T18:52:36.000Z","dependencies_parsed_at":"2024-04-12T03:22:23.353Z","dependency_job_id":"83d72d99-97bd-4055-a92d-dc25179a827c","html_url":"https://github.com/ActivityWatch/aw-core","commit_stats":{"total_commits":659,"total_committers":13,"mean_commits":50.69230769230769,"dds":0.5735963581183612,"last_synced_commit":"3b83ab542406349b3d5e601318289b77d23d906f"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActivityWatch","download_url":"https://codeload.github.com/ActivityWatch/aw-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142070,"owners_count":20890652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activitywatch","python"],"created_at":"2024-11-08T06:10:34.598Z","updated_at":"2025-04-04T08:09:03.868Z","avatar_url":"https://github.com/ActivityWatch.png","language":"Python","readme":"aw-core\n=======\n\n[![GitHub Actions badge](https://github.com/ActivityWatch/aw-core/workflows/Build/badge.svg)](https://github.com/ActivityWatch/aw-core/actions)\n[![Code coverage](https://codecov.io/gh/ActivityWatch/aw-core/branch/master/graph/badge.svg)](https://codecov.io/gh/ActivityWatch/aw-core)\n[![PyPI](https://img.shields.io/pypi/v/aw-core)](https://pypi.org/project/aw-core/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Typechecking: Mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n\n\nCore library for ActivityWatch.\n\n\n## Modules\n\n - `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.\n - `aw_datastore`, contains the datastore classes used by aw-server-python.\n - `aw_transform`, all event-transforms used in queries.\n - `aw_query`, the query-language used by ActivityWatch.\n\n## Logging\n\nRun python with `LOG_LEVEL=debug` to use change the log level across all AW components\n\n## How to install\n\nTo install the latest git version directly from github without cloning, run\n`pip install git+https://github.com/ActivityWatch/aw-core.git`\n\nTo install from a cloned version, cd into the directory and run\n`poetry install` to install inside an virtualenv. If you want to install it\nsystem-wide it can be installed with `pip install .`, but that has the issue\nthat it might not get the exact version of the dependencies due to not reading\nthe poetry.lock file.\n\n","funding_links":["https://github.com/sponsors/ActivityWatch","https://opencollective.com/activitywatch","https://liberapay.com/ActivityWatch","https://activitywatch.net/donate/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivitywatch%2Faw-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivitywatch%2Faw-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivitywatch%2Faw-core/lists"}