Metadata-Version: 2.1
Name: aw-core
Version: 0.4.2
Summary: Core library for ActivityWatch
Home-page: https://activitywatch.net/
License: MPL-2.0
Author: Erik Bjäreholt
Author-email: erik@bjareho.lt
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Provides-Extra: mongo
Requires-Dist: TakeTheTime (>=0.3.1,<0.4.0)
Requires-Dist: appdirs (>=1.4.3,<2.0.0)
Requires-Dist: iso8601 (>=0.1.12,<0.2.0)
Requires-Dist: jsonschema (>=3.1,<4.0)
Requires-Dist: peewee (>=3.0.0,<4.0.0)
Requires-Dist: pymongo (>=3.10.0,<4.0.0); extra == "mongo"
Requires-Dist: python-json-logger (>=0.1.11,<0.2.0)
Requires-Dist: strict-rfc3339 (>=0.7,<0.8)
Requires-Dist: timeslot
Project-URL: Documentation, https://activitywatch.readthedocs.io/
Project-URL: Repository, https://github.com/ActivityWatch/aw-core/
Description-Content-Type: text/markdown

aw-core
=======

[![GitHub Actions badge](https://github.com/ActivityWatch/aw-core/workflows/Build/badge.svg)](https://github.com/ActivityWatch/aw-core/actions)
[![Code coverage](https://codecov.io/gh/ActivityWatch/aw-core/branch/master/graph/badge.svg)](https://codecov.io/gh/ActivityWatch/aw-core)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Typechecking: Mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)


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.


## 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.


