Skip to main content

py-vowpal-wabbit-next

PyPI version Documentation Status

These are a new set of bindings for VowpalWabbit. Parity with the existing bindings is not a goal of this project as it is an opportunity for a clean slate and opportunity to rethink old decisions. The interfaces here are all subject to change so be prepared for things to change if you use this library.

Installation

pip install vowpal-wabbit-next

Example

import vowpal_wabbit_next as vw
import io

cb_input = io.StringIO(
    """shared | s
0:1:0.5 | a=0
| a=1

shared | s
| a=0
1:0:0.5 | a=1"""
)

workspace = vw.Workspace(["--cb_explore_adf"])

with vw.TextFormatReader(workspace, cb_input) as reader:
    for event in reader:
        print(workspace.predict_then_learn_one(event))

Goals

  • Fully typed and documented
  • All artifacts automatically build in CI
  • Focus on library usage instead of CLI behavior

Supported platforms

Wheels are provided for the following platforms:

  • OS+arch: Windows x86_x64, MacOS x86_x64, MacOS arm64, Linux x86_x64
  • Python: 3.7 (except MacOS), 3.8, 3.9, 3.10, 3.11

Development information

Local debug if using vcpkg deps

# Build
export CMAKE_TOOLCHAIN_FILE=$(pwd)/ext_libs/vcpkg/scripts/buildsystems/vcpkg.cmake
pip install -v .

# Install dev dependncies
pip install -r requirements-dev.txt

# Test
pytest

# Type check
mypy

# Format
black src tests

# Check documentation
pydocstyle src

Update pybind11 module type stub

After updating the native module the type stub must be updated. This can be done automatically like so (ideally automatically in future, or at least checked if it is stale):

./generate_types.sh

Metadata

Release files for vowpal-wabbit-next 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vowpal-wabbit-next 0.7.0
File Size Uploaded
vowpal-wabbit-next-0.7.0.tar.gz 3.3 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for vowpal-wabbit-next 0.7.0
File
vowpal_wabbit_next-0.7.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
vowpal_wabbit_next-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
vowpal_wabbit_next-0.7.0-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details
vowpal_wabbit_next-0.7.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
vowpal_wabbit_next-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
vowpal_wabbit_next-0.7.0-cp311-cp311-macosx_10_13_universal2.whl CPython 3.11 CPython 3.11 macOS 10.13+ universal2 (ARM64, x86-64) Details
vowpal_wabbit_next-0.7.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
vowpal_wabbit_next-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
vowpal_wabbit_next-0.7.0-cp310-cp310-macosx_10_13_universal2.whl CPython 3.10 CPython 3.10 macOS 10.13+ universal2 (ARM64, x86-64) Details
vowpal_wabbit_next-0.7.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
vowpal_wabbit_next-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
vowpal_wabbit_next-0.7.0-cp39-cp39-macosx_10_13_universal2.whl CPython 3.9 CPython 3.9 macOS 10.13+ universal2 (ARM64, x86-64) Details
vowpal_wabbit_next-0.7.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
vowpal_wabbit_next-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
vowpal_wabbit_next-0.7.0-cp38-cp38-macosx_10_13_universal2.whl CPython 3.8 CPython 3.8 macOS 10.13+ universal2 (ARM64, x86-64) Details
vowpal_wabbit_next-0.7.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
vowpal_wabbit_next-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 59.8 MB

Release files / vowpal-wabbit-next-0.7.0.tar.gz

Download URL vowpal-wabbit-next-0.7.0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
44903eb4bb9cb07744ab08f7e8491457d3bb1c606c23f7ed41898ba74c4c6c31
BLAKE2b-256 checksum
How to use checksums
3dfdba279c245774fe90e477ac9615f88c877b954aa10b59952c03afd2c5ec7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp312-cp312-win_amd64.whl

Download URL vowpal_wabbit_next-0.7.0-cp312-cp312-win_amd64.whl
Size 2.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0c1f7dd6827ca72c950896d4e6d9ba4e7091a504a33dd907a6f901330638e3d9
BLAKE2b-256 checksum
How to use checksums
b1a4a9014a71d35bcce61a66b9542ed32091e5745c8393d0150bd45c2084c776
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL vowpal_wabbit_next-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c66e3ed74426450df0b5a75f49d57c8dbc8eb8878f98a18b9c1f91d470e5759f
BLAKE2b-256 checksum
How to use checksums
505341318e07a6b13208afd492914ec31b1f4375244001213d839af215f75c3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp312-cp312-macosx_10_13_universal2.whl

Download URL vowpal_wabbit_next-0.7.0-cp312-cp312-macosx_10_13_universal2.whl
Size 4.9 MB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
4686738e00de03b8a193211cab0c47480b4796067b4b070ba6eddc2a1e475074
BLAKE2b-256 checksum
How to use checksums
b93ef697abd5f0342057926d388b9f54ee98bb7ca2a2c8c948ca51647f091cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp311-cp311-win_amd64.whl

Download URL vowpal_wabbit_next-0.7.0-cp311-cp311-win_amd64.whl
Size 2.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
29666839fb9ce19f5343a96bdef6ce831ad2ce585b56fa8f5ffbf53aa45626f9
BLAKE2b-256 checksum
How to use checksums
dcda63df541b68715e8e2af50e60e447ad11e74e43061d0f9adf3f1a4c5354fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL vowpal_wabbit_next-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
397bf7392220842ec1e790e423362480bd1241b78fb780260bab5db41016d7ce
BLAKE2b-256 checksum
How to use checksums
5f4321b83e85ddd5600435c2795b19f83e973e9b2fc026d80d5950d4b427ea18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp311-cp311-macosx_10_13_universal2.whl

