Core library for ActivityWatch
Project description
aw-core
Core library for ActivityWatch.
Modules
aw_core
, contains basic datatypes and utilities, such as theEvent
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aw-core-0.5.9.tar.gz
.
File metadata
- Download URL: aw-core-0.5.9.tar.gz
- Upload date:
- Size: 36.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.9 Linux/5.15.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81149f6a971f192aa91183066f78f2bdb4c14de826f79b6607b3b52984f2ddb8 |
|
MD5 | 3b74f35437fa4eab3944c7e98b691e0d |
|
BLAKE2b-256 | 253e4dca1255771401ba5cb9cd580a7bffa9b67886573a87735d7d00629a3ca6 |
File details
Details for the file aw_core-0.5.9-py3-none-any.whl
.
File metadata
- Download URL: aw_core-0.5.9-py3-none-any.whl
- Upload date:
- Size: 48.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.9 Linux/5.15.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f725d42ce11f5f7f1f6883811a925214bdaf114a4e68cfa58ce8a66cc23cfc6 |
|
MD5 | 455ed8d9fc2567c1fe5f47842044fafc |
|
BLAKE2b-256 | e909489ced8a76ec67aa1a198383148868a418ca72d28807010bd60f20ac22b2 |