Skip to content

Latest commit

 

History

History

duckdb_extension_inet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

🦆DuckDB inet extension as python package

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install duckdb-extensions duckdb-extension-inet

You are ready to install the extension for duckdb.

from duckdb_extensions import extension_importer
extension_importer.import_extension("inet")

Verify that the extension is installed.

import duckdb

print(
    duckdb.sql("""SELECT installed
                FROM duckdb_extensions() where 
                extension_name='inet' or 
                list_contains(aliases, 'inet')""")
    .fetchone()[0]
)

License

duckdb-extension-inet is distributed under the terms of the MIT license.