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

Uploaded Source

Built Distribution

aw_core-0.5.12-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aw_core-0.5.12.tar.gz
  • Upload date:
  • Size: 35.5 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.12.tar.gz
Algorithm Hash digest
SHA256 a785afb0421595fe27bf87d6a6f7cf9bd7ba84fe2240599c24772f389f2a6daa
MD5 7e9e71a491b6b28f59d3ccbf763637e2
BLAKE2b-256 deecbc5e15d7faf909f756a653b3f7d470e8c1c13eab8dbe9b8300ad7c7be918

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aw_core-0.5.12-py3-none-any.whl
  • Upload date:
  • Size: 46.7 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 856d55766cf07122735a68f83a5b03fbf03ee003fb12c0a6d52738afb8dd8b81
MD5 ad5e1107b48c03deba817f5586a2ee42
BLAKE2b-256 a6dfb0ca8d8d3dde84956bf2e6702646c1016aab5b16b4f64ba597d89401892e

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