semvec/pypi-packages huggingface dataset:
bcf-api-xml 0.4.19
Convert BCF-API to BCF-XML
License: MIT
Requires Python: <4.0,>=3.10

BCF-API-XML-converter
=====================

BCF-API-XML-converter is a library to open BCFzip and get data similar to BCF API json and to save BCF API data as BCFzip files.


# Install
```bash
pip install bcf-api-xml
```

# usage
```python
    from bcf_api_xml import to_zip, to_json

    file_like_bcf_zip = to_zip(topics, comments, viewpoints)

    imported_topics = to_json(file_like_bcf_zip)
```

# develop
```bash
poetry shell
poetry install
pytest
pre-commit install
```

# Publish new version
Update version number in `pyproject.toml` and `bcf_api_xml/__init__.py` then

```bash
poetry publish --build --username= --password=
```