Skip to main content

dmPython-pure

纯 Python 实现的达梦 DM8 数据库驱动接口(dmPython),可直接配合 SQLAlchemy 使用。

安装

pip install dmPython-pure

wheel 按 Python 版本区分(如 cp312 仅用于 Python 3.12),请选择与本地一致的版本。

配合 SQLAlchemy 使用

from sqlalchemy import create_engine

engine = create_engine("dm+dmPython://SYSDBA:password@127.0.0.1:5236/")

直接使用

import dmPython

conn = dmPython.connect(host="127.0.0.1", port=5236, user="SYSDBA", password="...")
cur = conn.cursor()
cur.execute("SELECT id, name FROM t WHERE id = ?", [1])
print(cur.fetchall())
conn.close()

连接参数

dmPython.connect() 支持:host / port / user / password / autoCommit / local_code / connection_timeout 等,与官方 dmPython 一致。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dmpython_pure-1.0.1-cp313-none-any.whl (83.2 kB view details)

Uploaded CPython 3.13

dmpython_pure-1.0.1-cp312-none-any.whl (82.4 kB view details)

Uploaded CPython 3.12

dmpython_pure-1.0.1-cp311-none-any.whl (86.2 kB view details)

Uploaded CPython 3.11

dmpython_pure-1.0.1-cp310-none-any.whl (56.5 kB view details)

Uploaded CPython 3.10

dmpython_pure-1.0.1-cp39-none-any.whl (56.1 kB view details)

Uploaded CPython 3.9

dmpython_pure-1.0.1-cp38-none-any.whl (56.1 kB view details)

Uploaded CPython 3.8

File details

Details for the file dmpython_pure-1.0.1-cp313-none-any.whl.

File metadata

  • Download URL: dmpython_pure-1.0.1-cp313-none-any.whl
  • Upload date:
  • Size: 83.2 kB
  • Tags: CPython 3.13
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for dmpython_pure-1.0.1-cp313-none-any.whl
Algorithm Hash digest
SHA256 1ca757f61b9c6a737c69e14be6344b2cf43e810322935fe98d976d2a82b1c84b
MD5 22dd4359ac60cb48671750a97e1ddb3b
BLAKE2b-256 e18b886486cdac516094818429e59619848bffa6509bae3cd016cc556d2a151e

See more details on using hashes here.

File details

Details for the file dmpython_pure-1.0.1-cp312-none-any.whl.

File metadata

  • Download URL: dmpython_pure-1.0.1-cp312-none-any.whl
  • Upload date:
  • Size: 82.4 kB
  • Tags: CPython 3.12
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for dmpython_pure-1.0.1-cp312-none-any.whl
Algorithm Hash digest
SHA256 8f93221e26a5a0cbc902c5bc14edc72bef0e51f82461fff63b9bfc9aa86b548a
MD5 b564e9c4a839c353f44fdbeefd7b113e
BLAKE2b-256 435e3f71523394ea42fa9af3132bc5a3bad548a5f276ce0d075cc9fc2c0489f8

See more details on using hashes here.

File details

Details for the file dmpython_pure-1.0.1-cp311-none-any.whl.

File metadata

  • Download URL: dmpython_pure-1.0.1-cp311-none-any.whl
  • Upload date:
  • Size: 86.2 kB
  • Tags: CPython 3.11
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for dmpython_pure-1.0.1-cp311-none-any.whl
Algorithm Hash digest
SHA256 8ff1867f5f054ece566ce9dfd9445970c7b820374d51d1d97a1b35348b57aa93
MD5 cb49400f5aa2af391731744e9238de57
BLAKE2b-256 cc42185841a4d8b36e9696974685664986f132e4cc60f1baba45b137826f9d74

See more details on using hashes here.

File details

Details for the file dmpython_pure-1.0.1-cp310-none-any.whl.

File metadata

  • Download URL: dmpython_pure-1.0.1-cp310-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.21

File hashes

Hashes for dmpython_pure-1.0.1-cp310-none-any.whl
Algorithm Hash digest
SHA256 7f6a3e7fcb3b23414f2dbbfd936ced983c78665ba9557ae61819dc78e0be3947
MD5 f46301d2f8c767280af2d7d9e33e1d0b
BLAKE2b-256 9391508c0fb479e5f00973d36bcdc14796c3c8eff0f7d36e5d7bc8487538a9e8

See more details on using hashes here.

File details

Details for the file dmpython_pure-1.0.1-cp39-none-any.whl.

File metadata

  • Download URL: dmpython_pure-1.0.1-cp39-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for dmpython_pure-1.0.1-cp39-none-any.whl
Algorithm Hash digest
SHA256 e33eca638457bd062714ccb604da25258a20da4e8ecd089e25326133bee65e41
MD5 779b39956196bd18388da672744b0b4b
BLAKE2b-256 84ce0911f55d5fcacd4b828fb6be4bb6c8263dba8ce427697c00ec3e8e89b92c

See more details on using hashes here.

File details

Details for the file dmpython_pure-1.0.1-cp38-none-any.whl.

File metadata

  • Download URL: dmpython_pure-1.0.1-cp38-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for dmpython_pure-1.0.1-cp38-none-any.whl
Algorithm Hash digest
SHA256 811a640fbbe02b5cac5681e763bcd7da0b1b495da759faae8756662814501a9f
MD5 72acf041d96c931a438073225ba2b8a5
BLAKE2b-256 b702301330b8f54815202a8b3f4143402361a68b7d4136c3aeb3a56ca403cb63

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.10

1 file

1.0.9

1 file

1.0.8

1 file

1.0.7

1 file

1.0.6

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

This release

1.0.1 This release

6 files

1.0.0

6 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page