Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 'master' into dev/config-toml
- Loading branch information
Showing
54 changed files
with
1,619 additions
and
1,027 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: psf/black@stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
aw-core | ||
======= | ||
|
||
[](https://travis-ci.org/ActivityWatch/aw-core) | ||
[](https://ci.appveyor.com/project/ErikBjare/aw-core/branch/master) | ||
[](https://codecov.io/gh/ActivityWatch/aw-core) | ||
[](https://github.com/ActivityWatch/aw-core/actions) | ||
[](https://codecov.io/gh/ActivityWatch/aw-core) | ||
[](https://github.com/psf/black) | ||
[](http://mypy-lang.org/) | ||
|
||
|
||
Core library for ActivityWatch. | ||
|
||
|
||
Contents | ||
======== | ||
## Modules | ||
|
||
- Models | ||
- Schemas | ||
- Filtering algorithms for sensitive data | ||
- `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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.