Skip to main content

Core library for ActivityWatch

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aw_core-0.5.11.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

aw_core-0.5.11-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file aw_core-0.5.11.tar.gz.

File metadata

  • Download URL: aw_core-0.5.11.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Linux/6.1.4-arch1-1

File hashes

Hashes for aw_core-0.5.11.tar.gz
Algorithm Hash digest
SHA256 39105631ba1df601d2e27c9a18500840604620010799ec3ef7d4b9e7af4479ba
MD5 2ff2f1f74d430f42d9085ec21c29f63d
BLAKE2b-256 7006dec3b6dddac639212ba76519fd487c7866eece4af4f581c5727b8a3f58ba

See more details on using hashes here.

File details

Details for the file aw_core-0.5.11-py3-none-any.whl.

File metadata

  • Download URL: aw_core-0.5.11-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Linux/6.1.4-arch1-1

File hashes

Hashes for aw_core-0.5.11-py3-none-any.whl
Algorithm Hash digest
SHA256 769c3f2453609a702186bb175e7efafa2d3d7cf729127a571dfe8a6daa6aa2ae
MD5 17177c92b35a9cc1a53c2d6df1ca7713
BLAKE2b-256 de8644503e4c44ec7b57037e8575ebe07c92bb5a458e5975a101c66c3be68430

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page