pax_global_header 0000666 0000000 0000000 00000000064 13650102276 0014514 g ustar 00root root 0000000 0000000 52 comment=8c2e06fe01c1aec8783ff78a8d2358dd608fa0fd
pygresql-5.1.2/ 0000775 0000000 0000000 00000000000 13650102276 0013367 5 ustar 00root root 0000000 0000000 pygresql-5.1.2/LICENSE.txt 0000664 0000000 0000000 00000002572 13650102276 0015220 0 ustar 00root root 0000000 0000000 Written by D'Arcy J.M. Cain (darcy@PyGreSQL.org)
Based heavily on code written by Pascal Andre (andre@chimay.via.ecp.fr)
Copyright (c) 1995, Pascal Andre
Further modifications copyright (c) 1997-2008 by D'Arcy J.M. Cain
Further modifications copyright (c) 2009-2020 by the PyGreSQL Development Team
PyGreSQL is released under the PostgreSQL License, a liberal Open Source
license, similar to the BSD or MIT licenses:
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement
is hereby granted, provided that the above copyright notice and this
paragraph and the following two paragraphs appear in all copies. In
this license the term "AUTHORS" refers to anyone who has contributed code
to PyGreSQL.
IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE
AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
ENHANCEMENTS, OR MODIFICATIONS.
pygresql-5.1.2/MANIFEST.in 0000664 0000000 0000000 00000000750 13650102276 0015127 0 ustar 00root root 0000000 0000000
include *.c
include *.h
include *.py
include README.rst
include LICENSE.txt
include tox.ini
recursive-include tests *.py
exclude tests/LOCAL_PyGreSQL.py
include docs/Makefile
include docs/make.bat
include docs/*.py
include docs/*.rst
include docs/*.txt
exclude docs/index.rst
recursive-include docs/community *.rst
recursive-include docs/contents *.rst
recursive-include docs/download *.rst
recursive-include docs/_static *.css_t *.ico *.png
recursive-include docs/_templates *.html
pygresql-5.1.2/PKG-INFO 0000664 0000000 0000000 00000003001 13650102276 0014456 0 ustar 00root root 0000000 0000000 Metadata-Version: 2.1
Name: PyGreSQL
Version: 5.1.2
Summary: Python PostgreSQL Interfaces
Home-page: http://www.pygresql.org
Author: D'Arcy J. M. Cain
Author-email: darcy@PyGreSQL.org
License: PostgreSQL
Download-URL: http://www.pygresql.org/download/
Description: PyGreSQL is an open-source Python module that interfaces to a
PostgreSQL database. It embeds the PostgreSQL query library to allow
easy use of the powerful PostgreSQL features from a Python script.
Keywords: pygresql postgresql database api dbapi
Platform: any
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: PostgreSQL License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: SQL
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/plain
pygresql-5.1.2/PyGreSQL.egg-info/ 0000775 0000000 0000000 00000000000 13650102276 0016467 5 ustar 00root root 0000000 0000000 pygresql-5.1.2/PyGreSQL.egg-info/PKG-INFO 0000664 0000000 0000000 00000003001 13650102276 0017556 0 ustar 00root root 0000000 0000000 Metadata-Version: 2.1
Name: PyGreSQL
Version: 5.1.2
Summary: Python PostgreSQL Interfaces
Home-page: http://www.pygresql.org
Author: D'Arcy J. M. Cain
Author-email: darcy@PyGreSQL.org
License: PostgreSQL
Download-URL: http://www.pygresql.org/download/
Description: PyGreSQL is an open-source Python module that interfaces to a
PostgreSQL database. It embeds the PostgreSQL query library to allow
easy use of the powerful PostgreSQL features from a Python script.
Keywords: pygresql postgresql database api dbapi
Platform: any
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: PostgreSQL License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: SQL
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/plain
pygresql-5.1.2/PyGreSQL.egg-info/SOURCES.txt 0000664 0000000 0000000 00000003720 13650102276 0020355 0 ustar 00root root 0000000 0000000 LICENSE.txt
MANIFEST.in
README.rst
pg.py
pgconn.c
pgdb.py
pginternal.c
pglarge.c
pgmodule.c
pgnotice.c
pgquery.c
pgsource.c
pgtypes.h
py3c.h
setup.py
tox.ini
PyGreSQL.egg-info/PKG-INFO
PyGreSQL.egg-info/SOURCES.txt
PyGreSQL.egg-info/dependency_links.txt
PyGreSQL.egg-info/not-zip-safe
PyGreSQL.egg-info/top_level.txt
docs/Makefile
docs/about.rst
docs/about.txt
docs/announce.rst
docs/conf.py
docs/copyright.rst
docs/make.bat
docs/requirements.txt
docs/start.txt
docs/toc.txt
docs/_static/favicon.ico
docs/_static/pygresql.css_t
docs/_static/pygresql.png
docs/_templates/layout.html
docs/community/homes.rst
docs/community/index.rst
docs/community/issues.rst
docs/community/mailinglist.rst
docs/community/source.rst
docs/community/support.rst
docs/contents/changelog.rst
docs/contents/examples.rst
docs/contents/general.rst
docs/contents/index.rst
docs/contents/install.rst
docs/contents/tutorial.rst
docs/contents/pg/adaptation.rst
docs/contents/pg/connection.rst
docs/contents/pg/db_types.rst
docs/contents/pg/db_wrapper.rst
docs/contents/pg/index.rst
docs/contents/pg/introduction.rst
docs/contents/pg/large_objects.rst
docs/contents/pg/module.rst
docs/contents/pg/notification.rst
docs/contents/pg/query.rst
docs/contents/pgdb/adaptation.rst
docs/contents/pgdb/connection.rst
docs/contents/pgdb/cursor.rst
docs/contents/pgdb/index.rst
docs/contents/pgdb/introduction.rst
docs/contents/pgdb/module.rst
docs/contents/pgdb/typecache.rst
docs/contents/pgdb/types.rst
docs/contents/postgres/advanced.rst
docs/contents/postgres/basic.rst
docs/contents/postgres/func.rst
docs/contents/postgres/index.rst
docs/contents/postgres/syscat.rst
docs/download/download.rst
docs/download/files.rst
docs/download/index.rst
tests/__init__.py
tests/dbapi20.py
tests/test_classic.py
tests/test_classic_connection.py
tests/test_classic_dbwrapper.py
tests/test_classic_functions.py
tests/test_classic_largeobj.py
tests/test_classic_notification.py
tests/test_dbapi20.py
tests/test_dbapi20_copy.py
tests/test_tutorial.py pygresql-5.1.2/PyGreSQL.egg-info/dependency_links.txt 0000664 0000000 0000000 00000000001 13650102276 0022535 0 ustar 00root root 0000000 0000000
pygresql-5.1.2/PyGreSQL.egg-info/not-zip-safe 0000664 0000000 0000000 00000000001 13650102276 0020715 0 ustar 00root root 0000000 0000000
pygresql-5.1.2/PyGreSQL.egg-info/top_level.txt 0000664 0000000 0000000 00000000014 13650102276 0021214 0 ustar 00root root 0000000 0000000 _pg
pg
pgdb
pygresql-5.1.2/README.rst 0000664 0000000 0000000 00000001737 13650102276 0015066 0 ustar 00root root 0000000 0000000 PyGreSQL - Python interface for PostgreSQL
==========================================
PyGreSQL is a Python module that interfaces to a PostgreSQL database.
It embeds the PostgreSQL query library to allow easy use of the powerful
PostgreSQL features from a Python script.
PyGreSQL should run on most platforms where PostgreSQL and Python is running.
It is based on the PyGres95 code written by Pascal Andre.
D'Arcy (darcy@druid.net) renamed it to PyGreSQL starting with version 2.0
and serves as the "BDFL" of PyGreSQL.
Starting with version 5.0, PyGreSQL also supports Python 3.
Installation
------------
The simplest way to install PyGreSQL is to type::
$ pip install PyGreSQL
For other ways of installing PyGreSQL and requirements,
see the documentation.
Documentation
-------------
The documentation is available at `www.pygresql.org `_.
At mirror of the documentation can be found at `pygresql.readthedocs.io `_.
pygresql-5.1.2/docs/ 0000775 0000000 0000000 00000000000 13650102276 0014317 5 ustar 00root root 0000000 0000000 pygresql-5.1.2/docs/Makefile 0000664 0000000 0000000 00000016371 13650102276 0015767 0 ustar 00root root 0000000 0000000 # Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
endif
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext
help:
@echo "Please use \`make ' where is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " applehelp to make an Apple Help Book"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
@echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " xml to make Docutils-native XML files"
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo " coverage to run coverage check of the documentation (if enabled)"
clean:
rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PyGreSQL.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PyGreSQL.qhc"
applehelp:
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
@echo
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
@echo "N.B. You won't be able to view it unless you put it in" \
"~/Library/Documentation/Help or install it in your application" \
"bundle."
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/PyGreSQL"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PyGreSQL"
@echo "# devhelp"
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
latexpdfja:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through platex and dvipdfmx..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
texinfo:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
@echo "Run \`make' in that directory to run these through makeinfo" \
"(use \`make info' here to do that automatically)."
info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
gettext:
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
@echo
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
coverage:
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
@echo "Testing of coverage in the sources finished, look at the " \
"results in $(BUILDDIR)/coverage/python.txt."
xml:
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
@echo
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
pygresql-5.1.2/docs/_static/ 0000775 0000000 0000000 00000000000 13650102276 0015745 5 ustar 00root root 0000000 0000000 pygresql-5.1.2/docs/_static/favicon.ico 0000664 0000000 0000000 00000022156 13650102276 0020074 0 ustar 00root root 0000000 0000000 h 6 @@ ( F ( 5 6 9 : ; <