-
python3-ydb-dbapi-0.1.11-1.lbn36.noarch
YDB Python DBAPI
Introduction
Python DBAPI to YDB, which provides both sync and async drivers and complies with PEP249.
Installation
pip install ydb-dbapi
Usage
To establish a new DBAPI connection you should provide host, port and database:
import ydb_dbapi
connection = ydb_dbapi.connect(
host="localhost", port="2136", database="/local"
) # sync connection
async_connection = await ydb_dbapi.async_connect(
host="localhost", port="2136", database="/local"
) # async connection
Usage of connection:
with connection.cursor() as cursor:
cursor.execute("SELECT id, val FROM table")
row = cursor.fetchone()
rows = cursor.fetchmany(size=5)
rows = cursor.fetchall()
Usage of async connection:
async with async_connection.cursor() as cursor:
await cursor.execute("SELECT id, val FROM table")
row = await cursor.fetchone()
rows = await cursor.fetchmany(size=5)
rows = await cursor.fetchall()
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-yui-4.2.16-3.fc36.x86_64
This package provides Python 3 language bindings to access functions of libyui,
the YaST User Interface engine that provides the abstraction from graphical
user interfaces (Qt, Gtk) and text based user interfaces (ncurses).
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-z3c-autoinclude-0.4.1-1.lbn36.noarch
This package adds two new ZCML directives to automatically detect ZCML files to
include: "includeDependencies" and "includePlugins".When you want to include a
Zope-based package in your application, you have to repeat yourself in two
places: you have to add the package itself (in a setup.py, buildout, etc) and
you also have to include its ZCML with an <include> directive or a package-
includes...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36
-
python3-z3c-autoinclude-0.4.1-1.lbn36.noarch
This package adds two new ZCML directives to automatically detect ZCML files to
include: "includeDependencies" and "includePlugins".When you want to include a
Zope-based package in your application, you have to repeat yourself in two
places: you have to add the package itself (in a setup.py, buildout, etc) and
you also have to include its ZCML with an <include> directive or a package-
includes...
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-z3c-batching-2.2-1.lbn36.noarch
This package provides simple sequence batching. Detailed Documentation ..
contents::Simple Batching This module implements a simple batching mechanism
that allows you to split a large sequence into smaller batches. Let's start by
creating a simple list, which will be our full sequence:Batch on empty root:
>>> from z3c.batching.batch import Batch >>> batch Batch([], size3) >>>
len(batch) >>>...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36
-
python3-z3c-batching-2.2-1.lbn36.noarch
This package provides simple sequence batching. Detailed Documentation ..
contents::Simple Batching This module implements a simple batching mechanism
that allows you to split a large sequence into smaller batches. Let's start by
creating a simple list, which will be our full sequence:Batch on empty root:
>>> from z3c.batching.batch import Batch >>> batch Batch([], size3) >>>
len(batch) >>>...
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-z3c-blobfile-0.1.5-1.lbn36.noarch
Blob File This package provides an implementation of
zope.app.file.interfaces.IFile which uses the Blob support introduced in ZODB
3.8. It's main purpose is to provide an easy migration path for existing
instances. For more advanced file implementations see zope.file and
z3c.extfile. The standard implementation in zope.app.file uses chunk objects to
break big files into manageable parts. These...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36
-
python3-z3c-blobfile-0.1.5-1.lbn36.noarch
Blob File This package provides an implementation of
zope.app.file.interfaces.IFile which uses the Blob support introduced in ZODB
3.8. It's main purpose is to provide an easy migration path for existing
instances. For more advanced file implementations see zope.file and
z3c.extfile. The standard implementation in zope.app.file uses chunk objects to
break big files into manageable parts. These...
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-z3c-caching+zcml-4.0-1.lbn36.noarch
This is a metapackage bringing in zcml extras requires for python3-z3c-caching.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-z3c-caching-2.2-1.lbn36.noarch
Introduction Caching of web pages is a complicated process: there are many
possible policies to choose from, and the right policy can depend on factors
such as who is making the request, the URL is being retrieved and resource
negotiation settings such as accepted languages and encodings,Hardcoding
caching logic in an application is not desirable, especially for reusable code.
It is also not...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36