Comments (2)
I'd say its best to not have this directly in the library. However, I see no
problem with creating a new package called pymssql-shell for it. Have it
depend on pymssql and you end up with basically the same situation, but without
a commitment from pymssql to maintain it. My two reasons for thinking this way
are:
- hard enough to get time to maintain the library, lets not commit the project
to doing any more than is absolutely necessary for a working mssql driver.
Even though its simple now, if people start using it, it will inevitable not
work as it should, require bug fixes, etc.
- now you have a library package with an application embedded in it. Seems
best to leave the library a library and let the application stand on its own,
using the library.
Also, I'm wondering if there are any projects already out there that do
something like this for any DBAPI compliant driver.
I'm going to set to WontFix, since you weren't sure in the first place. But if
you think I'm missing something, feel free to object. :)
Original comment by [email protected]
on 7 Feb 2013 at 2:07
- Changed state: WontFix
from pymssql.
Thanks Randy.
That makes total sense. That's an interesting idea to make it work with any
DBAPI driver. I lifted the code for this out of another program I wrote that
uses SQLAlchemy as the abstraction layer:
https://github.com/msabramo/sqlalchemy_sql_shell
But it probably could be generalized to talk to either SQLAlchemy or DBAPI.
Original comment by [email protected]
on 13 Feb 2013 at 3:40
from pymssql.
Related Issues (20)
- Failure to pass Unicode characters to callproc; failing test: tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithRussianCharacters HOT 7
- When pymssql.connect() - DB-Lib error message 20002, severity 9;Adaptive Server connection failed HOT 1
- Fix test_config.py typos. HOT 1
- Small fix about TDS protocol version in a comment HOT 1
- Fix a small bug in SP tests HOT 3
- Fix SP name handling in threaded test so we can actually run it. HOT 2
- A few tests fail if running on a system that has SQL Server available on port 1433 HOT 1
- add function for getting FreeTDS version HOT 1
- datetime conversion to sql is not converting sub-seconds correctly HOT 5
- memory leaks (patches included) HOT 24
- pymssql-2.0.0b1-dev-20130403.tar.gz doesn't compile due to /usr/bin/ld: cannot find -lct HOT 8
- Installer issue HOT 1
- error: unrecognized command line option "-Wno-parentheses-equality" HOT 8
- pymssql.so: undefined symbol: __fread_chk HOT 5
- Support "with" statement (PEP 343) HOT 5
- Can't compile on OS X 10.8.4 HOT 10
- Review pymssql result processing code
- Make Cython not necessary when pymssql.c and _mssql.c are already present HOT 1
- IOError: [Errno 2] No such file or directory: 'ChangeLog_highlights.rst' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymssql.