pyPodcastParser


NamepyPodcastParser JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/jrigden/pyPodcastParser
SummarypyPodcastParser is a podcast parser.
upload_time2016-02-05 17:00:45
maintainer
docs_urlNone
authorJason Rigden
requires_python
licenseMIT
keywords podcast parser rss feed
VCS
bugtrack_url
requirements beautifulsoup4 coverage coveralls docopt pluggy py pytest requests tox virtualenv wheel
Travis-CI
coveralls test coverage No coveralls.
            ###############
pyPodcastParser
###############

|pypi| |pip_monthly| |testing| |coverall| |codacy| |license|

pyPodcastParser is a podcast parser. It should parse any RSS file, but it specializes in parsing podcast rss feeds. pyPodcastParser is agnostic about the method you use to get a podcast RSS feed. Most user will be comfortable with the Requests_ library.


.. _Requests: http://docs.python-requests.org/en/latest/

************
Installation
************


::

   pip install pyPodcastParser


*****
Usage
*****

::

   from pyPodcastParser.Podcast import Podcast
   import requests

   response = requests.get('https://some_rss_feed')
   podcast = Podcast(response.content)


===================================
Objects and their Useful Attributes
===================================

**Notes:**

* All attributes with empty or nonexistent element will have a value of None.
* Attributes are generally strings or lists of strings, because we want to record the literal value of elements.
* The cloud element aka RSS Cloud is not supported as it has been superseded by the superior PubSubHubbub protocal

-------
Podcast
-------

* categories (list) A list for strings representing the feed categories
* copyright (string): The feed's copyright
* creative_commons (string): The feed's creative commons license
* items (list): A list of Item objects
* description (string): The feed's description
* generator (string): The feed's generator
* image_title (string): Feed image title
* image_url (string): Feed image url
* image_link (string): Feed image link to homepage
* image_width (string): Feed image width
* image_height (Sample H4string): Feed image height
* itunes_author_name (string): The podcast's author name for iTunes
* itunes_block (boolean): Does the podcast block itunes
* itunes_categories (list): List of strings of itunes categories
* itunes_complete (string): Is this podcast done and complete
* itunes_explicit (string): Is this item explicit. Should only be "yes" and "clean."
* itune_image (string): URL to itunes image
* itunes_keywords (list): List of strings of itunes keywords
* itunes_new_feed_url (string): The new url of this podcast
* language (string): Language of feed
* last_build_date (string): Last build date of this feed
* link (string): URL to homepage
* managing_editor (string): managing editor of feed
* published_date (string): Date feed was published
* pubsubhubbub (string): The URL of the pubsubhubbub service for this feed
* owner_name (string): Name of feed owner
* owner_email (string): Email of feed owner
* subtitle (string): The feed subtitle
* title (string): The feed title
* ttl (string): The time to live or number of minutes to cache feed
* web_master (string): The feed's webmaster
* time_published (int): The epoch time when created
* day_published (int): Day of month when created
* month_published (int): Month of year when created
* year_published (int): Year when created
* week_published (int): Week number when created
* day_of_year_published (int): Day of the year when created

----
Item
----

* author (string): The author of the item
* comments (string): URL of comments
* creative_commons (string): creative commons license for this item
* description (string): Description of the item.
* enclosure_url (string): URL of enclosure
* enclosure_type (string): File MIME type
* enclosure_length (integer): File size in bytes
* guid (string): globally unique identifier
* itunes_author_name (string): Author name given to iTunes
* itunes_block (boolean): It this Item blocked from itunes
* itunes_closed_captioned: (string): It is this item have closed captions
* itunes_duration (string): Duration of enclosure
* itunes_explicit (string): Is this item explicit. Should only be "yes" and "clean."
* itune_image (string): URL of item cover art
* itunes_order (string): Override published_date order
* itunes_subtitle (string): The item subtitle
* itunes_summary (string): The summary of the item
* link (string): The URL of item.
* published_date (string): Date item was published
* title (string): The title of item.
* time_published (int): The epoch time when created
* day_published (int): Day of month when created
* month_published (int): Month of year when created
* year_published (int): Year when created
* week_published (int): Week number when created
* day_of_year_published (int): Day of the year when created

***********************
Bugs & Feature Requests
***********************

