Visualise spacy pattern
Installation
pip install visualise-spacy-pattern
Usage
import visualise_spacy_pattern
# Load the example dependency pattern
pattern_file = 'examples/pattern_1.json'
with open(pattern_file) as f:
pattern = json.load(f)
graph = visualise_spacy_pattern.to_pydot(pattern)
png = graph.create_png()
graph_file = 'examples/graph_1.png'.format()
with open(graph_file, 'wb') as f:
f.write(png)
Metadata
Release files for visualise-spacy-pattern 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| visualise-spacy-pattern-0.0.3.tar.gz | 2.7 kB | Without provenance | Details for visualise-spacy-pattern-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| visualise_spacy_pattern-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for visualise_spacy_pattern-0.0.3-py3-none-any.whl |
Total release size: 7.5 kB
Release files / visualise-spacy-pattern-0.0.3.tar.gz
| Download URL | visualise-spacy-pattern-0.0.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92bc1d675832df98c0b8f853c37401cc87790798e6f899e209ed607d14e5ab78
|
|
BLAKE2b-256 checksum How to use checksums |
756d4625bd928ee1050971aed179e7c4eb9d26c99dceb809b2c91d5185a8cdc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8
|
Release files / visualise_spacy_pattern-0.0.3-py3-none-any.whl
| Download URL | visualise_spacy_pattern-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
520453526a12e85f5fbdc677308a6f046345e1bef249b7c8b72a27e638e0a3ee
|
|
BLAKE2b-256 checksum How to use checksums |
cb8142f635ee9f63fc0f36354ec2b341d373037e5bf080a459d2809ffdcf24ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8
|
Security for visualise-spacy-pattern 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.