From 41325d632c57d70b552bd283c718c5d6b6d40395 Mon Sep 17 00:00:00 2001 From: David McMackins II Date: Tue, 19 Sep 2017 08:09:42 -0500 Subject: Change license to COIL 0.5 --- cfetch/__init__.py | 41 ++++++++++++++++++++++++++++++---------- cfetch/plugins/bitcoinaverage.py | 39 +++++++++++++++++++++++++++++--------- cfetch/plugins/bitstamp.py | 39 +++++++++++++++++++++++++++++--------- cfetch/plugins/btce.py | 41 ++++++++++++++++++++++++++++++---------- cfetch/plugins/bter.py | 39 +++++++++++++++++++++++++++++--------- cfetch/plugins/ccc.py | 39 +++++++++++++++++++++++++++++--------- 6 files changed, 182 insertions(+), 56 deletions(-) diff --git a/cfetch/__init__.py b/cfetch/__init__.py index ad01e57..cbc08d2 100644 --- a/cfetch/__init__.py +++ b/cfetch/__init__.py @@ -2,17 +2,38 @@ ## coinfetch - plugin-based cryptocurrency price converter ## Copyright (C) 2015-2016 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see . +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from importlib.machinery import SourceFileLoader @@ -21,7 +42,7 @@ from os.path import basename, dirname, exists, expanduser, isdir, join from os.path import realpath from requests import get -__version__ = '5.2.0' +__version__ = '5.3.0' class NoSuchPairException(Exception): pass diff --git a/cfetch/plugins/bitcoinaverage.py b/cfetch/plugins/bitcoinaverage.py index 2e045af..5f83800 100644 --- a/cfetch/plugins/bitcoinaverage.py +++ b/cfetch/plugins/bitcoinaverage.py @@ -2,17 +2,38 @@ ## coinfetch-api-bitcoinaverage - BitcoinAverage API plugin for coinfetch ## Copyright (C) 2015-2016 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see . +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from cfetch import register_ticker, NoSuchKindException, NoSuchPairException diff --git a/cfetch/plugins/bitstamp.py b/cfetch/plugins/bitstamp.py index c808995..09d60be 100644 --- a/cfetch/plugins/bitstamp.py +++ b/cfetch/plugins/bitstamp.py @@ -2,17 +2,38 @@ ## coinfetch-api-bitstamp - Bitstamp API plugin for coinfetch ## Copyright (C) 2015-2016 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see . +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from cfetch import register_ticker, NoSuchKindException, NoSuchPairException diff --git a/cfetch/plugins/btce.py b/cfetch/plugins/btce.py index 33d9386..0add8a4 100644 --- a/cfetch/plugins/btce.py +++ b/cfetch/plugins/btce.py @@ -2,20 +2,41 @@ ## coinfetch-api-btce - BTC-E API plugin for coinfetch ## Copyright (C) 2015 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see . +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from cfetch import register_ticker, Ticker register_ticker('btce', 'The BTC-E ticker (built-in)', - Ticker('https://btc-e.com/api/3/ticker/')) + Ticker('http://btc-e.com/api/3/ticker/')) diff --git a/cfetch/plugins/bter.py b/cfetch/plugins/bter.py index 2346591..9092eaf 100644 --- a/cfetch/plugins/bter.py +++ b/cfetch/plugins/bter.py @@ -2,17 +2,38 @@ ## coinfetch-api-bter - BTer API plugin for coinfetch ## Copyright (C) 2015-2016 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see . +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from cfetch import register_ticker, NoSuchKindException, NoSuchPairException diff --git a/cfetch/plugins/ccc.py b/cfetch/plugins/ccc.py index 3104c46..bb3a570 100644 --- a/cfetch/plugins/ccc.py +++ b/cfetch/plugins/ccc.py @@ -2,17 +2,38 @@ ## coinfetch-api-ccc - CryptoCoin Charts API plugin for coinfetch ## Copyright (C) 2015-2016 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see . +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from cfetch import register_ticker, NoSuchKindException, NoSuchPairException -- cgit v1.2.3