Skip to main content

Let's find some podcasts!

Project description

Docs

Testing out publishing packages with the help of this awesome dude https://github.com/nalgeon/podsearch-py docs

errors

Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml

https://docs.codecov.io/docs/codecov-yaml

CICD

codecov codeclimate 14 day trial make file - like javascripts scripts section in package.json

Podcast searcher

Search any podcast in iTunes library

PyPI Version Build Status Code Coverage Code Quality

podsearch finds podcasts via iTunes Search API.

Search parameters:

  • query - search string (name, author etc)
  • country - ISO alpha-2 country code (us, de, fr etc), default: us
  • limit - maximum number or search results, default: 5

Returned attributes for each podcast:

  • id - iTunes ID (e.g., 979020229)
  • name - podcast name (Talk Python To Me)
  • author - author name (Michael Kennedy (@mkennedy))
  • url - Apple Podcasts URL (https://podcasts.apple.com/us/podcast/id979020229)
  • feed - podcast RSS URL (https://talkpython.fm/episodes/rss)
  • category - main category (Technology)
  • image - 600x600px image URL (https://is4-ssl.mzstatic.com/image/.../600x600bb.jpg)
  • country - ISO alpha-3 country code (USA)
  • episode_count - episode count this year (26)

Installation

pip install podsearch

Usage

Search podcasts by query:

>>> import podsearch
>>> podcasts = podsearch.search("python", country="us", limit=10)
>>> podcasts[0].name
'Talk Python To Me'
>>> podcasts[0].author
'Michael Kennedy (@mkennedy)'
>>> podcasts[0].url
'https://podcasts.apple.com/us/podcast/id979020229'

Retrieve podcast by iTunes ID:

>>> import podsearch
>>> podcast = podsearch.get(979020229)
>>> podcast.name
'Talk Python To Me'

Development setup

$ python3 -m venv env
$ . env/bin/activate
$ make deps
$ tox

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Make sure to add or update tests as appropriate.

Use Black for code formatting and Conventional Commits for commit messages.

Changelog

License

MIT

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

python_packaging_flit_wise-0.3.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

python_packaging_flit_wise-0.3.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file python_packaging_flit_wise-0.3.1.tar.gz.

File metadata

File hashes

Hashes for python_packaging_flit_wise-0.3.1.tar.gz
Algorithm Hash digest
SHA256 896328390e8b9947461b512b3151e2c57689693f8cac125ba1d7b43bd1a936d7
MD5 de6bee1c63b46f513a31fc5877126e5c
BLAKE2b-256 2cc94c1597f71e949a9087ea02ea93ddb93bce5684d17b652b8709ec0187e2fb

See more details on using hashes here.

File details

Details for the file python_packaging_flit_wise-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_packaging_flit_wise-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb4ee9fa49c54c53d18cb8fcdf3d71af7368d620b79c320079dc397282119539
MD5 7f44a4be001b3a1e5bb2a8e5a7474f73
BLAKE2b-256 567c40eda366a134a3e62ced56c63e41ba2ee4b4d4e61841b70ccd3016e4bffd

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