V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
yoke123
V2EX  ›  Python

Python 有没有提供像 PHP 框架里面 sql 操作方法的模块?

  •  
  •   yoke123 · May 22, 2018 · 3049 views
    This topic created in 2907 days ago, the information mentioned may be changed or developed.

    写原生 sql 写多了 看着难受

    自己封装一个吗

    10 replies    2018-05-22 20:21:18 +08:00
    shiroming
        1
    shiroming  
       May 22, 2018 via Android
    orm ? sqlalchemy
    cdwyd
        2
    cdwyd  
       May 22, 2018
    peewee 简单好用
    vZexc0m
        3
    vZexc0m  
       May 22, 2018
    不同数据库不同驱动,mysql - pymysql,postgresql-psycopg2
    John60676
        4
    John60676  
       May 22, 2018
    sqlalchemy + 1
    Hopetree
        5
    Hopetree  
       May 22, 2018
    数据库的链接库都可以,直接运行 SQL 语句
    ZeroW
        6
    ZeroW  
       May 22, 2018 via Android
    peewee
    wongskay
        7
    wongskay  
       May 22, 2018
    sqlalchemy
    summerwar
        8
    summerwar  
       May 22, 2018
    sqlalchemy + 1
    lazysoft
        9
    lazysoft  
       May 22, 2018
    刚刚用完 pymysql。。。
    herozhang
        10
    herozhang  
       May 22, 2018
    peewee +1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2612 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 16:06 · PVG 00:06 · LAX 09:06 · JFK 12:06
    ♥ Do have faith in what you're doing.