Skip to main content

Structured Text Generation in Rust

Project description

Outlines-core Logo

Contributors

Structured generation (in Rust).

This package provides the core functionality for structured generation, formerly implemented in Outlines, with a focus on performance and portability.

Install

We provide bindings to the following languages:

The latest release of the Python bindings is available on PyPi using pip:

pip install outlines-core

The current development branch of outlines-core can be installed from GitHub, also using pip:

pip install git+https://github.com/outlines-dev/outlines-core

Or install in a rust project with cargo:

cargo add outlines-core

How to contribute?

Setup

First, fork the repository on GitHub and clone the fork locally:

git clone git@github.com/YourUserName/outlines-core.git
cd outlines-core

Create a new virtual environment:

python -m venv .venv
source .venv/bin/activate

Then install the dependencies in editable mode, and install the pre-commit hooks:

pip install -e ".[test]"
pre-commit install

Before pushing your code

Run the tests:

pytest

And run the code style checks:

pre-commit run --all-files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

outlines_core-0.1.14.tar.gz (59.5 kB view details)

Uploaded Source

Built Distributions

outlines_core-0.1.14-cp311-cp311-win_amd64.whl (224.6 kB view details)

Uploaded CPython 3.11 Windows x86-64

outlines_core-0.1.14-cp311-cp311-win32.whl (217.6 kB view details)

Uploaded CPython 3.11 Windows x86

