Jaymon / dsnparse

Easily parse DSN urls (connection strings) in Python
MIT License
21 stars 8 forks source link

Postgres connection strings #3

Closed Jaymon closed 6 years ago

Jaymon commented 6 years ago

Postgres allows strings like:

postgresql:///mydb?host=localhost&port=5433

via

So it might be worth adding support for passing things like host, and username, etc. in as query params.

vitaly-t commented 6 years ago

There is also connection-string, with complete syntax support ;)

Jaymon commented 6 years ago

@vitaly-t hrm, might be overkill for my python projects to have a dependency on npm and node ;)

vitaly-t commented 6 years ago

Yeah, that's true :smile: