Coverage for src/__init__.py: 100%
13 statements
« prev ^ index » next coverage.py v7.3.0, created at 2024-12-21 12:23 +0000
« prev ^ index » next coverage.py v7.3.0, created at 2024-12-21 12:23 +0000
1# flake8: noqa
3"""
4This is the source code from my blog. To execute the build, just run
5the package like this:
7```
8./venv/bin/python -m src
9```
10"""
12# functions
13from .args import load_args
14from .docs import write_api_docs
15from .logging import load_logger
16from .models.feed import load_feed
17from .models.image import load_images
18from .models.page import load_entries, load_pages
19from .models.site import load_site
20from .models.data import load_spiders, load_spider_stats
21from .utils import pave_webroot
22from .validate import validate_html_references
24# Models
25from .models import (
26 Site,
27 Page,
28 Image,
29 Feed,
30 Spider,
31 SpiderStats,
32)
35__all__ = [
36 load_args,
37 load_entries,
38 load_feed,
39 load_images,
40 load_logger,
41 load_pages,
42 load_site,
43 load_spiders,
44 load_spider_stats,
45 pave_webroot,
46 validate_html_references,
47 write_api_docs,
48 Site,
49 Page,
50 Image,
51 Feed,
52 Spider,
53 SpiderStats,
54]