https://github.com/jrigden/pyPodcastParser/issues/new

*******
Credits
*******

============
Jason Rigden
============

    **Email:** jasonrigden@gmail.com

    **Linkedin:** https://www.linkedin.com/in/jasonrigden

    **Twitter:** |twitter|

*******
History
*******

**Version 2.0.0**

* Removed most time attributes and replaced then them with more concise and versatile datetime object

**Version 1.1.1**

* Fixed missed named attribute in items

**Version 1.1.0**

* Added Validation for RSS and podcasts
* Added several useful time attributes


***********
Development
***********

https://github.com/jrigden/pyPodcastParser

****
Docs
****

http://pypodcastparser.readthedocs.org/en/latest/

*******
Testing
*******

.. image:: https://travis-ci.org/jrigden/pyPodcastParser.svg?branch=master
    :target: https://travis-ci.org/jrigden/pyPodcastParser
.. image:: https://coveralls.io/repos/github/jrigden/pyPodcastParser/badge.svg?branch=master
    :target: https://coveralls.io/github/jrigden/pyPodcastParser?branch=master

*******
License
*******

**The MIT License** (MIT) Copyright (c) 2016 **Jason Rigden**

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

.. |coverall| image:: https://coveralls.io/repos/github/jrigden/pyPodcastParser/badge.svg?branch=master
    :alt: Test Status
    :scale: 100%
    :target: https://coveralls.io/github/jrigden/pyPodcastParser?branch=master

.. |codacy| image:: https://img.shields.io/codacy/6f81796c588f455f85c631d8e47b46fc.svg?style=flat-square
    :alt: Codacy Grade
    :scale: 100%
    :target: https://www.codacy.com/app/jasonrigden/pyPodcastParser/dashboard

.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://pypodcastparser.readthedocs.org/en/latest/?badge=latest

.. |license| image:: https://img.shields.io/pypi/l/pyloudness.svg
    :alt: License
    :scale: 100%
    :target: https://opensource.org/licenses/MIT

.. |pypi| image:: https://badge.fury.io/py/pyPodcastParser.svg
    :alt: pypi
    :scale: 100%
    :target: https://pypi.python.org/pypi/pyPodcastParser

.. |pip_monthly| image:: https://img.shields.io/pypi/dm/pyPodcastParser.svg
    :alt: Pip Monthly Downloads
    :scale: 100%
    :target: https://pypi.python.org/pypi/pyPodcastParser

.. |testing| image:: https://travis-ci.org/jrigden/pyPodcastParser.svg?branch=master
    :alt: Test Status
    :scale: 100%
    :target: https://travis-ci.org/jrigden/pyPodcastParser

