Skip to main content

A simple Django app that tracks podcast feeds and provides some useful metrics about them.

Project description

Django Podcast Analyzer

A simple Django app that allows you to follow the feeds of various podcasts and glean interesting information from them.

PyPI PyPI - Python Version PyPI - Versions from Framework Classifiers Black code style Pre-commit License uv Ruff Security: bandit Checked with pyright Semantic Versions Test results Coverage Status Documentation

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:

python -m pip install django-podcast-analyzer

Via uv:

uv pip install django-podcast-analyzer

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

# 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 for tagging podcasts and django-q2 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:

# Your root urls.py

from django.urls import include, path

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

Then run your migrations.

python manage.py migrate

You'll also want to seed the database with the known iTunes categories for podcasts. You can do this via the provided management command. It will only do so if the respective tables are empty so you won't get duplicates.

python manage.py seed_database_itunes

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 or a Supervisor app.

Other Recommendations

For storage of podcast art and other media, it's recommended you consider using something like django-storages.

Development

Contributions are welcome! See our contributing guide for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_podcast_analyzer-0.1.1.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

django_podcast_analyzer-0.1.1-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file django_podcast_analyzer-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django_podcast_analyzer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2b906faa1915f624aec955014387db7ab60b5ef20fa0124a3265272aa057cf86
MD5 e18a7c86a8307d2a10183699f1714893
BLAKE2b-256 0a4fa4d5c998a51ab81ea395e2b724aff496b01ffacf7ddc06511e6bd01704bd

See more details on using hashes here.

File details

Details for the file django_podcast_analyzer-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_podcast_analyzer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2967a43832abb8af4043a6c1c898c27b6cb84fdf389590d5e2f57a374ba426bc
MD5 7e2b42360ec9c4a767e7d0d739bc2951
BLAKE2b-256 725d933a03630d643c5a3f15a46f1ba2669396e7e00c6f5dd0d5a2e636320e21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page