outlines_core-0.1.14-cp311-cp311-musllinux_1_1_x86_64.whl (359.4 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

outlines_core-0.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (326.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

outlines_core-0.1.14-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (335.5 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

outlines_core-0.1.14-cp311-cp311-macosx_11_0_arm64.whl (288.7 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

outlines_core-0.1.14-cp311-cp311-macosx_10_9_x86_64.whl (307.5 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

outlines_core-0.1.14-cp310-cp310-win_amd64.whl (224.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

outlines_core-0.1.14-cp310-cp310-win32.whl (217.9 kB view details)

Uploaded CPython 3.10 Windows x86

outlines_core-0.1.14-cp310-cp310-musllinux_1_1_x86_64.whl (359.8 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

outlines_core-0.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (327.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

outlines_core-0.1.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (335.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

outlines_core-0.1.14-cp310-cp310-macosx_11_0_arm64.whl (288.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

outlines_core-0.1.14-cp310-cp310-macosx_10_9_x86_64.whl (307.7 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

outlines_core-0.1.14-cp39-cp39-win_amd64.whl (225.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

outlines_core-0.1.14-cp39-cp39-win32.whl (218.0 kB view details)

Uploaded CPython 3.9 Windows x86

outlines_core-0.1.14-cp39-cp39-musllinux_1_1_x86_64.whl (360.2 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

outlines_core-0.1.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (327.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

outlines_core-0.1.14-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (336.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

outlines_core-0.1.14-cp39-cp39-macosx_11_0_arm64.whl (289.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

outlines_core-0.1.14-cp39-cp39-macosx_10_9_x86_64.whl (308.1 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

outlines_core-0.1.14-cp38-cp38-win_amd64.whl (225.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

outlines_core-0.1.14-cp38-cp38-win32.whl (218.0 kB view details)

Uploaded CPython 3.8 Windows x86

outlines_core-0.1.14-cp38-cp38-musllinux_1_1_x86_64.whl (360.3 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

outlines_core-0.1.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (327.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

outlines_core-0.1.14-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (336.0 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

outlines_core-0.1.14-cp38-cp38-macosx_11_0_arm64.whl (289.2 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

outlines_core-0.1.14-cp38-cp38-macosx_10_9_x86_64.whl (308.0 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file outlines_core-0.1.14.tar.gz.

File metadata

  • Download URL: outlines_core-0.1.14.tar.gz
  • Upload date:
  • Size: 59.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for outlines_core-0.1.14.tar.gz
Algorithm Hash digest
SHA256 6db033e4f8e48381164e36cc716746640ad5022f0d86e4c88af15c75886b93a4
MD5 11851e15fa205a0635d01e1f78fa185d
BLAKE2b-256 d9db000a542c23acec1dafdba4460b17758c72033976069b004b1ba23af722f2

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eb6ffe410866f65dbe17e95b0aabd70d990f058a2dc4e8b74f9583b07248cd36
MD5 c171b45f32dd3040b93b89706a3de16a
BLAKE2b-256 89fffc37ace7aaa353702a3dbffb285125936e4eabf36d0d9d33ed53bedd2f69

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 1c77aaa4556cbb6e93cc42be0a6e262f175e0754b7694d702d642ff03df67f2c
MD5 706ff8b5b5d47351f6b2213a0f4309dd
BLAKE2b-256 0c7fdb16e88a5d800295eafd6eac77f9b660a99452a160bf1596ecd2fd18e1fe

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4a8c616ce103ef9102dbf4326f67b03e1e0f46aa19351e57f4beb37588c00428
MD5 11816637101b84431dedcb02fcee47c1
BLAKE2b-256 f47cab7e476866fef0a398e3175a1d5b9f8e1a7f43ac61780bc52b485b8ac1b0

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 622e547f11a869fc67be40abc4cbcda89ae6f46f9eb46a1ec0666bd6807e0c67
MD5 6381ecd09cb833511f97b254a272a1e0
BLAKE2b-256 648e96eb48010430416c23326df67ee21955f167db05a8dcfc9f8815a8ac851a

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 60c9933a9faaa51b39aea3518f1822b0d3ec2c9a13b16849caca3955e29e320d
MD5 f7f5af732854355fac0f5f34880deee8
BLAKE2b-256 5ef5e085650f515b00748d86db4d92fb4ebc189423f40627fcbeed5d081f1dac

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e273a100c922f794d8e077a8161d0985d3005887066b4af3ae7afd3742fe9b8
MD5 7a38dc9b026991752672994931f0c7fc
BLAKE2b-256 4ed91828ad32438aa8c4e37d76efdb09c863b0bad9ff6edbe05db00e957ba6c7

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 60f3a947fe09106f7668cf832c28b9269b8f0fc109f081608acfce9262213359
MD5 56aeb999b582cb4a5934c78d915dce81
BLAKE2b-256 0952339917c254d55270567b0e96bf58cb952bfc8b298b63a91729e20493e192

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 646fd1073feed393bc77f9605a2fa27a54551ab04f85867ce789af1dee6326fa
MD5 1c60785c882232cf809a5768aed87b45
BLAKE2b-256 e5df2f9c6512604ec26d37a7f2eb5b6cf56f35204fe157f9b0bbf45294fad691

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 6d41da3d8a087fd54133cf910c2d5759da55490bbd0e3bc6c1e7907b54248415
MD5 ad269b67cd2531bf7a3ac649f42ec0e7
BLAKE2b-256 b64dbfd384dbb1af1d07749e299c1e61f9e03c7d7c66d1884f0963b4c364e879

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e06cb724770fd0fe1c8444382c4a6e79901bba33720f70fe6c8437f58eceb92e
MD5 11742f2df628dc4779b36b59b7782a85
BLAKE2b-256 8657c24b07f45bfa32ad6422178ff8d3d1183aa2b8ac7ac344ba9f23132b43c7

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7dfe64b590a6a88dcc5e59f0a399fff0458cdcf97d68de07f08e1bd3bf8ac1d
MD5 7cf6b728929c15fd830f5a420b001494
BLAKE2b-256 342d98e8a5db9b4df45ba1fbe0842178e21090b07b33091c7b7b131f8082fd34

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 100de068ce52893bec316481e65db8f1c734a0f25f540c29dafd7a8afec0a29d
MD5 ea55ace00768eca3533385f99bec4c02
BLAKE2b-256 2323821ba92eb27bb69e6d8f17b007f735d57a17a6c6e877b2a8095538e4b764

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a50e2f6745e0c34cc857d1bd5590e2966ad06e8ce10802976e9e6c116c7533d
MD5 b22fa908ee4e1e1aa834f2a97f77a786
BLAKE2b-256 d2d8f89bd417ad641546c18156767ab0970757db170fe5982d7baa82ae1007d1

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 291c6d9d348cb5562cd28ce44d80822d77238f1cd7c30d890b5b20488e71608d
MD5 880cb3537c920bafe6fae651c206291a
BLAKE2b-256 ac50da558f29879abdaf549ed2c47d43879d02030c4ab7ce80a14ddc521577f3

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 45c6b9baded0337c4dcfa156af05ec4efd2b25c4d976e77be28146e4037b991f
MD5 2b1c2ee3afb98156ffc4dd8f0e07c343
BLAKE2b-256 36d83dcb4b0c8b1a55df21d19ba82b213b4cb6748c8b6f5034dc6e10c4db65fe

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 3104af4084da0e7c3d4b8538b43c725581d66bb68d426bc389680f06c3667476
MD5 ef4e72a72cb18be5accafb5d982a9d14
BLAKE2b-256 8c2fb88b67c8e3504cae9f4dbb70528877edd5ad92cb90928a0a389ba585714c

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0e6cd0e7d995a7b04d90139a695279ab4a9eb7f492618b2c037a85eaf5f9fc59
MD5 4d6350f6b31877d24ff94a161900d3db
BLAKE2b-256 41147a0d0b28ba6785e840d137d319159a3c5074d3be039ed1bb76b6a9050eaf

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fd8f1e1d91a206a520d1c577ce00136de2beb1d200ef93759fd4c9f45abe24d3
MD5 42c82aac5bae428c4616f7b30f39d123
BLAKE2b-256 c21fe9ee757a63c451c1d5264f376e3b42d1aa03bd63bff1f8798135b8b7ee04

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f30c8acb42895b624c504b85678331c5f9376fa4b8069ce06a27cf80f5881e27
MD5 4c2edd16047d0ca524e3d7a1cade811b
BLAKE2b-256 30f037e651c11ac2cc5dba3e1f5b3879bcce59db4c2a54f61613cbc7d62c2ddc

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27504c8360467429d6223ebc49180d6956d7418bfc3d324f6ad10f069e1813ad
MD5 6366b74ef7df4273a64288e5f564ac30
BLAKE2b-256 c5b99f0015a3dc67efe3043f58cf8d3eefc0353fc873069cf60cdc7eb67de139

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b745aa469cf3fb347b79a257804d75d1324e01691158664c1e413a816ce6b98d
MD5 eb567cc0c7c28808fa20cefa063ec92b
BLAKE2b-256 580b929ddb0529166a1a30fb4c283055f43fc2759eca32c2d3c36ccfad456d01

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6668a930d928216d0b319ad84947903f1e27556f604a9743051f795b11008b64
MD5 3dd5f45b4e79efe46575d002bd7c540f
BLAKE2b-256 09566829ef3d9da783232b5cde9c71da3785e1c7c13183496002a8e0e7fdab0e

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 4c9d908004b31bcd432156d60f4895bf5e1b51ca8c8eed82b12f1bb57d5bf7fd
MD5 0fc37365240ac8a03aed4228584aea6d
BLAKE2b-256 35ea026716d79aedc338fd826e828364c366dc17eeb9e6d0839d9af5068bf77e

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b897cfbf9c2719aa011d9b439b4c6751d9c7df5683b2169617972d4b4a914403
MD5 e191ed9ae1e6bd8726bdf713d5c1f07e
BLAKE2b-256 8e3a586e1d298ea755538cdc40b42db43fe0f84d4128b86376d7d90b075d8d4f

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5829c568db76673d36caaf0f86e96748b491b4a209deb9be87617372394a5fb9
MD5 fcf479b1bdf5ee5e9ebbc75848153341
BLAKE2b-256 262cea19539bc252ffa0ed328c01f2d60a8e59aaf26b45717368ddfbb2ca0697

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7e855ec99bce1099c0755bcbfa44568adf7ae0083905ba04f58a17614ddf0fe7
MD5 d621ca0455ac5179c4d56d0f2a4ec415
BLAKE2b-256 b5c5e044d3275db7957c8605f88b6804f5a62cf60f979024a7d779a8a60ea845

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21d1393a6da5d3320e8c8247e9deeb851c5c862fd6ea5c779bd29797e8987155
MD5 2476b2bb56e451770e27b9d40659a312
BLAKE2b-256 e54b870966892e7d1a005c96d2b5262d1d22d8b777f795c1b4b525880ec939cc

See more details on using hashes here.

File details

Details for the file outlines_core-0.1.14-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for outlines_core-0.1.14-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b0e408b033618f23e9bb928a47b33b1bd4c9d04a3dbec680a20977de3b4f590d
MD5 6707009d36d93deabb7f6f131850be07
BLAKE2b-256 ece9a7d249e054bfaff3c22633d2d196ecef77c0a5ed41f6ab121015d8b37a13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page