forked from lkiesow/python-feedgen
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add my name to copyright notices for files that I've contributed to
The original copyright notices are of course kept. They don't seem very updated, though..
- Loading branch information
Showing
19 changed files
with
125 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Modified work Copyright 2016, Thorben Dahl <[email protected]> | ||
# See license.* for more details | ||
|
||
sdist: doc | ||
python setup.py sdist | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen | ||
~~~~~~ | ||
Package which makes it easy to generate podcast RSS using Python. | ||
See the official documentation at https://podgen.readthedocs.org | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
from .podcast import Podcast | ||
from .episode import Episode | ||
from .media import Media | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
''' | ||
podgen | ||
~~~~~~~ | ||
:copyright: 2013, Lars Kiesow <[email protected]> | ||
~~~~~~ | ||
:copyright: 2013, Lars Kiesow <[email protected]> and 2016, Thorben Dahl | ||
<[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
''' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.category | ||
~~~~~~~~~~~~~~~ | ||
This module contains Category, which represents a single iTunes category. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
class Category(object): | ||
"""Immutable class representing an iTunes category. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.entry | ||
~~~~~~~~~~~~~ | ||
podgen.episode | ||
~~~~~~~~~~~~~~ | ||
:copyright: 2013, Lars Kiesow <[email protected]> | ||
:copyright: 2013, Lars Kiesow <[email protected]> and 2016, Thorben Dahl | ||
<[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.media | ||
~~~~~~~~~~~~ | ||
This file contains the Media class, which represents a pointer to a media | ||
file. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
import warnings | ||
from future.moves.urllib.parse import urlparse | ||
import datetime | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.not_supported_by_itunes_warning | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
This file contains the NotSupportedByItunesWarning, which is used when the | ||
library is used in a way that is not compatible with iTunes. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
class NotSupportedByItunesWarning(UserWarning): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.person | ||
~~~~~~~~~~~~~ | ||
This file contains the Person class, which is used to represent a person or | ||
an entity. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
class Person(object): | ||
"""Data-oriented class representing a single person or entity. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
podgen.feed | ||
~~~~~~~~~~~~ | ||
:copyright: 2013, Lars Kiesow <[email protected]> | ||
:copyright: 2013, Lars Kiesow <[email protected]> and 2016, Thorben Dahl | ||
<[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.tests.test_category | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Module for testing the Category class. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
import unittest | ||
|
||
from podgen import Category | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
Tests for a basic entry | ||
podgen.tests.test_episode | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Test the Episode class. | ||
These are test cases for a basic entry. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
|
||
import unittest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.tests.test_media | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
Test the Media class, which represents a pointer to a media file. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
from future.utils import iteritems | ||
import unittest | ||
import warnings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.tests.test_person | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Test the Person class, which represents a person or an entity. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
import unittest | ||
from podgen import Person | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
Tests for a basic feed | ||
podgen.tests.test_podcast | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Test the Podcast alone, without any Episode objects. | ||
These are test cases for a basic feed. | ||
A basic feed does not contain entries so far. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
|
||
import unittest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
podgen.tests.test_util | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
Test some of the functions found in the util module. | ||
:copyright: 2016, Thorben Dahl <[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
import unittest | ||
from podgen import util | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
This file contains helper functions for the feed generator module. | ||
:copyright: 2013, Lars Kiesow <[email protected]> | ||
:copyright: 2013, Lars Kiesow <[email protected]> and 2016, Thorben Dahl | ||
<[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
""" | ||
import sys, locale | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
podgen.version | ||
~~~~~~~~~~~~~~~ | ||
:copyright: 2013-2015, Lars Kiesow <[email protected]> | ||
:copyright: 2013-2015, Lars Kiesow <[email protected]> and 2016, Thorben Dahl | ||
<[email protected]> | ||
:license: FreeBSD and LGPL, see license.* for more details. | ||
|