Permalink
Browse files

consistent license headers

this avoids getting in the way of sphinx documentation, which has the
copright metadata anyway
  • Loading branch information...
chrysn committed Jun 4, 2014
1 parent cc1dc6b commit 44507f6635def7335daee00cf3fbafacdc27029c
View
20 LICENSE
@@ -0,0 +1,20 @@
Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
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.
View
@@ -12,11 +12,10 @@ http://tools.ietf.org/html/draft-ietf-core-coap-18
In this branch, the twisted mechanisms are replaced with asyncio, and the whole
library is ported to Python 3.
Licensing
---------
txThings uses MIT License (like Twisted itself).
http://opensource.org/licenses/mit-license.php
txThings uses MIT License (like Twisted itself, see the LICENSE file).
Copyright (c) 2012-214 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""
txThings
========
View
@@ -1,8 +1,11 @@
'''
Created on 08-09-2012
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
@author: Maciej Wasilak
'''
import random
import struct
import binascii
View
@@ -1,8 +1,12 @@
"""
Created on 08-09-2012
@author: Maciej Wasilak
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""
Exception definitions for txThings CoAP library.
"""
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
import urllib
import struct
import copy
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""Module in which all meaningful numbers are collected. Most of the submodules
correspond to IANA registries."""
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""List of known values for the CoAP "Code" field.
The values in this module correspond to the IANA registry "`CoRE Parameters`_",
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""Constants either defined in the CoAP protocol (often default values for lack
of ways to determine eg. the estimated round trip time). Some parameters are
invented here for practical purposes of the implementation (eg.
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""Known values for CoAP option numbers
The values defined in `OptionNumber` correspond to the IANA registry "CoRE
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""List of known values for the CoAP "Type" field.
As this field is only 2 bits, its valid values are comprehensively enumerated
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
from itertools import chain
from .numbers import *
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
import abc
import collections
import struct
View
@@ -1,6 +1,13 @@
# This file is part of the txThings project.
#
# Copyright (c) Twisted Matrix Laboratories,
# 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
# -*- test-case-name: twisted.web.test.test_web -*-
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Implementation of the lowest-level Resource class.
View
@@ -1,8 +1,11 @@
'''
Created on 16-10-2012
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
@author: Maciek
'''
from twisted.trial import unittest
import iot.coap as coap
import struct
@@ -140,4 +143,4 @@ def test_set_uri_path(self):
opt3 = coap.Options()
self.assertRaises(ValueError, setattr, opt3, "uri_path", "core")
View
@@ -1,3 +1,11 @@
# This file is part of the txThings project.
#
# Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>,
# 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at>
#
# txThings is free software, this file is published under the MIT license as
# described in the accompanying LICENSE file.
"""Tools not directly related with CoAP that are needed to provide the API"""
class ExtensibleEnumMeta(type):

0 comments on commit 44507f6

Please sign in to comment.