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

Uploaded Source

Built Distribution

aw_core-0.5.13-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aw_core-0.5.13.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.9 Darwin/21.6.0

File hashes

Hashes for aw_core-0.5.13.tar.gz
Algorithm Hash digest
SHA256 4e41cd056602216ddbececa74073caa5f4920f33f68a20a306556f6dd13af61e
MD5 ee6930f4d71c050e9e2530fd6a20fe49
BLAKE2b-256 97a8995d460e4c18c69941abbb85f153f026a89c4bc45e491a3e915a6f0fbf94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aw_core-0.5.13-py3-none-any.whl
  • Upload date:
  • Size: 47.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.9 Darwin/21.6.0

File hashes

Hashes for aw_core-0.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 dc77b19701a120dd4c86a8b75203230a23fff2bdc3017d50093098c138b8ae08
MD5 8c5f5c2f1374a4c4476d16af1354265a
BLAKE2b-256 cc393fa82d04ce85f252f5cb5b9fdbb4761a80617997799486e8aea883ac1bf1

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