cyseq
"A Cython version of ScanCode-toolkit's licensedcode.seq"
Decision gist · record as of 2026-08-14
Yes, if you need the specific sequence operations cyseq provides and performance is a concern. The package is actively maintained, carries a permissive license, has no external dependencies, and offers pre-built wheels for common environments. However, verify that its API matches your use case and that the performance gain justifies the compiled-dependency overhead for your workload.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Pre-built wheels are available for common platforms (macOS, Linux, Windows) and architectures (x86_64, aarch64).
- Medium install friction due to compiled wheels for multiple Python versions and platforms.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 is permissive and imposes minimal restrictions on use, modification, and distribution. You may use this in commercial or proprietary projects with only attribution requirements.
last release 2026-04-27 (109 days) · last repo commit 2026-04-27 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,513 downloads/mo, #14,221 on PyPI
Alternatives
Verify before relying
pip install cyseq
import cyseq
# Use sequence matching operations from the module- What specific sequence operations or APIs does cyseq expose beyond the original ScanCode implementation?
- Performance improvement magnitude compared to the pure-Python ScanCode version.
- Whether this is intended as a drop-in replacement or requires API changes in calling code.
What it is and what it does
cyseq is a Cython-compiled library that accelerates sequence matching and comparison operations originally developed as part of ScanCode-toolkit's license detection engine. It takes computationally intensive sequence algorithms and compiles them to C for faster execution, making it suitable for applications that perform repeated or large-scale text comparison tasks.
The package targets developers working with license detection, text similarity analysis, or other sequence-based matching problems where the pure-Python implementation would be a bottleneck. It has no runtime dependencies beyond Python itself and is distributed as pre-built wheels for Python 3.10+ across major platforms, reducing installation complexity.
Use it for
- Accelerating license text matching in software composition analysis or compliance tools.
- Speeding up sequence comparison operations in large-scale text processing pipelines.
- Replacing the pure-Python ScanCode licensedcode.seq module in performance-sensitive applications.
- Embedding optimized sequence matching in tools that analyze code or document similarity at scale.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need the specific sequence operations cyseq provides and performance is a concern.
The package is actively maintained, carries a permissive license, has no external dependencies, and offers pre-built wheels for common environments. However, verify that its API matches your use case and that the performance gain justifies the compiled-dependency overhead for your workload.
Install
cyseq on PyPI
Before you install
Medium install friction due to compiled wheels for multiple Python versions and platforms. The package is actively maintained with recent commits and carries a permissive Apache-2.0 license, though it is early in its release history (first released 2025-07-31).
Requires Python 3.10 or later. Pre-built wheels are available for common platforms (macOS, Linux, Windows) and architectures (x86_64, aarch64).
License in practice
Apache-2.0 is permissive and imposes minimal restrictions on use, modification, and distribution. You may use this in commercial or proprietary projects with only attribution requirements.
Quickstart
pip install cyseq
import cyseq
# Use sequence matching operations from the module
Verify before relying
- What specific sequence operations or APIs does cyseq expose beyond the original ScanCode implementation?
- Performance improvement magnitude compared to the pure-Python ScanCode version.
- Whether this is intended as a drop-in replacement or requires API changes in calling code.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 109 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,513 / month, #14,221 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software DevelopmentTopic :: Utilities |
Evidence: cyseq-0.1.3-cp310-cp310-macosx_10_9_universal2.whl; cyseq-0.1.3-cp310-cp310-macosx_11_0_arm64.whl; cyseq-0.1.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; cyseq-0.1.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; cyseq-0.1.3-cp310-cp310-musllinux_1_2_aarch64.whl; cyseq-0.1.3-cp310-cp310-musllinux_1_2_x86_64.whl; cyseq-0.1.3-cp310-cp310-win_amd64.whl; cyseq-0.1.3-cp311-cp311-macosx_10_9_universal2.whl; cyseq-0.1.3-cp311-cp311-macosx_11_0_arm64.whl; cyseq-0.1.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; cyseq-0.1.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; cyseq-0.1.3-cp311-cp311-musllinux_1_2_aarch64.whl; cyseq-0.1.3-cp311-cp311-musllinux_1_2_x86_64.whl; cyseq-0.1.3-cp311-cp311-win_amd64.whl; cyseq-0.1.3-cp312-cp312-macosx_10_13_universal2.whl; cyseq-0.1.3-cp312-cp312-macosx_11_0_arm64.whl; cyseq-0.1.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; cyseq-0.1.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; cyseq-0.1.3-cp312-cp312-musllinux_1_2_aarch64.whl; cyseq-0.1.3-cp312-cp312-musllinux_1_2_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cython sequence matching”
- cyseqcyseq provides a Cython-optimized implementation of sequence matching…
- editdistanceComputes the edit distance (Levenshtein distance) between two…
- fuzzysearchFinds approximate substring matches in text or data with configurable…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also scancode-toolkit · pyxDamerauLevenshtein · monotonic-alignment-search · Distance · cydifflib · pylcs · cyscale · editdistance · scanoss · cyvcf2