Name | spacy-legacy JSON |
Version |
3.0.12
JSON |
| download |
home_page | https://spacy.io |
Summary | Legacy registered functions for spaCy backwards compatibility |
upload_time | 2023-01-23 09:04:15 |
maintainer | |
docs_url | None |
author | Explosion |
requires_python | >=3.6 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<a href="https://explosion.ai"><img src="https://explosion.ai/assets/img/logo.svg" width="125" height="125" align="right" /></a>
# spacy-legacy: Legacy functions and architectures for backwards compatibility
This package includes outdated registered functions for [spaCy](https://spacy.io) 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](https://img.shields.io/azure-devops/build/explosion-ai/public/21/master.svg?logo=azure-pipelines&style=flat-square&label=build)](https://dev.azure.com/explosion-ai/public/_build?definitionId=21)
[![pypi Version](https://img.shields.io/pypi/v/spacy-legacy.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/spacy-legacy/)
## How it works
Whenever a new backwards-incompatible version of a registered function is available, e.g. `spacy.Tok2Vec.v1` → `spacy.Tok2Vec.v2`, the legacy version is moved to `spacy-legacy`, and exposed via [entry points](setup.cfg). 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.
Raw data
{
"_id": null,
"home_page": "https://spacy.io",
"name": "spacy-legacy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Explosion",
"author_email": "contact@explosion.ai",
"download_url": "https://files.pythonhosted.org/packages/d9/79/91f9d7cc8db5642acad830dcc4b49ba65a7790152832c4eceb305e46d681/spacy-legacy-3.0.12.tar.gz",
"platform": null,
"description": "<a href=\"https://explosion.ai\"><img src=\"https://explosion.ai/assets/img/logo.svg\" width=\"125\" height=\"125\" align=\"right\" /></a>\n\n# spacy-legacy: Legacy functions and architectures for backwards compatibility\n\nThis package includes outdated registered functions for [spaCy](https://spacy.io) 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.\n\n[![Azure Pipelines](https://img.shields.io/azure-devops/build/explosion-ai/public/21/master.svg?logo=azure-pipelines&style=flat-square&label=build)](https://dev.azure.com/explosion-ai/public/_build?definitionId=21)\n[![pypi Version](https://img.shields.io/pypi/v/spacy-legacy.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/spacy-legacy/)\n\n\n## How it works\n\nWhenever a new backwards-incompatible version of a registered function is available, e.g. `spacy.Tok2Vec.v1` → `spacy.Tok2Vec.v2`, the legacy version is moved to `spacy-legacy`, and exposed via [entry points](setup.cfg). This means that it will still be available if your config files use it, even though the core library only includes the latest version.\n\nLegacy 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.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Legacy registered functions for spaCy backwards compatibility",
"version": "3.0.12",
"project_urls": {
"Homepage": "https://spacy.io"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c35512e842c70ff8828e34e543a2c7176dac4da006ca6901c9e8b43efab8bc6b",
"md5": "ce0d9956e650cc694b7321ca3a109564",
"sha256": "476e3bd0d05f8c339ed60f40986c07387c0a71479245d6d0f4298dbd52cda55f"
},
"downloads": -1,
"filename": "spacy_legacy-3.0.12-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "ce0d9956e650cc694b7321ca3a109564",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 29971,
"upload_time": "2023-01-23T09:04:13",
"upload_time_iso_8601": "2023-01-23T09:04:13.450872Z",
"url": "https://files.pythonhosted.org/packages/c3/55/12e842c70ff8828e34e543a2c7176dac4da006ca6901c9e8b43efab8bc6b/spacy_legacy-3.0.12-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d97991f9d7cc8db5642acad830dcc4b49ba65a7790152832c4eceb305e46d681",
"md5": "53a509a9313c9828014740afccfd8e4a",
"sha256": "b37d6e0c9b6e1d7ca1cf5bc7152ab64a4c4671f59c85adaf7a3fcb870357a774"
},
"downloads": -1,
"filename": "spacy-legacy-3.0.12.tar.gz",
"has_sig": false,
"md5_digest": "53a509a9313c9828014740afccfd8e4a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 23806,
"upload_time": "2023-01-23T09:04:15",
"upload_time_iso_8601": "2023-01-23T09:04:15.104023Z",
"url": "https://files.pythonhosted.org/packages/d9/79/91f9d7cc8db5642acad830dcc4b49ba65a7790152832c4eceb305e46d681/spacy-legacy-3.0.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-23 09:04:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "spacy-legacy"
}