Skip to content

Commit

Permalink
Merge pull request #30 from amalek215/pwd_escape
Browse files Browse the repository at this point in the history
Escape password
  • Loading branch information
vjef authored Sep 14, 2021
2 parents 1fb9e4f + b1368a2 commit 24313e0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
# built documents.
#
# The short X.Y version.
version = '3.0'
version = '3.1'
# The full version, including alpha/beta/rc tags.
release = '3.0'
release = '3.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "wrds"
version = "3.1.0"
version = "3.1.1"
description = "Python access to WRDS Data"
authors = [
"Eric Stein <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name='wrds',
version='3.1.0',
version='3.1.1',
description="Python access to WRDS Data",
long_description=open('README.rst').read(),
author='WRDS',
Expand Down
2 changes: 1 addition & 1 deletion wrds/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"""

__title__ = 'wrds-py'
__version__ = '3.1.0'
__version__ = '3.1.1'
__author__ = 'Wharton Research Data Services'
__copyright__ = '2017-2021 Wharton Research Data Services'

Expand Down
3 changes: 2 additions & 1 deletion wrds/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import stat
import pandas as pd
import sqlalchemy as sa
import urllib.parse
from wrds import __version__ as wrds_version

from sys import version_info
Expand Down Expand Up @@ -110,7 +111,7 @@ def connect(self):
self.engine = sa.create_engine(
pghost.format(
usr=self._username,
pwd=self._password,
pwd=urllib.parse.quote_plus(self._password),
host=self._hostname,
port=self._port,
dbname=self._dbname),
Expand Down

0 comments on commit 24313e0

Please sign in to comment.