https://github.com/bramvanroy/spacy_download

Download and load spaCy models on-the-fly

https://github.com/bramvanroy/spacy_download

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Download and load spaCy models on-the-fly

Basic Info
  • Host: GitHub
  • Owner: BramVanroy
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 9.77 KB
Statistics
  • Stars: 15
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created over 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme Changelog License

README.md

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(), meaning that you can also exclude or disable pipeline components. Example:

```python from spacydownload import loadspacy

Will download the model if it isn't installed yet

nlp = loadspacy("encorewebsm", 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. 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.

Owner

  • Name: Bram Vanroy
  • Login: BramVanroy
  • Kind: user
  • Location: Belgium
  • Company: @CCL-KULeuven @instituutnederlandsetaal

👋 My name is Bram and I work on natural language processing and machine translation (evaluation) but I also spend a lot of time in this open-source world 🌍

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 5
  • Total Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Bram Vanroy B****y@U****e 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • markusdr (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 6,617 last-month
  • Total dependent packages: 3
  • Total dependent repositories: 1
  • Total versions: 2
  • Total maintainers: 1
pypi.org: spacy-download

Download and load spaCy models on-the-fly.

  • Versions: 2
  • Dependent Packages: 3
  • Dependent Repositories: 1
  • Downloads: 6,617 Last month
Rankings
Dependent packages count: 2.4%
Downloads: 3.2%
Average: 13.2%
Stargazers count: 16.1%
Dependent repos count: 21.6%
Forks count: 22.7%
Maintainers (1)
Last synced: 10 months ago

Dependencies

setup.py pypi
  • spacy <4