Skip to content

Commit

Permalink
Centralized LICENSE with standard headers in Python files
Browse files Browse the repository at this point in the history
The result of running apply_headers.pl, as recommended at each tagged
release in edsu#147, is to generate or update a LICENSE file that includes
both the text of the license and a list of all of the contributors as
found in the git log.

Fixes edsu#151.

Signed-off-by: Dan Scott <[email protected]>
  • Loading branch information
dbs committed Jan 20, 2020
1 parent 8d19e96 commit 738b200
Show file tree
Hide file tree
Showing 25 changed files with 190 additions and 2 deletions.
46 changes: 44 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Copyright 2005-2019 Gabriel Farrell, Mark Matienzo, Geoffrey Spear, Ed Summers

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Expand All @@ -20,3 +18,47 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright for this project is held by its many contributors, including:

Adam Constabaris <[email protected]>
André Nesse <[email protected]>
Chris Adams <[email protected]>
Dan Chudnov <[email protected]>
Dan Michael O. Heggø <[email protected]>
Dan Scott <[email protected]>
David Chouinard <[email protected]>
Ed Hill <[email protected]>
Ed Summers <[email protected]>
Edward Betts <[email protected]>
Eric Hellman <[email protected]>
Gabriel Farrell <[email protected]>
Geoffrey Spear <[email protected]>
Godmar Back <[email protected]>
Helga <[email protected]>
James Tayson <[email protected]>
Jay Luker <[email protected]>
Jim Nicholls <[email protected]>
Karol Sikora <[email protected]>
Lucas Souza <[email protected]>
Mark A. Matienzo <[email protected]>
Martin Czygan <[email protected]>
Michael B. Klein <[email protected]>
Michael J. Giarlo <[email protected]>
Mikhail Terekhov <[email protected]>
Nick Ruest <[email protected]>
Pierre Verkest <[email protected]>
Radim Řehůřek <[email protected]>
Renaud Boyer <[email protected]>
Robert Marchman <[email protected]>
Sean Chen <[email protected]>
Simon Hohl <[email protected]>
Ted Lawless <tlawless@tuscola.(none)>
Victor Seva <[email protected]>
Will Earp <[email protected]>
cclauss <[email protected]>
cyperus-papyrus <[email protected]>
gitgovdoc <[email protected]>
mmh <[email protected]>
nemobis <[email protected]>
wrCisco <[email protected]>
6 changes: 6 additions & 0 deletions pymarc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

from .record import *
from .field import *
from .exceptions import *
Expand Down
6 changes: 6 additions & 0 deletions pymarc/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Constants for pymarc."""

from six import unichr
Expand Down
6 changes: 6 additions & 0 deletions pymarc/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Exceptions for pymarc."""


Expand Down
6 changes: 6 additions & 0 deletions pymarc/field.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""The pymarc.field file."""

import logging
Expand Down
6 changes: 6 additions & 0 deletions pymarc/leader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""The pymarc.leader file."""
from pymarc.constants import LEADER_LEN
from pymarc.exceptions import BadLeaderValue, RecordLeaderInvalid
Expand Down
6 changes: 6 additions & 0 deletions pymarc/marc8.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Handle MARC-8 files.
see http://www.loc.gov/marc/specifications/speccharmarc8.html
Expand Down
6 changes: 6 additions & 0 deletions pymarc/marc8_mapping.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""MARC-8 mapping."""

CHARSET_34 = { # Extended Arabic
Expand Down
6 changes: 6 additions & 0 deletions pymarc/marcjson.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""From JSON to MARC21."""

from pymarc import Field, Record, JSONReader
Expand Down
6 changes: 6 additions & 0 deletions pymarc/marcxml.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""From XML to MARC21 and back again."""

import unicodedata
Expand Down
6 changes: 6 additions & 0 deletions pymarc/reader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Pymarc Reader."""
import os
import sys
Expand Down
6 changes: 6 additions & 0 deletions pymarc/record.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Pymarc Record."""
import logging
import re
Expand Down
6 changes: 6 additions & 0 deletions pymarc/writer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Pymarc Writer."""
import pymarc
from pymarc import Record, WriteNeedsRecord
Expand Down
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Pymarc setup."""

from setuptools import setup
Expand Down
6 changes: 6 additions & 0 deletions test/test_encode.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import unittest

from pymarc import MARCReader
Expand Down
6 changes: 6 additions & 0 deletions test/test_field.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import unittest
import sys

Expand Down
6 changes: 6 additions & 0 deletions test/test_json.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import unittest

from six import string_types as basestring
Expand Down
6 changes: 6 additions & 0 deletions test/test_leader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

"""Leader tests."""
import random
import string
Expand Down
7 changes: 7 additions & 0 deletions test/test_marc8.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-

# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import os
from unittest import TestCase, makeSuite

Expand Down
6 changes: 6 additions & 0 deletions test/test_ordered_fields.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import unittest

import pymarc
Expand Down
7 changes: 7 additions & 0 deletions test/test_reader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-

# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import re
import unittest

Expand Down
6 changes: 6 additions & 0 deletions test/test_record.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import unittest

from pymarc.exceptions import BaseAddressInvalid, FieldNotFound, RecordLeaderInvalid
Expand Down
6 changes: 6 additions & 0 deletions test/test_utf8.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import os
import unittest

Expand Down
6 changes: 6 additions & 0 deletions test/test_writer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import os
import textwrap
import unittest
Expand Down
6 changes: 6 additions & 0 deletions test/test_xml.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is part of pymarc. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution and at
# https://opensource.org/licenses/BSD-2-Clause. pymarc may be copied, modified,
# propagated, or distributed according to the terms contained in the LICENSE
# file.

import pymarc
import unittest

Expand Down

0 comments on commit 738b200

Please sign in to comment.