semvec/pypi-packages huggingface dataset:
spacy-download 1.1.0
Download and load spaCy models on-the-fly.
License: MIT
Requires Python: >=3.6
Keywords: nlp spacy spacy-extension

# Download and load spaCy models on-the-fly

A tiny drop-in replacement for `spacy.load()` that automatically downloads a model when it is not currently installed.

```shell
pip install spacy_download
```

Usage is identical to [`spacy.load()`](https://spacy.io/api/top-level/#spacy.load), meaning that you can also exclude
or disable pipeline components. Example:

```python
from spacy_download import load_spacy

# Will download the model if it isn't installed yet
nlp = load_spacy("en_core_web_sm", exclude=["parser", "tagger"])  
```

Under the hood, the package makes use of spaCy's capability to import models as modules, rather than using spaCy's
built-in loader. This allows us to first download a model with `pip` and then load it as a module.

**Note**: if you are using transformer models, you still need to install `spacy-transformers` yourself!

**WARNING**: loading models on the fly can be useful, but it is
[not an officially supported feature](https://github.com/explosion/spaCy/discussions/10608). It should work fine with
the official models at the time of writing, but I cannot guarantee that this will always be the case.
Use at your own risk.
cwl-testrunner 0.0.1
Add a short description here!
License: MIT

.. These are examples of badges you might want to add to your README:
   please update the URLs accordingly

    .. image:: https://api.cirrus-ci.com/github/<USER>/cwl-testrunner.svg?branch=main
        :alt: Built Status
        :target: https://cirrus-ci.com/github/<USER>/cwl-testrunner
    .. image:: https://readthedocs.org/projects/cwl-testrunner/badge/?version=latest
        :alt: ReadTheDocs
        :target: https://cwl-testrunner.readthedocs.io/en/stable/
    .. image:: https://img.shields.io/coveralls/github/<USER>/cwl-testrunner/main.svg
        :alt: Coveralls
        :target: https://coveralls.io/r/<USER>/cwl-testrunner
    .. image:: https://img.shields.io/pypi/v/cwl-testrunner.svg
        :alt: PyPI-Server
        :target: https://pypi.org/project/cwl-testrunner/
    .. image:: https://img.shields.io/conda/vn/conda-forge/cwl-testrunner.svg
        :alt: Conda-Forge
        :target: https://anaconda.org/conda-forge/cwl-testrunner
    .. image:: https://pepy.tech/badge/cwl-testrunner/month
        :alt: Monthly Downloads
        :target: https://pepy.tech/project/cwl-testrunner
    .. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter
        :alt: Twitter
        :target: https://twitter.com/cwl-testrunner

.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
    :alt: Project generated with PyScaffold
    :target: https://pyscaffold.org/

|

==============
cwl-testrunner
==============


    Add a short description here!


A longer description of your project goes here...


.. _pyscaffold-notes:

Note
====

This project has been set up using PyScaffold 4.4. For details and usage
information on PyScaffold see https://pyscaffold.org/.