File tree Expand file tree Collapse file tree 9 files changed +897
-2
lines changed
Expand file tree Collapse file tree 9 files changed +897
-2
lines changed Original file line number Diff line number Diff line change 1+ .envrc
2+ # Byte-compiled / optimized / DLL files
3+ __pycache__ /
4+ * .py [cod ]
5+ * $py.class
6+
7+ # C extensions
8+ * .so
9+
10+ # Distribution / packaging
11+ .Python
12+ env /
13+ build /
14+ develop-eggs /
15+ dist /
16+ downloads /
17+ eggs /
18+ .eggs /
19+ lib /
20+ lib64 /
21+ parts /
22+ sdist /
23+ var /
24+ * .egg-info /
25+ .installed.cfg
26+ * .egg
27+
28+ # PyInstaller
29+ # Usually these files are written by a python script from a template
30+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31+ * .manifest
32+ * .spec
33+
34+ # Installer logs
35+ pip-log.txt
36+ pip-delete-this-directory.txt
37+
38+ # Unit test / coverage reports
39+ htmlcov /
40+ .tox /
41+ .coverage
42+ .coverage. *
43+ .cache
44+ nosetests.xml
45+ coverage.xml
46+ * ,cover
47+ .hypothesis /
48+
49+ # Translations
50+ * .mo
51+ * .pot
52+
53+ # Django stuff:
54+ * .log
55+ local_settings.py
56+
57+ # Flask stuff:
58+ instance /
59+ .webassets-cache
60+
61+ # Scrapy stuff:
62+ .scrapy
63+
64+ # Sphinx documentation
65+ docs /_build /
66+
67+ # PyBuilder
68+ target /
69+
70+ # IPython Notebook
71+ .ipynb_checkpoints
72+
73+ # pyenv
74+ .python-version
75+
76+ # celery beat schedule file
77+ celerybeat-schedule
78+
79+ # dotenv
80+ .env
81+
82+ # virtualenv
83+ venv /
84+ ENV /
85+
86+ # Spyder project settings
87+ .spyderproject
88+
89+ # Rope project settings
90+ .ropeproject
91+
92+ # PyCharm project settings
93+ .idea /
94+
95+ /dist
96+ /CHANGELOG.md
97+ /script /build
98+
99+ # VS Code
100+ .vscode
101+
102+ # IntelliJ
103+ .idea
104+
105+ # macOS
106+ .DS_Store
107+
108+ # vim
109+ * .swp
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ databend-sqlalchemy
2+ ===================
3+
4+ Databend dialect for SQLAlchemy.
5+
6+ Installation
7+ ------------
8+
9+ The package is installable through PIP::
10+
11+ pip install databend-sqlalchemy
12+
13+ Usage
14+ -----
15+
16+ The DSN format is similar to that of regular Postgres::
17+
18+ import connector
19+ cursor = connector.connect('http://root:@localhost:8081').cursor()
20+ cursor.execute('SELECT * FROM test')
21+ # print(cursor.fetchone())
22+ # print(cursor.fetchall())
23+ for i in cursor.next():
24+ print(i)
25+
26+
27+
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+
3+ VERSION = (0 , 0 , 1 )
4+ __version__ = '.' .join (str (x ) for x in VERSION )
You can’t perform that action at this time.
0 commit comments