Skip to main content

BIOCAT Python Client Library

Test Python Package PyPI version PyPI License

About

A Python client library to connect to BIOCAT devices.

Installation

pip install pyocat

Usage

import asyncio
import httpx

from pyocat import AsyncAuth, AsyncApiClient

async def main():
    async with httpx.AsyncClient() as client:
        auth = AsyncAuth(client, "<api-key>")
        api = AsyncApiClient(auth)
        state = await api.get_state()
        print(state)

if __name__ == "__main__":
    asyncio.run(main())

Development

Execute to download dependencies:

poetry install

Execute to run the unit tests:

poetry run pytest -vv

Execute to build the library:

poetry build

License

MIT License

Copyright (c) 2026 WATERCryst GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Release files for pyocat 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyocat 1.2.0
File Size Uploaded
pyocat-1.2.0.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyocat 1.2.0
File Interpreter ABI Platform
pyocat-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.7 kB

Release files / pyocat-1.2.0.tar.gz

Download URL pyocat-1.2.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5be9ac52f1679b314f122e2549e92cff696db0ad0ac06284dc172292313747e3
BLAKE2b-256 checksum
How to use checksums
961cf22bb67ac5a72307ae94b7078e2e643afb1f27ed717b71389aa99e0c388e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.

Transparency log

Release files / pyocat-1.2.0-py3-none-any.whl

Download URL pyocat-1.2.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
950bb6430b68658830b302712e4008edd3c33037b4eabc40fcb23a590ac1f703
BLAKE2b-256 checksum
How to use checksums
7db22193edc09b5fb1700a73b524a39ce205bafcb59d93f48035a22ecd01c707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page