summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/url.py
Commit message (Collapse)AuthorAgeFilesLines
* - fix some tests related to the URL change and try to makeMike Bayer2015-05-231-5/+11
| | | | the URL design a little simpler
* - Adjustments to the engine plugin hook, such that theMike Bayer2015-05-221-7/+11
| | | | | | | | :meth:`.URL.get_dialect` method will continue to return the ultimate :class:`.Dialect` object when a dialect plugin is used, without the need for the caller to be aware of the :meth:`.Dialect.get_dialect_cls` method. reference #3379
* - copyright 2015Mike Bayer2015-03-101-1/+1
|
* - rework the exclusions system to have much better support for compoundMike Bayer2014-07-261-0/+12
| | | | rules, better message formatting
* PEP8 style fixesBrian Jarrett2014-07-131-5/+8
|
* - break up the <authors> copyright comment as part of a passMike Bayer2014-07-091-1/+2
| | | | to get all flake8 passing
* - happy new yearMike Bayer2014-01-051-1/+1
|
* - adjustment, the spec says: "Within the user and password field, any ":",Mike Bayer2013-11-251-2/+15
| | | | | | | "@", or "/" must be encoded." - so re-apply encoding to both password and username, don't encode spaces as plus signs, don't encode any chars outside of :, @, / on stringification - but we still parse for any %XX character (is that right?)
* - The :func:`.create_engine` routine and the relatedMike Bayer2013-11-241-7/+2
| | | | | | | :func:`.make_url` function **no longer URL encode the password**. Database passwords that include characters like spaces, plus signs and anything else should now represent these characters directly, without any URL escaping. [ticket:2873]
* Ensure API doc for make_url and resolve referencesVraj Mohan2013-11-131-2/+2
|
* - The regexp used by the :func:`.url.make_url` function now parsesMike Bayer2013-10-231-2/+11
| | | | ipv6 addresses, e.g. surrounded by brackets. [ticket:2851]
* Hide password in URL and Engine __repr__pr/25Gunnlaugur Þór Briem2013-09-061-2/+9
| | | | Fixes #2821
* find some more inline imports and move them outMike Bayer2013-08-041-1/+1
|
* do a sweep of some obvious 3kismsMike Bayer2013-05-261-1/+1
|
* import of "sqlalchemy" and "sqlalchemy.orm" works.Mike Bayer2013-04-271-8/+5
|
* - the raw 2to3 runMike Bayer2013-04-271-9/+9
| | | | - went through examples/ and cleaned out excess list() calls
* happy new year (see #2645)Diana Clarke2013-01-011-1/+1
|
* just a pep8 pass of lib/sqlalchemy/engine/Diana Clarke2012-11-191-9/+13
|
* - break out engine/base.py into base, interfaces, result, util.Mike Bayer2012-08-071-2/+2
| | | | - remove deprecated 0.7 engine methods
* more import cleanupsMike Bayer2012-08-071-3/+4
|
* - [feature] Added a new systemMike Bayer2012-04-241-42/+15
| | | | | | | for registration of new dialects in-process without using an entrypoint. See the docs for "Registering New Dialects". [ticket:2462]
* happy new yearMike Bayer2012-01-041-1/+1
|
* - The entry point resolution supported byMike Bayer2011-09-241-2/+9
| | | | | | | | | create_engine() now supports resolution of individual DBAPI drivers on top of a built-in or entry point-resolved dialect, using the standard '+' notation - it's converted to a '.' before being resolved as an entry point. [ticket:2286]
* - Use urllib.parse_qsl() in Python 2.6 and above,Mike Bayer2011-06-211-4/+4
| | | | | no deprecation warning about cgi.parse_qsl() [ticket:1682]
* see #2060Diana Clarke2011-02-281-1/+2
|
* - whitespace removal bonanzaMike Bayer2011-01-021-5/+5
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-0/+6
| | | | | a consistent tag - AUTHORS file
* - fixed the import for entrypoint-driven dialects toMike Bayer2009-12-051-7/+24
| | | | | not rely upon silly tb_info trick to determine import error status. [ticket:1630]
* - the setuptools entrypoint for external dialects is nowMike Bayer2009-10-101-1/+1
| | | | called "sqlalchemy.dialects". external dialects need to be changed to work with 0.6 in any case.
* merge 0.6 series to trunk.Mike Bayer2009-08-061-17/+29
|
* merged -r5299:5438 of py3k warnings branch. this fixes some sqlite py2.6 ↵Mike Bayer2008-12-181-0/+3
| | | | | | | | testing issues, and also addresses a significant chunk of py3k deprecations. It's mainly expicit __hash__ methods. Additionally, most usage of sets/dicts to store columns uses util-based placeholder names.
* - added sphinx handler to allow __init__ methods throughMike Bayer2008-12-171-10/+2
| | | | | | - sqlite module documentation - some corrections to pool docs - the example in URL.translate_connect_args() never made any sense anyway so removed it
* - restored the previous API Reference structureMike Bayer2008-12-081-6/+8
| | | | | - bumped latex TOC structure, the PDF looks great - but we need to fix the translate_connect_args docstring bug to really have PDF
* - restored the main search formMike Bayer2008-12-081-5/+6
| | | | | - fixed search highlighting - the url docstring works again from a ReST perspective, still not PDF
* - moved index.rst around to have the API docs right there, no "Main ↵Mike Bayer2008-12-071-6/+5
| | | | | | | Documentation" chapter which is fairly needless. this all allows PDF to have a decent TOC on the side with only two levels (can we change that ?) - added LatexFormatter. - PDF wont work until issue with the docstirng in url.py/URL.translate_connect_args is fixed.
* - merged -r5338:5429 of sphinx branch.Mike Bayer2008-12-061-30/+25
| | | | | | | | | | | | | - Documentation has been converted to Sphinx. In particular, the generated API documentation has been constructed into a full blown "API Reference" section which organizes editorial documentation combined with generated docstrings. Cross linking between sections and API docs are vastly improved, a javascript-powered search feature is provided, and a full index of all classes, functions and members is provided.
* And thus ends support for Python 2.3.Jason Kirtland2008-07-151-2/+2
|
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-3/+3
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* - remove some old cruftMike Bayer2008-02-161-14/+6
| | | | - deprecate ancient engine_descriptors() method
* introductory docstring bonanzaMike Bayer2007-12-181-1/+7
|
* engine.url cleanups [ticket:742]Jason Kirtland2007-08-291-31/+51
| | | | | | - translate_connect_args can now take kw args or the classic list - in-tree dialects updated to supply their overrides as keywords - tweaked url parsing in the spirit of the #742 patch, more or less
* - Connection.begin() no longer accepts nested=True, a possible source of ↵Jason Kirtland2007-08-191-9/+11
| | | | | | confusion as two forms of nesting are supported. SAVEPOINT-style nesting logic is now contained soley in begin_nested(). - Docstring love for the engine package. More is needed.
* added engine_from_config() function for helping to create_engine()Mike Bayer2007-08-141-1/+11
| | | | from an .ini style config
* switch (simple) occurences of 'if len(x)' to 'if x': find . -name '*.py' ↵Jonathan Ellis2007-08-031-1/+1
| | | | |xargs perl -pi.bak -e 's/if len\((\S+)\):/if $1:/' && find . -name '*.bak' |xargs rm
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-5/+3
| | | | maintenance branch in branches/rel_0_3.
* - the dialects within sqlalchemy.databases become a setuptoolsMike Bayer2007-04-171-8/+17
| | | | | | entry points. loading the built-in database dialects works the same as always, but if none found will fall back to trying pkg_resources to load an external module [ticket:521]
* - merged the "execcontext" branch, refactors engine/dialect codepathsMike Bayer2007-04-021-0/+4
| | | | | | | | | | | | | | | | | | | | - much more functionality moved into ExecutionContext, which impacted the API used by dialects to some degree - ResultProxy and subclasses now designed sanely - merged patch for #522, Unicode subclasses String directly, MSNVarchar implements for MS-SQL, removed MSUnicode. - String moves its "VARCHAR"/"TEXT" switchy thing into "get_search_list()" function, which VARCHAR and CHAR can override to not return TEXT in any case (didnt do the latter yet) - implements server side cursors for postgres, unit tests, #514 - includes overhaul of dbapi import strategy #480, all dbapi importing happens in dialect method "dbapi()", is only called inside of create_engine() for default and threadlocal strategies. Dialect subclasses have a datamember "dbapi" referencing the loaded module which may be None. - added "mock" engine strategy, doesnt require DBAPI module and gives you a "Connecition" which just sends all executes to a callable. can be used to create string output of create_all()/drop_all().
* - query strings in unicode URLs get keys encoded to asciiMike Bayer2007-03-301-0/+2
| | | | for **kwargs compat
* - added db modules to genned docstringsMike Bayer2007-03-181-2/+2
| | | | | | | - had to tweak out latest MS-SQL module change. cant do ImportErrors right now until module importing is moved to the connection phase across all dialects. - took out "his" from url docstrings - postgres doesnt do an import *
* decorated ImportError thrown when the <database>:// module isnt foundMike Bayer2007-03-061-2/+7
|