Skip to main content

Legacy registered functions for spaCy backwards compatibility

Project description

spacy-legacy: Legacy functions and architectures for backwards compatibility

This package includes outdated registered functions for spaCy v3.x, for example model architectures, pipeline components and utilities. It's installed automatically as a dependency of spaCy, and allows us to provide backwards compatibility, while keeping the core library tidy and up to date. All of this happens under the hood, so you typically shouldn't have to care about this package.

Azure Pipelines pypi Version

How it works

Whenever a new backwards-incompatible version of a registered function is available, e.g. spacy.Tok2Vec.v1spacy.Tok2Vec.v2, the legacy version is moved to spacy-legacy, and exposed via entry points. This means that it will still be available if your config files use it, even though the core library only includes the latest version.

Legacy functions are exposed with the prefix spacy-legacy, e.g. spacy-legacy.Tok2Vec.v1. When spaCy resolves your config and a function is not available in the core library, e.g. spacy.Tok2Vec.v1, it will check if there's a legacy function available and fall back to that. You can also explicitly refer to legacy functions in your config, to indicate that a newer version is available.

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

spacy-legacy-3.0.7.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spacy_legacy-3.0.7-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file spacy-legacy-3.0.7.tar.gz.

File metadata

  • Download URL: spacy-legacy-3.0.7.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9

File hashes

Hashes for spacy-legacy-3.0.7.tar.gz
Algorithm Hash digest
SHA256 c46a23d8eb8b8e95a3fd087cce6fb91d090f5c6bd2710159035f08a1fdd982e4
MD5 c16da16e38131f2f467ee09be45e0368
BLAKE2b-256 0af1d9dafc19819a42b05042668851c20dbb0dace3f0c107006058c06f3552af

See more details on using hashes here.

File details

Details for the file spacy_legacy-3.0.7-py2.py3-none-any.whl.

File metadata

  • Download URL: spacy_legacy-3.0.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9

File hashes

Hashes for spacy_legacy-3.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e53fea9f11a67c1b6484062bef1a11484871de3132ffc77206f5e3e5ca9c92f4
MD5 b3d3c984c865b9c490908dcba80130b4
BLAKE2b-256 0dbbabde8f73a4a8652b80944fae0838adb967e5c47e70f9f3f5cdc56422df39

See more details on using hashes here.

Supported by

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