Skip to main content

🐍 snakefusion

Documentation Status pypi Version

Introduction

snakefusion is a Python package for reading, writing, and using finalfusion, fastText, floret, GloVe, and word2vec embeddings. This package is a thin wrapper around the Rust finalfusion crate.

snakefusion supports the same types of embeddings as finalfusion:

  • Vocabulary:
    • No subwords
    • Subwords
  • Embedding matrix:
    • Array
    • Memory-mapped
    • Quantized
  • Format:
    • fastText
    • finalfusion
    • floret
    • GloVe
    • word2vec

Building from source

Building snakefusion from source requires a Rust toolchain that is installed through rustup and setuptools-rust:

$ pip install --upgrade setuptools-rust

You can then build and install snakefusion in your environment:

$ pip install .

Documentation

Read the snakefusion documentation for a quickstart and API reference.

You use finalfrontier to train new embeddings, or download some pretrained embeddings.

Metadata

Release files for snakefusion 0.1.6

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

Source distribution (sdist)

Source distribution for snakefusion 0.1.6
File Size Uploaded Provenance Actions
snakefusion-0.1.6.tar.gz 86.5 kB Without provenance Details for snakefusion-0.1.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for snakefusion 0.1.6
File Interpreter ABI Platform Actions
snakefusion-0.1.6-cp36-abi3-win_amd64.whl CPython 3.6 abi3 Windows x86-64 Details for snakefusion-0.1.6-cp36-abi3-win_amd64.whl
snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.6 abi3 Linux glibc 2.17+ x86-64 Details for snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.6 abi3 macOS 10.9+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.9+ x86-64 Details for snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Total release size: 7.7 MB

Release files / snakefusion-0.1.6.tar.gz

Download URL snakefusion-0.1.6.tar.gz
Size 86.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f49f4d022208d0e4c247db90d475f3c8727241ae2fd272074cb0a41e03aa5550
BLAKE2b-256 checksum
How to use checksums
b3f7ad3305355a2a55ccc4ab33ac334f55ed5e20b0d3dc2c2a0aa7ed74cc9813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / snakefusion-0.1.6-cp36-abi3-win_amd64.whl

Download URL snakefusion-0.1.6-cp36-abi3-win_amd64.whl
Size 657.9 kB
Tags CPython 3.6 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b030808601cb11aa3226f797274065b6b5a3fa8486cb8715940169e32026f3e2
BLAKE2b-256 checksum
How to use checksums
41e271bd8f2fafe7e6efee62cd0065df084d9d6ad6f40bab7471ad18226e916a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.4 MB
Tags CPython 3.6 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2173b14f38918c50b7cb6db52632f3ede066ab3e972b074ac56cc37df7591f73
BLAKE2b-256 checksum
How to use checksums
fd629187cf9c85ab845e07e0394cc42313a5ed780b8a0e53abc9b6a040522933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 1.5 MB
Tags CPython 3.6 abi3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
77e7287f5b52309e93285116e2ebfb68f6b5b585846986b8aa05560fa474a539
BLAKE2b-256 checksum
How to use checksums
d8ff526df7011a56420c2f39c251ef845732808eed9649aab276c87366166505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for snakefusion 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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