A Python wrapper around Lark bitable to sql.
Project description
pybitable
from pybitable import Connection, ConnectionPool
db_url = 'bitable+pybitable://<app_id>:<app_secret>@open.feishu.cn/<app_token>'
conn_pool = ConnectionPool(
maxsize=10,
connection_factory=lambda: Connection(db_url),
)
with conn_pool.connect() as connection:
print('connect', connection)
cursor = connection.cursor()
result = cursor.execute('select * from tbl2w2QJgo6YCthm')
cursor.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybitable-0.0.1.tar.gz
(6.3 kB
view details)
File details
Details for the file pybitable-0.0.1.tar.gz
.
File metadata
- Download URL: pybitable-0.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3a88c9452b0f93cfea98347c77f3663f6b560f8e7cd37caa9802449609a513 |
|
MD5 | 4f4aeb803662c90cb89e1f44a69759a8 |
|
BLAKE2b-256 | 1b474c494c38053f91191dfbc541cebb264495db62f414d3360bdddc8c40f3ef |