Download URL vowpal_wabbit_next-0.7.0-cp311-cp311-macosx_10_13_universal2.whl
Size 4.9 MB
Tags CPython 3.11 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
5951dd7a796ab4ddd72272396282d3c74438bace72af9d0967416e1c01b8d349
BLAKE2b-256 checksum
How to use checksums
47f3f5af67dd69878b80edf3f98e5a6f747857dd41d17d8a824f68c36b42fd6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp310-cp310-win_amd64.whl

Download URL vowpal_wabbit_next-0.7.0-cp310-cp310-win_amd64.whl
Size 2.1 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
07ea487e2405a35ffd14ae09ed9ea484c5f3fac6b51605eb4a6e7fb3eb9b4650
BLAKE2b-256 checksum
How to use checksums
f5a53f5929766a0829b8346ae8b9ab2b77c730ba6cee485516a9c58cf8de8f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL vowpal_wabbit_next-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b7c500a7f5cf31c07d9974085bee3baf8969ff39786829f02288f32911543020
BLAKE2b-256 checksum
How to use checksums
30cc89808b38d41f1b4a2d4d8efe5bc81cd174ed4aad931ea291cc20f6887469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp310-cp310-macosx_10_13_universal2.whl

Download URL vowpal_wabbit_next-0.7.0-cp310-cp310-macosx_10_13_universal2.whl
Size 4.9 MB
Tags CPython 3.10 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
d4651989488ad8e3442dcb840eccde234255931c2ca17c0f64077d864f3e379f
BLAKE2b-256 checksum
How to use checksums
b6944d99406cb271643e846e45ebbf9794657f45ed40896c51944e9f96d6b3c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp39-cp39-win_amd64.whl

Download URL vowpal_wabbit_next-0.7.0-cp39-cp39-win_amd64.whl
Size 2.1 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
1c1840f371d9f07df011ab37ae0b912a235b3cfa118fe58f28dfd431872b2611
BLAKE2b-256 checksum
How to use checksums
23a484ddcca0dac665294df08c2f6a6dace512cf4651edba5378a1887d49829e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL vowpal_wabbit_next-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1666a96a19a8e39514b784813a2cefc95ed53241a7d13fc6332b02458852c43e
BLAKE2b-256 checksum
How to use checksums
86b6dfdfd5c559c29c6fb7fe5ba0df88e14b276a4e8f379e768877981a31d291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp39-cp39-macosx_10_13_universal2.whl

Download URL vowpal_wabbit_next-0.7.0-cp39-cp39-macosx_10_13_universal2.whl
Size 4.9 MB
Tags CPython 3.9 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
95dc91209e692eadbb56bce3108aca38e0e053ac25e30054ef99fdfd86f110dd
BLAKE2b-256 checksum
How to use checksums
13313716eca0adcc6880f84ce9dc5280f492885401a78bf17a1e01bca37d962c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp38-cp38-win_amd64.whl

Download URL vowpal_wabbit_next-0.7.0-cp38-cp38-win_amd64.whl
Size 2.1 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
6bac53807c7453bb89bc843b9a40f300738f3c3a3a8160471fa005a9ae8a4d88
BLAKE2b-256 checksum
How to use checksums
21cb1d4e7e5a71443cbae83077fc02752bf0be36ddb5ceef1e5736b5ce89b32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL vowpal_wabbit_next-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
858a54d5d498f1718516c837f5a2fd047200747a057a2a3040a35e770cf98bd7
BLAKE2b-256 checksum
How to use checksums
e052fd03c484f5e56e7932af0b49759f5e284b8a3d8c5bb4c6f033c4ce1b46dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp38-cp38-macosx_10_13_universal2.whl

Download URL vowpal_wabbit_next-0.7.0-cp38-cp38-macosx_10_13_universal2.whl
Size 4.9 MB
Tags CPython 3.8 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
f193306c2074ce70755d1822b4cefc47b16dd06b428de87ebccc6eaae6c4a246
BLAKE2b-256 checksum
How to use checksums
9785b3bdba1262a7664fc270c363481033b5e2f6687dd9d8926e8b822f90cea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp37-cp37m-win_amd64.whl

Download URL vowpal_wabbit_next-0.7.0-cp37-cp37m-win_amd64.whl
Size 2.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
da2f9116ebea3914d9fc0f6181608190f3c65a21a8227026d18e3eaea6d397c3
BLAKE2b-256 checksum
How to use checksums
89536e5b5fbea27720098b9b4e74393f5d91dfc5814a795fb3826d0b15056afe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / vowpal_wabbit_next-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL vowpal_wabbit_next-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
00f4b0bee49d27a8a8a0818ec6a598bf3d7729d6edf0031b3e7a8609144a8e80
BLAKE2b-256 checksum
How to use checksums
cf06b8e350850046894bfc2375ea3332cca6a9c964f8366dda3d9c2c0bd07c32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.7.0 This release

18 release files

0.6.0

15 release files

0.5.0

15 release files

0.4.0

15 release files

0.3.0

15 release 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