.. |twitter| image:: https://img.shields.io/twitter/follow/mr_rigden.svg?style=social
    :alt: @mr_rigden
    :scale: 100%
    :target: https://twitter.com/mr_rigden
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jrigden/pyPodcastParser",
    "name": "pyPodcastParser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "podcast,parser,rss,feed",
    "author": "Jason Rigden",
    "author_email": "jasonrigden@gmail.com",
    "download_url": "",
    "platform": "UNKNOWN",
    "description": "###############\npyPodcastParser\n###############\n\n|pypi| |pip_monthly| |testing| |coverall| |codacy| |license|\n\npyPodcastParser is a podcast parser. It should parse any RSS file, but it specializes in parsing podcast rss feeds. pyPodcastParser is agnostic about the method you use to get a podcast RSS feed. Most user will be comfortable with the Requests_ library.\n\n\n.. _Requests: http://docs.python-requests.org/en/latest/\n\n************\nInstallation\n************\n\n\n::\n\n   pip install pyPodcastParser\n\n\n*****\nUsage\n*****\n\n::\n\n   from pyPodcastParser.Podcast import Podcast\n   import requests\n\n   response = requests.get('https://some_rss_feed')\n   podcast = Podcast(response.content)\n\n\n===================================\nObjects and their Useful Attributes\n===================================\n\n**Notes:**\n\n* All attributes with empty or nonexistent element will have a value of None.\n* Attributes are generally strings or lists of strings, because we want to record the literal value of elements.\n* The cloud element aka RSS Cloud is not supported as it has been superseded by the superior PubSubHubbub protocal\n\n-------\nPodcast\n-------\n\n* categories (list) A list for strings representing the feed categories\n* copyright (string): The feed's copyright\n* creative_commons (string): The feed's creative commons license\n* items (list): A list of Item objects\n* description (string): The feed's description\n* generator (string): The feed's generator\n* image_title (string): Feed image title\n* image_url (string): Feed image url\n* image_link (string): Feed image link to homepage\n* image_width (string): Feed image width\n* image_height (Sample H4string): Feed image height\n* itunes_author_name (string): The podcast's author name for iTunes\n* itunes_block (boolean): Does the podcast block itunes\n* itunes_categories (list): List of strings of itunes categories\n* itunes_complete (string): Is this podcast done and complete\n* itunes_explicit (string): Is this item explicit. Should only be \"yes\" and \"clean.\"\n* itune_image (string): URL to itunes image\n* itunes_keywords (list): List of strings of itunes keywords\n* itunes_new_feed_url (string): The new url of this podcast\n* language (string): Language of feed\n* last_build_date (string): Last build date of this feed\n* link (string): URL to homepage\n* managing_editor (string): managing editor of feed\n* published_date (string): Date feed was published\n* pubsubhubbub (string): The URL of the pubsubhubbub service for this feed\n* owner_name (string): Name of feed owner\n* owner_email (string): Email of feed owner\n* subtitle (string): The feed subtitle\n* title (string): The feed title\n* ttl (string): The time to live or number of minutes to cache feed\n* web_master (string): The feed's webmaster\n* time_published (int): The epoch time when created\n* day_published (int): Day of month when created\n* month_published (int): Month of year when created\n* year_published (int): Year when created\n* week_published (int): Week number when created\n* day_of_year_published (int): Day of the year when created\n\n----\nItem\n----\n\n* author (string): The author of the item\n* comments (string): URL of comments\n* creative_commons (string): creative commons license for this item\n* description (string): Description of the item.\n* enclosure_url (string): URL of enclosure\n* enclosure_type (string): File MIME type\n* enclosure_length (integer): File size in bytes\n* guid (string): globally unique identifier\n* itunes_author_name (string): Author name given to iTunes\n* itunes_block (boolean): It this Item blocked from itunes\n* itunes_closed_captioned: (string): It is this item have closed captions\n* itunes_duration (string): Duration of enclosure\n* itunes_explicit (string): Is this item explicit. Should only be \"yes\" and \"clean.\"\n* itune_image (string): URL of item cover art\n* itunes_order (string): Override published_date order\n* itunes_subtitle (string): The item subtitle\n* itunes_summary (string): The summary of the item\n* link (string): The URL of item.\n* published_date (string): Date item was published\n* title (string): The title of item.\n* time_published (int): The epoch time when created\n* day_published (int): Day of month when created\n* month_published (int): Month of year when created\n* year_published (int): Year when created\n* week_published (int): Week number when created\n* day_of_year_published (int): Day of the year when created\n\n***********************\nBugs & Feature Requests\n***********************\n\nhttps://github.com/jrigden/pyPodcastParser/issues/new\n\n*******\nCredits\n*******\n\n============\nJason Rigden\n============\n\n    **Email:** jasonrigden@gmail.com\n\n    **Linkedin:** https://www.linkedin.com/in/jasonrigden\n\n    **Twitter:** |twitter|\n\n*******\nHistory\n*******\n\n**Version 2.0.0**\n\n* Removed most time attributes and replaced then them with more concise and versatile datetime object\n\n**Version 1.1.1**\n\n* Fixed missed named attribute in items\n\n**Version 1.1.0**\n\n* Added Validation for RSS and podcasts\n* Added several useful time attributes\n\n\n***********\nDevelopment\n***********\n\nhttps://github.com/jrigden/pyPodcastParser\n\n****\nDocs\n****\n\nhttp://pypodcastparser.readthedocs.org/en/latest/\n\n*******\nTesting\n*******\n\n.. image:: https://travis-ci.org/jrigden/pyPodcastParser.svg?branch=master\n    :target: https://travis-ci.org/jrigden/pyPodcastParser\n.. image:: https://coveralls.io/repos/github/jrigden/pyPodcastParser/badge.svg?branch=master\n    :target: https://coveralls.io/github/jrigden/pyPodcastParser?branch=master\n\n*******\nLicense\n*******\n\n**The MIT License** (MIT) Copyright (c) 2016 **Jason Rigden**\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n.. |coverall| image:: https://coveralls.io/repos/github/jrigden/pyPodcastParser/badge.svg?branch=master\n    :alt: Test Status\n    :scale: 100%\n    :target: https://coveralls.io/github/jrigden/pyPodcastParser?branch=master\n\n.. |codacy| image:: https://img.shields.io/codacy/6f81796c588f455f85c631d8e47b46fc.svg?style=flat-square\n    :alt: Codacy Grade\n    :scale: 100%\n    :target: https://www.codacy.com/app/jasonrigden/pyPodcastParser/dashboard\n\n.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest\n    :alt: Documentation Status\n    :scale: 100%\n    :target: https://pypodcastparser.readthedocs.org/en/latest/?badge=latest\n\n.. |license| image:: https://img.shields.io/pypi/l/pyloudness.svg\n    :alt: License\n    :scale: 100%\n    :target: https://opensource.org/licenses/MIT\n\n.. |pypi| image:: https://badge.fury.io/py/pyPodcastParser.svg\n    :alt: pypi\n    :scale: 100%\n    :target: https://pypi.python.org/pypi/pyPodcastParser\n\n.. |pip_monthly| image:: https://img.shields.io/pypi/dm/pyPodcastParser.svg\n    :alt: Pip Monthly Downloads\n    :scale: 100%\n    :target: https://pypi.python.org/pypi/pyPodcastParser\n\n.. |testing| image:: https://travis-ci.org/jrigden/pyPodcastParser.svg?branch=master\n    :alt: Test Status\n    :scale: 100%\n    :target: https://travis-ci.org/jrigden/pyPodcastParser\n\n.. |twitter| image:: https://img.shields.io/twitter/follow/mr_rigden.svg?style=social\n    :alt: @mr_rigden\n    :scale: 100%\n    :target: https://twitter.com/mr_rigden",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "pyPodcastParser is a podcast parser.",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/jrigden/pyPodcastParser"
    },
    "split_keywords": [
        "podcast",
        "parser",
        "rss",
        "feed"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d72c684a3a2b69bce147e2d26f74118f350242cfcecfe4405a7f64a35008814d",
                "md5": "7f8eb4488c411e899c8823a2b433116b",
                "sha256": "4012204d6aa5413a2154d34fabce175dbf7a45076afe4ee4ecec10455325db0f"
            },
            "downloads": -1,
            "filename": "pyPodcastParser-2.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7f8eb4488c411e899c8823a2b433116b",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 13615,
            "upload_time": "2016-02-05T17:00:45",
            "upload_time_iso_8601": "2016-02-05T17:00:45.255608Z",
            "url": "https://files.pythonhosted.org/packages/d7/2c/684a3a2b69bce147e2d26f74118f350242cfcecfe4405a7f64a35008814d/pyPodcastParser-2.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-02-05 17:00:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jrigden",
    "github_project": "pyPodcastParser",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    "==",
                    "4.4.1"
                ]
            ]
        },
        {
            "name": "coverage",
            "specs": [
                [
                    "==",
                    "4.0.3"
                ]
            ]
        },
        {
            "name": "coveralls",
            "specs": [
                [
                    "==",
                    "1.1"
                ]
            ]
        },
        {
            "name": "docopt",
            "specs": [
                [
                    "==",
                    "0.6.2"
                ]
            ]
        },
        {
            "name": "pluggy",
            "specs": [
                [
                    "==",
                    "0.3.1"
                ]
            ]
        },
        {
            "name": "py",
            "specs": [
                [
                    "==",
                    "1.4.31"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "2.8.7"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.9.1"
                ]
            ]
        },
        {
            "name": "tox",
            "specs": [
                [
                    "==",
                    "2.3.1"
                ]
            ]
        },
        {
            "name": "virtualenv",
            "specs": [
                [
                    "==",
                    "14.0.3"
                ]
            ]
        },
        {
            "name": "wheel",
            "specs": [
                [
                    "==",
                    "0.24.0"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "pypodcastparser"
}
        
Elapsed time: 0.60960s