![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Superduper ibis is a plugin for ibis-framework that allows you to use Superduper as a backend for your ibis queries.
Superduper ibis is a plugin for ibis-framework that allows you to use Superduper as a backend for your ibis queries.
This plugin cannot be used independently; it must be used together with superduper_ibis
.
Superduper supports SQL databases via the ibis project. With superduper, queries may be built which conform to the ibis API, with additional support for complex data-types and vector-searches.
pip install superduper_ibis
Class | Description |
---|---|
superduper_ibis.data_backend.IbisDataBackend | Ibis data backend for the database. |
superduper_ibis.query.IbisQuery | A query that can be executed on an Ibis database. |
superduper_ibis.db_helper.DBHelper | Generic helper class for database. |
superduper_ibis.db_helper.ClickHouseHelper | Helper class for ClickHouse database. |
superduper_ibis.field_types.FieldType | Field type to represent the type of a field in a table. |
from superduper import superduper
db = superduper('mysql://<mysql-uri>')
from superduper import superduper
db = superduper('postgres://<postgres-uri>')
from superduper import superduper
db = superduper('<database-uri>')
Table data must correspond to the Schema
for that table.
Either create a Schema
and Table
or use an auto-detected Schema
. Once you've
got a Schema
, all data inserted must conform to that Schema
:
import pandas
pandas.DataFrame([
PIL.Image.open('image.jpg'), 'some text', 4,
PIL.Image.open('other_image.jpg'), 'some other text', 3,
])
t.insert(dataframe.to_dict(orient='records'))
superduper
supports selecting data via the ibis
query API.
For example:
db['my_table'].filter(t.rating > 3).limit(5).select(t.image).execute()
Vector-searches are supported via the like
operator:
(
db['my_table']
.like({'text': 'something like this'}, vector_index='my-index')
.filter(t.rating > 3)
.limit(5)
.select(t.image, t.id)
).execute()
Vector-searches are either first or last in a chain of operations:
(
db['my_table']
t.filter(t.rating > 3)
.limit(5)
.select(t.image, t.id)
.like({'text': 'something like this'}, vector_index='my-index')
).execute()
Updates are not covered for superduper
SQL integrations.
db.databackend.drop_table('my-table')
FAQs
Superduper ibis is a plugin for ibis-framework that allows you to use Superduper as a backend for your ibis queries.
We found that superduper-ibis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.