README.md 864 Bytes
Newer Older
CHARLES's avatar
CHARLES committed
1
2
3
4
5


# Downloader daemon

Checks online services for changed in data files, and downloads them when needed.
CHARLES's avatar
CHARLES committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

# Installation

## Conda

```
# Create conda env
conda env create -f environment.yaml

# Activate created env
conda activate downloader

# Install the downloader
./setup.py install
```
CHARLES's avatar
CHARLES committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51


# Development

## Tooling

```
# Install developer tools
pip install -r requirements-dev.txt
```

### Linter

Using command-line:
```bash
# Run linter against current codebase
pylint --errors-only --output-format=colorized lib/
# The --errors-only flag only shows the errors
```

There are also plugins for many editors and IDEs.

### Code formatting

The code has been automatically formatted to follow PEP8 standard.
```bash
# Format every python source file in lib/ folder
autopep8 --in-place --recursive -j8 lib/
```

There are also plugins for many editors and IDEs.