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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aw_core-0.5.17.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.6.49-1-lts

File hashes

Hashes for aw_core-0.5.17.tar.gz
Algorithm Hash digest
SHA256 f8ac5418d6a1de2b868bc75447d4d495aebc577a77eea56ba11dc2bde3771e27
MD5 bf7b368262f1fa4f43283a050e65f2c2
BLAKE2b-256 249f4098d187a0cfdd2233b168887df595bb28ece3b197e3d52825201cd50e1e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aw_core-0.5.17-py3-none-any.whl
Algorithm Hash digest
SHA256 8c3dae7fddd23984f7711e4ff7933ba45ce25e5e416fdde4a9f1677e95c64feb
MD5 7ba648b34bfb015e17245ad494894c6b
BLAKE2b-256 b046341e556195c701ec7b05c96ad872ace914c7b087944a54f6ef02ba6fb63c

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