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.16.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

aw_core-0.5.16-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aw_core-0.5.16.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.5 Linux/6.1.49-1-lts

File hashes

Hashes for aw_core-0.5.16.tar.gz
Algorithm Hash digest
SHA256 b1089f6d976ad96648d496b50885b91c85166cd054c14bafc7ed01c967ea465f
MD5 bd4cc3951a316b1e1a170e98ace78700
BLAKE2b-256 2c36a55dd857f60258d3b9c5719581a183d51efb5626af4945f2724b0010b40b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aw_core-0.5.16-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.5 Linux/6.1.49-1-lts

File hashes

Hashes for aw_core-0.5.16-py3-none-any.whl
Algorithm Hash digest
SHA256 3b8186081792ebc0a7efe5793e2951a220c71b261e1fbb289753cd2eebe70cb4
MD5 71dd46d58e969ae4dfb2dbe0523d0ec4
BLAKE2b-256 1f56bdf76e9fc7420bb9ddfb7f2fa3aba1eb3e0756703e4e0ac8027532641bf8

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