Commits

Nacho Álvarez  committed 63a3183

Licensing code

  • Participants
  • Parent commits 6e32bbc

Comments (0)

Files changed (6)

File backends/pybsddb.py

+# This file is part of Persistence Systems
+#
+# This software is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This software 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+"""
+  Backend for bsddb persistence system  
+
+  This module contains minimal operations to measure time of execution
+  for bsddb persistence system
+"""
+
+__author__ = "Jose I. Alvarez <neonigma@gmail.com>"
+__copyright__ = "Copyright 2011, Jose I. Alvarez <neonigma@mail.com>"
+__license__ = "GPL-2"
+
+
 import bsddb
 
 

File backends/pydurus.py

+# This file is part of Persistence Systems
+#
+# This software is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This software 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+"""
+  Backend for durus persistence system  
+
+  This module contains minimal operations to measure time of execution
+  for durus persistence system
+"""
+
+__author__ = "Jose I. Alvarez <neonigma@gmail.com>"
+__copyright__ = "Copyright 2011, Jose I. Alvarez <neonigma@mail.com>"
+__license__ = "GPL-2"
+
+
 from durus.connection import Connection
 from durus.file_storage import FileStorage
 from durus.persistent import Persistent

File backends/pyredis.py

+# This file is part of Persistence Systems
+#
+# This software is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This software 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+"""
+  Backend for Redis persistence system  
+
+  This module contains minimal operations to measure time of execution
+  for Redis persistence system
+"""
+
+__author__ = "Jose I. Alvarez <neonigma@gmail.com>"
+__copyright__ = "Copyright 2011, Jose I. Alvarez <neonigma@mail.com>"
+__license__ = "GPL-2"
+
+
 import redis
 
 class TestBackend:

File backends/pytables.py

+# This file is part of Persistence Systems
+#
+# This software is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This software 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+"""
+  Backend for pytables persistence system  
+
+  This module contains minimal operations to measure time of execution
+  for pytables persistence system
+"""
+
+__author__ = "Jose I. Alvarez <neonigma@gmail.com>"
+__copyright__ = "Copyright 2011, Jose I. Alvarez <neonigma@mail.com>"
+__license__ = "GPL-2"
+
+
 from tables import *
 import tables
 

File backends/pyzodb.py

+# This file is part of Persistence Systems
+#
+# This software is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This software 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+"""
+  Backend for ZODB persistence system  
+
+  This module contains minimal operations to measure time of execution
+  for ZODB persistence system
+"""
+
+__author__ = "Jose I. Alvarez <neonigma@gmail.com>"
+__copyright__ = "Copyright 2011, Jose I. Alvarez <neonigma@mail.com>"
+__license__ = "GPL-2"
+
+
 from ZODB.FileStorage import FileStorage
 from ZODB.DB import DB
 import transaction
-#!/usr/bin/python
+# This file is part of Persistence Systems
+#
+# This software is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This software 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+"""
+  A brief comparison into persistence systems for Python
+
+  Currently comparing following systems:
+  + bsddb
+  + pytables
+  + durus
+  + zodb
+  + redis
+
+  This module contains the main program that executes tests reading
+  and writing process, measuring time to end both read and write process
+"""
+
+__author__ = "Jose I. Alvarez <neonigma@gmail.com>"
+__copyright__ = "Copyright 2011, Jose I. Alvarez <neonigma@mail.com>"
+__license__ = "GPL-2"
+
 import csv
 import time
 import getopt