Skip to main content

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.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aw_core-0.5.18-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aw_core-0.5.18.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for aw_core-0.5.18.tar.gz
Algorithm Hash digest
SHA256 dc14867ed15b4529d6e69b1d07df3fb29c91ccf7ab174de3f9100b90a95cc826
MD5 f387850d77cceb51eb16853c9c69af2a
BLAKE2b-256 85b9a6e3ca370020b75fa0d9e7e331333785c463655c412d8d76899176f279cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aw_core-0.5.18-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for aw_core-0.5.18-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3df7b46e913d631e0dc8b1b10046c111284a9f4240bec8efd279ce4e438cd5
MD5 6bcc66f6c8b8a5d4bf910bc8a312e4e8
BLAKE2b-256 1ee334549ef503434afaee57bce6b7e9a29a3f0b46108d6b9f5419a5df7474c6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.18 This release

2 files

0.5.17

2 files

0.5.16

2 files

0.5.15

2 files

0.5.13

2 files

0.5.12

2 files

0.5.11

2 files

0.5.10

2 files

0.5.9

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page