Metadata-Version: 2.3
Name: django-podcast-analyzer
Version: 0.1.0
Summary: A simple Django app that tracks podcast feeds and provides some useful metrics about them.
Project-URL: Repository, https://github.com/andrlik/django-podcast-analyzer
Project-URL: Homepage, https://github.com/andrlik/django-podcast-analyzer
Project-URL: Documentation, https://andrlik.github.io/django-podcast-analyzer/
Author-email: Daniel Andrlik <daniel@andrlik.org>
License-Expression: BSD-3-Clause
License-File: LICENSE
Classifier: Framework :: Django
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.12
Requires-Dist: django-q2>=1.7.2
Requires-Dist: django-rich>=1.11.0
Requires-Dist: django-tagulous>=2.1.0
Requires-Dist: django-typer>=2.2.2
Requires-Dist: django>=5.0.0
Requires-Dist: httpx[brotli,http2]>=0.27.2
Requires-Dist: pillow>=10.4.0
Requires-Dist: podcastparser>=0.6.10
Requires-Dist: python-magic>=0.4.27
Requires-Dist: urlman>=2.0.2
Description-Content-Type: text/markdown

# Django Podcast Analyzer

A simple [Django](https://www.djangoproject.com) app that allows you to follow the feeds of various podcasts and glean interesting information from them.

[![PyPI](https://img.shields.io/pypi/v/django-podcast-analyzer)](https://pypi.org/project/django-podcast-analyzer/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-markov)
![PyPI - Versions from Framework Classifiers](https://img.shields.io/pypi/frameworkversions/django/django-markov)
[![Black code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/andrlik/django-podcast-analyzer/blob/main/.pre-commit-config.yaml)
[![License](https://img.shields.io/github/license/andrlik/django-podcast-analyzer)](https://github.com/andrlik/django-podcast-analyzer/blob/main/LICENSE)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Security: bandit](https://img.shields.io/badge/security-bandit-green.svg)](https://github.com/PyCQA/bandit)
[![Checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](https://microsoft.github.io/pyright/)
[![Semantic Versions](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versions-e10079.svg)](https://github.com/andrlik/django-podcast-analyzer/releases)
![Test results](https://github.com/andrlik/django-podcast-analyzer/actions/workflows/ci.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/andrlik/django-podcast-analyzer/badge.svg?branch=main)](https://coveralls.io/github/andrlik/django-podcast-analyzer?branch=main)
[![Documentation](https://img.shields.io/badge/docs-mkdocs-blue)](https://andrlik.github.io/django-podcast-analyzer/)

## Warning

This is early stage! Things that still need to be done:

- Simplify templates so you can easily integrate them without a lot of styling opinions.
- Analysis group reporting views.
- Finish test coverage.
- Improved docs.

## Installation

Via pip:

```bash
python -m pip install django-podcast-analyzer
```

Via uv:

```bash
uv pip install django-podcast-analyzer
```

Then add it and our dependencies to your list of installed apps.

```python
# settings.py

# Your setup may vary.
INSTALLED_APPS = [
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.sites",
    "django.contrib.messages",
    "django.contrib.staticfiles",
    "django.contrib.admin",
    "django.forms",
    ...,
    # Here are our explict dependencies
    "tagulous",
    "django_q",
    "podcast_analyzer",
]
```

We use [tagulous](https://django-tagulous.readthedocs.io/en/latest/) for tagging podcasts
and [django-q2](https://django-q2.readthedocs.io/en/master/index.html) to handle the scheduled
tasks related to fetching feeds and processing them.
See the documentation for both of those projects to identify any additional configuration needed.

Add it to your `urls.py`:

```python
# Your root urls.py

from django.urls import include, path

urlpatterns = [
    ...,
    path("podcasts/", include("podcast_analyzer.urls", namespace="podcasts")),
    ...,
]
```

Then run your migrations.

```bash
python manage.py migrate
```

In order to run the application, you will also need to spawn a django-q cluster using
`python manage.py qcluster`. You can also use a runner like [honcho](https://honcho.readthedocs.io/en/latest/)
or a Supervisor app.

### Other Recommendations

For storage of podcast art and other media, it's recommended you consider using something like
[django-storages](https://django-storages.readthedocs.io/en/latest/).

# Development

Contributions are welcome! See our contributing guide for details.
