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

Uploaded Source

Built Distribution

aw_core-0.5.10-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file aw-core-0.5.10.tar.gz.

File metadata

  • Download URL: aw-core-0.5.10.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.16.8-arch1-1

File hashes

Hashes for aw-core-0.5.10.tar.gz
Algorithm Hash digest
SHA256 fe392b29ca2b94bed15b8dd028bcebaf418b3e8d7f39faaedba22cc038f373de
MD5 6ddf5dc87591088569ac725fbd3fde4a
BLAKE2b-256 b65163b07d4d7ea06c77c962d41e3e38b5e0ebe8b18163f2d9cac52f0ee652bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aw_core-0.5.10-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.16.8-arch1-1

File hashes

Hashes for aw_core-0.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 6cf0b06960bca40ad6b8d46adab140fd3341670e1fc49d46fb7676243e67fe40
MD5 92228ee2ff0950e0263831410535ed12
BLAKE2b-256 6ab38eb555e463f56505c050712e7d69530e0493fd57d80a5a008290ae8f539b

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