summaryrefslogtreecommitdiffstats
path: root/pgspecial.egg-info
diff options
context:
space:
mode:
Diffstat (limited to 'pgspecial.egg-info')
-rw-r--r--pgspecial.egg-info/PKG-INFO110
-rw-r--r--pgspecial.egg-info/SOURCES.txt27
-rw-r--r--pgspecial.egg-info/dependency_links.txt1
-rw-r--r--pgspecial.egg-info/requires.txt3
-rw-r--r--pgspecial.egg-info/top_level.txt1
5 files changed, 142 insertions, 0 deletions
diff --git a/pgspecial.egg-info/PKG-INFO b/pgspecial.egg-info/PKG-INFO
new file mode 100644
index 0000000..e4a0e1b
--- /dev/null
+++ b/pgspecial.egg-info/PKG-INFO
@@ -0,0 +1,110 @@
+Metadata-Version: 2.1
+Name: pgspecial
+Version: 2.1.2
+Summary: Meta-commands handler for Postgres Database.
+Home-page: https://www.dbcli.com
+Author: Pgcli Core Team
+Author-email: pgcli-dev@googlegroups.com
+License: LICENSE.txt
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: Unix
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: SQL
+Classifier: Topic :: Database
+Classifier: Topic :: Database :: Front-Ends
+Classifier: Topic :: Software Development
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Dist: click>=4.1
+Requires-Dist: sqlparse>=0.1.19
+Requires-Dist: psycopg>=3.0.10
+
+Meta-commands for Postgres
+--------------------------
+
+|Build Status| |PyPI|
+
+This package provides an API to execute meta-commands (AKA "special", or
+"backslash commands") on PostgreSQL.
+
+Quick Start
+-----------
+
+This is a python package. It can be installed with:
+
+::
+
+ $ pip install pgspecial
+
+
+Usage
+-----
+
+Once this library is included into your project, you will most likely use the
+following imports:
+
+.. code-block:: python
+
+ from pgspecial.main import PGSpecial
+ from pgspecial.namedqueries import NamedQueries
+
+Then you will create and use an instance of PGSpecial:
+
+.. code-block:: python
+
+ pgspecial = PGSpecial()
+ for result in pgspecial.execute(cur, sql):
+ # Do something
+
+If you want to import named queries from an existing config file, it is
+convenient to initialize and keep around the class variable in
+``NamedQueries``:
+
+.. code-block:: python
+
+ from configobj import ConfigObj
+
+ NamedQueries.instance = NamedQueries.from_config(
+ ConfigObj('~/.config_file_name'))
+
+Contributions:
+--------------
+
+If you're interested in contributing to this project, first of all I would like
+to extend my heartfelt gratitude. I've written a small doc to describe how to
+get this running in a development setup.
+
+https://github.com/dbcli/pgspecial/blob/master/DEVELOP.rst
+
+Please feel free to file an issue if you need help.
+
+Projects using it:
+------------------
+
+This library is used by the following projects:
+
+pgcli_: A REPL for Postgres.
+
+`ipython-sql`_: %%sql magic for IPython
+
+OmniDB_: An web tool for database management
+
+If you find this module useful and include it in your project, I'll be happy
+to know about it and list it here.
+
+.. |Build Status| image:: https://github.com/dbcli/pgspecial/workflows/pgspecial/badge.svg
+ :target: https://github.com/dbcli/pgspecial/actions?query=workflow%3Apgspecial
+
+.. |PyPI| image:: https://badge.fury.io/py/pgspecial.svg
+ :target: https://pypi.python.org/pypi/pgspecial/
+ :alt: Latest Version
+
+.. _pgcli: https://github.com/dbcli/pgcli
+.. _`ipython-sql`: https://github.com/catherinedevlin/ipython-sql
+.. _OmniDB: https://github.com/OmniDB/OmniDB
diff --git a/pgspecial.egg-info/SOURCES.txt b/pgspecial.egg-info/SOURCES.txt
new file mode 100644
index 0000000..cc0fbf3
--- /dev/null
+++ b/pgspecial.egg-info/SOURCES.txt
@@ -0,0 +1,27 @@
+DEVELOP.rst
+License.txt
+README.rst
+changelog.rst
+pyproject.toml
+requirements-dev.txt
+setup.py
+tox.ini
+pgspecial/__init__.py
+pgspecial/dbcommands.py
+pgspecial/iocommands.py
+pgspecial/main.py
+pgspecial/namedqueries.py
+pgspecial.egg-info/PKG-INFO
+pgspecial.egg-info/SOURCES.txt
+pgspecial.egg-info/dependency_links.txt
+pgspecial.egg-info/requires.txt
+pgspecial.egg-info/top_level.txt
+pgspecial/help/__init__.py
+pgspecial/help/commands.py
+scripts/README.rst
+scripts/docparser.py
+tests/conftest.py
+tests/dbutils.py
+tests/test_internal.py
+tests/test_named_queries.py
+tests/test_specials.py \ No newline at end of file
diff --git a/pgspecial.egg-info/dependency_links.txt b/pgspecial.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/pgspecial.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/pgspecial.egg-info/requires.txt b/pgspecial.egg-info/requires.txt
new file mode 100644
index 0000000..db384fb
--- /dev/null
+++ b/pgspecial.egg-info/requires.txt
@@ -0,0 +1,3 @@
+click>=4.1
+sqlparse>=0.1.19
+psycopg>=3.0.10
diff --git a/pgspecial.egg-info/top_level.txt b/pgspecial.egg-info/top_level.txt
new file mode 100644
index 0000000..a8ad873
--- /dev/null
+++ b/pgspecial.egg-info/top_level.txt
@@ -0,0 +1 @@
+pgspecial