semvec/pypi-packages huggingface dataset:
audio-podcast-downloader 1.0.0
download audio podcast files and store into S3
Requires Python: >=3.8,<4.0

# template-python
![checks][checks] ![release][release]

## Table of contents
* [About](#about)
* [Prerequisites](#prerequisites)
* [Install](#install)
* [Usage](#usage)
* [Build](#build)
* [Deploy](#deploy)
* [Test](#test)
* [Contribute](#contribute)

### About
Base Python repo template.

### Prerequisites
Tools to install: [git][g], [pre-commit][pk], [poetry][p]

You can use [this][a] playbook for automated tools installation(Ubuntu only).

### Install
![create](docs/template_btn.png)

[Create][1] a new repo from this template.

### Usage
| env param | description |
|-|-|
| AUDIO_DAYS_DEPTH | limits how old podcast should be in days to get downloaded  |
| AWS_PROFILE | default aws profile to use |
| AWS_BUCKET | S3 bucket name |

```
cd src
python3 podbean.py
```

### Repo setup

### PR setup

### Build
`release` GitHub [workflow](.github/workflows/release.yml). Release commit types: `fix`, `feat`.

### Deploy

### Test
#### Local
- Test suit: `make tests`
- Type hints: `make test-mypy`

#### CD/CI
`checks` GitHub [workflow](.github/workflows/checks.yml) triggered by PR.

### Contribute
Commit message style - [Conventional Commits][cc].

[g]: https://www.atlassian.com/git/tutorials/install-git
[pk]: https://pre-commit.com/#install
[p]: https://python-poetry.org/docs/#installation
[a]: https://github.com/IaroslavR/ansible-role-server-bootstrap
[cc]: https://www.conventionalcommits.org/en/v1.0.0/

[1]: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template
[2]: https://docs.google.com/document/d/128c8Up40PFeZg2LaUkChC3hNv1139-VruFm_SC-ZJiU/edit#heading=h.jutu1mazqqgt
[3]: https://github.com/agblox/DiviAI-Information/wiki/Repos
[7]: https://python-poetry.org/docs/basic-usage
[8]: https://github.com/agblox/DiviAI-Information/wiki/Secrets#pre-commit-hook

[checks]: https://github.com/agblox/template-api-server/actions/workflows/checks.yml/badge.svg
[release]: https://github.com/agblox/template-api-server/actions/workflows/release.yml/badge.svg