semvec/pypi-packages huggingface dataset:
pyyarrow 1.0.3
Yarrow Format parsing lib
Requires Python: >= 3.6

# 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](/schema/yarrow_schema.json). This format is
oriented around computer vision data and is heavily inspired by the COCO
[dataset format](https://cocodataset.org/#format-data) and was initially developed
and used in Michelin projects.

## How to install

```sh
pip install yarrow
```

## How to use

You can find multiple examples in the [examples directory](/examples/) and soon in a proper documentation (WIP). Here are a few examples.

```python
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

[Apache 2.0](LICENSE)
anvil-new 1.0.1
A Minecraft anvil file format parser, designed to work with minecraft versions 1.16+.

# anvil-new

[![PyPI - Downloads](https://img.shields.io/pypi/dm/anvil-new)](https://pypi.org/project/anvil-new/)

Simple parser for the [Minecraft anvil file format](https://minecraft.gamepedia.com/Anvil_file_format), in Minecraft 1.16+.

Based on [matcool's anvil-parser](https://github.com/matcool/anvil-parser), all credit goes to them.
# Installation
This project is available on [PyPI](https://pypi.org/project/anvil-new/) and can be installed with pip
```
pip install anvil-new
```
or directly from github
```
pip install git+https://github.com/intergalactyc/anvil-new.git
```

# Usage
Documentation coming soon.

# Note
This package is only made to be compatible with mca files from Minecraft versions 1.16+. For previous versions, install the [original anvil-parser package](https://pypi.org/project/anvil-parser/). 
As of right now, it cannot be used alongside the original, only in place of it.