[Pymoul-svn] SF.net SVN: pymoul: [235] binaryfile/trunk
Status: Alpha
Brought to you by:
tiran
|
From: <ti...@us...> - 2007-03-06 13:16:30
|
Revision: 235
http://pymoul.svn.sourceforge.net/pymoul/?rev=235&view=rev
Author: tiran
Date: 2007-03-06 05:16:26 -0800 (Tue, 06 Mar 2007)
Log Message:
-----------
Added license stuff and readme
Modified Paths:
--------------
binaryfile/trunk/LICENSE.txt
binaryfile/trunk/README.txt
binaryfile/trunk/setup.py
binaryfile/trunk/src/binaryfile/__init__.py
binaryfile/trunk/src/binaryfile/binary.py
binaryfile/trunk/src/binaryfile/binaryrecord.py
binaryfile/trunk/src/binaryfile/tests.py
Property Changed:
----------------
binaryfile/trunk/src/binaryfile/__init__.py
binaryfile/trunk/src/binaryfile.egg-info/SOURCES.txt
binaryfile/trunk/src/binaryfile.egg-info/dependency_links.txt
binaryfile/trunk/src/binaryfile.egg-info/top_level.txt
Modified: binaryfile/trunk/LICENSE.txt
===================================================================
--- binaryfile/trunk/LICENSE.txt 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/LICENSE.txt 2007-03-06 13:16:26 UTC (rev 235)
@@ -0,0 +1,32 @@
+Copyright (c) 2007, Christian Heimes
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of the Christian Heimes nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR 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.
+
+NOTE
+====
+
+The C and Python versions of the TEA, XTEA and XXTEA algorithms are
+Public Domain.
\ No newline at end of file
Modified: binaryfile/trunk/README.txt
===================================================================
--- binaryfile/trunk/README.txt 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/README.txt 2007-03-06 13:16:26 UTC (rev 235)
@@ -0,0 +1,8 @@
+Binary file and record utility
+==============================
+
+Authors: Christian Heimes (christian (at) cheimes (dot) de)
+
+The binary record module is roughly based on Maciej Obarski's recipe "parse
+and create fixed size binary data" from
+http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/465219
Modified: binaryfile/trunk/setup.py
===================================================================
--- binaryfile/trunk/setup.py 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/setup.py 2007-03-06 13:16:26 UTC (rev 235)
@@ -21,13 +21,8 @@
from setuptools import setup
from setuptools import find_packages
-from distutils.core import setup
-
VERSION = "0.1"
-me = "Christian Heimes"
-email = "chr...@ch..."
-
setup_infos = dict(
name = "binaryfile",
version = VERSION,
@@ -40,13 +35,13 @@
maintainer_email = "chr...@ch...",
url = "http://sourceforge.net/projects/pymoul/",
download_url= "http://cheeseshop.python.org/pypi/",
- license = "",
- keywords = [],
+ license = "BSD",
+ keywords = ["binary", "file", "struct", "record"],
platforms = ['Independent'],
classifiers = (
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
- 'License :: OSI Approved :: ',
+ 'License :: OSI Approved :: BSD',
'Operating System :: OS Independent'
'Natural Language :: English',
'Programming Language :: Python',
Modified: binaryfile/trunk/src/binaryfile/__init__.py
===================================================================
--- binaryfile/trunk/src/binaryfile/__init__.py 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/src/binaryfile/__init__.py 2007-03-06 13:16:26 UTC (rev 235)
@@ -1,4 +1,31 @@
-# binaryfile package
+# Copyright (c) 2007, Christian Heimes
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * Neither the name of the Christian Heimes nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR 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.
+"""Binary file package
+"""
from binaryfile.binary import BinaryFile
from binaryfile.binaryrecord import registerRecord
from binaryfile.binaryrecord import parseRecord
Property changes on: binaryfile/trunk/src/binaryfile/__init__.py
___________________________________________________________________
Name: svn:keywords
- 'Id Revision'
+ Id Revision
Modified: binaryfile/trunk/src/binaryfile/binary.py
===================================================================
--- binaryfile/trunk/src/binaryfile/binary.py 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/src/binaryfile/binary.py 2007-03-06 13:16:26 UTC (rev 235)
@@ -1,4 +1,29 @@
-# Copyright (C) 2007 Christian Heimes <christian (at) cheimes (dot) de>
+# Copyright (c) 2007, Christian Heimes
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * Neither the name of the Christian Heimes nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR 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.
"""Binary file helper
"""
__author__ = "Christian Heimes"
Modified: binaryfile/trunk/src/binaryfile/binaryrecord.py
===================================================================
--- binaryfile/trunk/src/binaryfile/binaryrecord.py 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/src/binaryfile/binaryrecord.py 2007-03-06 13:16:26 UTC (rev 235)
@@ -1,4 +1,29 @@
-# Copyright (C) 2007 Christian Heimes <christian (at) cheimes (dot) de>
+# Copyright (c) 2007, Christian Heimes
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * Neither the name of the Christian Heimes nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR 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.
"""Binary file helper: Records
This module is roughly based on Maciej Obarski's recipe "parse and create
Modified: binaryfile/trunk/src/binaryfile/tests.py
===================================================================
--- binaryfile/trunk/src/binaryfile/tests.py 2007-03-05 14:20:57 UTC (rev 234)
+++ binaryfile/trunk/src/binaryfile/tests.py 2007-03-06 13:16:26 UTC (rev 235)
@@ -1,4 +1,29 @@
-# Copyright (C) 2007 Christian Heimes <christian (at) cheimes (dot) de>
+# Copyright (c) 2007, Christian Heimes
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * Neither the name of the Christian Heimes nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR 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.
"""binaryfile unit tests
"""
__author__ = "Christian Heimes"
Property changes on: binaryfile/trunk/src/binaryfile.egg-info/SOURCES.txt
___________________________________________________________________
Name: svn:keywords
- 'Id Revision'
+ Id Revision
Property changes on: binaryfile/trunk/src/binaryfile.egg-info/dependency_links.txt
___________________________________________________________________
Name: svn:keywords
- 'Id Revision'
+ Id Revision
Property changes on: binaryfile/trunk/src/binaryfile.egg-info/top_level.txt
___________________________________________________________________
Name: svn:keywords
- 'Id Revision'
+ Id Revision
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|