Coder Social home page Coder Social logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.