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:

  • Improved third party analytics detection.
  • Improved podcast host company detection.
  • 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",  # Optional
    "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.6.0.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_podcast_analyzer-0.6.0-py3-none-any.whl (59.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_podcast_analyzer-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c3a658d659266dcc90203c108a9024a7af0d547c45a7300957b70e0f6759c990
MD5 49d080dbb469d5f542159c60235cc9ad
BLAKE2b-256 24054b3972a7749e084a426a8abbd377f318f18c1ae2760cbd0d0a1ca4d8a41e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_podcast_analyzer-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 080046d7ab7c04f7c468147976741c02b80a98109b3fba2f68308ee211cab44a
MD5 6304bd0fcbf9c1cb1bd51f992dcab0b5
BLAKE2b-256 bdc79915c6bd344e139ae53699e295babf8fafbf5ceb4576182b37889015aaed

See more details on using hashes here.

Supported by

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