Yarrow: a data format for computer vision
What is it ?
yarrow is a python package to parse, manipulate and serialize data following the yarrow data schema. This format is oriented around computer vision data and is heavily inspired by the COCO dataset format and was initially developed and used in Michelin projects.
How to install
pip install yarrow
How to use
You can find multiple examples in the examples directory and soon in a proper documentation (WIP). Here are a few examples.
import json
from yarrow import YarrowDataset
# say you have a yarrow file at path
file_path = "path/to/file.yarrow.json"
yar_set = YarrowDataset.parse_file(file_path)
# You now have a YarrowDataset !
# Add annotations
annot = Annotation(...) # see documentation for parameters
yar_set.add_annotation(annot)
# now save it somewhere else
with open("path/to/other/file.yarrow.json", "w") as fp:
json.dump(yar_set.pydantic().dict(), fp, default=str)
License
Metadata
Release files for pyyarrow 1.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 |
|---|---|---|---|---|
| pyyarrow-1.0.3.tar.gz | 31.7 kB | Without provenance | Details for pyyarrow-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyyarrow-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for pyyarrow-1.0.3-py3-none-any.whl |
Total release size: 52.8 kB
Release files / pyyarrow-1.0.3.tar.gz
| Download URL | pyyarrow-1.0.3.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c50990fb5c423405849c1dd86be5d86cb0678c3d08237fa3951017b07f1da45f
|
|
BLAKE2b-256 checksum How to use checksums |
d6216959a5c1479d81453c45d11e2b42f542be928ec91a60ae843db14d166b6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.2
|
Release files / pyyarrow-1.0.3-py3-none-any.whl
| Download URL | pyyarrow-1.0.3-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
530d26dab79d191afc25129a3607e365178edefb86c431c82add7ec6889ed1c1
|
|
BLAKE2b-256 checksum How to use checksums |
c0dfd068e7657b5fcf64074ec589671a8f694ca0ab515ddc6fe1db3eae47431d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.2
|
Security for pyyarrow 1.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.