diff --git a/spacy/__init__.py b/spacy/__init__.py index 52ebf0635..ca5a39f05 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -41,3 +41,8 @@ def load(name, **overrides): overrides['meta'] = meta overrides['path'] = Path(data_path / name) return cls(**overrides) + + +def info(name): + meta = parse_package_meta(util.get_data_path(), name) + print(json.dumps(meta, indent=2))