semvec/pypi-packages huggingface dataset:
czech-number-utils 1.0.3
Convert numbers to Czech text representations
Requires Python: >=3.6

# Czech Number Utilities

Czech Number Utilities is a Python module for converting numbers into their textual representations in Czech, both cardinal and ordinal forms. It supports grammatical cases and handles large numbers up to billions.

## Features

- Convert numbers to Czech cardinal and ordinal forms.
- Handles complex numbers like millions and billions.
- Supports grammatical rules specific to Czech.

## Installation

You can install the package directly from PyPI:

```bash
pip install czech-number-utils
```

## Usage

```python
from czech_number_utils import number_to_czech_word, number_to_czech_ordinal

# Cardinal numbers
print(number_to_czech_word(1379))  # Output: "tisíc tři sta sedmdesát devět"

# Ordinal numbers
print(number_to_czech_ordinal(23))  # Output: "dvacátý třetí"
```

## Contributing

Contributions are welcome! Please submit issues or pull requests on the [GitHub repository](https://github.com/zbyso23/czech-number-utils).

## License

This project is licensed under the MIT License. See the LICENSE file for details.
screwdrivercd 2.2.967077
Python helper utilities for screwdriver CI/CD
Requires Python: >=3.11
Keywords: ci, cd, screwdriver

[![Build Status](https://cd.screwdriver.cd/pipelines/3063/badge?nocache=true)](https://cd.screwdriver.cd/pipelines/3063)
[![Package](https://img.shields.io/badge/package-pypi-blue.svg)](https://pypi.org/project/screwdrivercd/)
[![Codecov](https://codecov.io/gh/yahoo/python-screwdrivercd/branch/master/graph/badge.svg?nocache=true)](https://codecov.io/gh/yahoo/python-screwdrivercd)
[![Codestyle](https://img.shields.io/badge/code%20style-pep8-blue.svg)](https://www.python.org/dev/peps/pep-0008/)
[![Documentation](https://img.shields.io/badge/Documentation-latest-blue.svg)](https://yahoo.github.io/python-screwdrivercd/)


# screwdrivercd

Python helper utilities for CI/CD

Implementing CI Pipeline templates for screwdriver?  This package provides a number of useful utility scripts that can
be called from CI jobs to automate common operations.

These utilities are used by the screwdrivercd python templates but can be used with other CI/CD
systems as well.

## Table of Contents

- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#license)

## Background

Screwdriver templates that perform complicated operations can be tricky to write and test.  This package contains a number of useful and tested scripts used by Yahoo/Oath/Verizon to perform steps within Screwdriver CI/CD templates.

## Install

This package can be installed using the Python pip package manager that has been configured to use the Oath/Yahoo
internal package repository.

In order to install this package the python environment must have:

* Python version 3.6 or newer
* pip version 8.1.1 or higher
* setuptools 31.0.0 or higher

Install this package using the Python package installer

```console
$ pip install screwdrivercd
```

## Usage

This package contains a number of scripts which are documented in the [project documentation](https://yahoo.github.io/python-screwdrivercd/)

## Contribute

Please refer to [the contributing.md file](Contributing.md) for information about how to get involved. We welcome issues, questions, and pull requests. Pull Requests are welcome.

## Maintainers
Dwight Hubbard: dhubbard@verizonmedia.com

## License

This project is licensed under the terms of the [BSD](LICENSE) open source license. Please refer to [LICENSE](LICENSE) for the full terms.
pproto-py 2.1.4a1
pproto_py is Python implementation of "Point Of View" communication protocol

pproto-py 2.0


### Example Client

```Python
import asyncio
from uuid import UUID
from pproto_py import Client, BaseContent, to_model, BasePprotoErrorContent
from uuid import uuid4, UUID


class testMy(BaseContent):
    value1: int
    value2: str

    async def answer(self, data) -> None:
        print(data)


class testMy2(BaseContent):
    value1: int
    value2: UUID

    @to_model(testMy)
    async def answer(self, data: testMy) -> None:
        print(data.model_dump_json())

    @to_model(BasePprotoErrorContent)
    async def error(self, data: BasePprotoErrorContent) -> None:
        print(data.model_dump_json())


async def main():
    client = await Client.create_connect(host="127.0.0.1", port=8888)

    test2 = testMy2(value1=10, value2=uuid4())
    test_id2 = await test2.send(client, command="114949cb-2b6a-48f4-a5a4-15a682b2f45a")
    print("dsa")


if __name__ == "__main__":
    asyncio.run(main())
```
### Example Server
```Python
import asyncio
from typing import Dict
from uuid import UUID
from pproto_py import Pproto
from pproto_py import BaseContent, BaseMessage, Status, BasePprotoErrorContent


class CommonException(Exception):
    def __init__(self, error: str) -> None:
        super().__init__()
        self.error = error


class testMy(BaseContent):
    value1: int
    value2: str


server = Pproto()


@server.exception_handler(CommonException)
async def common_exception(message: Dict[str,str], exc: CommonException):
    print(exc.error)
    message_error = BaseMessage(command=message.command)
    message_error.flags.exec_status.value = Status.ERROR.value
    message_error.content = BasePprotoErrorContent(error=exc.error)
    return message_error


@server.command(id=UUID("114949cb-2b6a-48f4-a5a4-15a682b2f45a"),
                response_model=testMy)
async def example1(content):
    # raise CommonException(error="Фигня какая-то")
    dsa = testMy(value1=1,value2="dsa")
    return dsa


async def main():
    await server.run()


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