semvec/pypi-packages huggingface dataset:
prod-assert 1.0.0
Prod safe Python assert library
Requires Python: >=3.9
Keywords: assert, asserts, prod

# prod_assert

# The What?

prod_assert is a Python library containing prod safe assert function.
This library contains asserts functions as prod_assert (the base assert), assert_eq, assert_in, etc.
Asserts in this library, by default, raise AssertionFailed excetption, with the option to raise AssertionError.

# The Why?

A senior at work annoyed me by saying I can't use assert in prod, so here are asserts I can use in prod.

# Example

```python
from prod_assert import assert_eq

# Nothing happens
assert_eq(1, 1)

# Assert fails and raises AssertionFailde with the default message
assert_eq(1, 2)
### prod_assert._main.AssertionFailed: Condition 1 == 2 is false

# Assert fails and raises AssertionFailed with the custom message
assert_eq(1, 2, "One does not equal two")
### prod_assert._main.AssertionFailed: One does not equal two

# Assert fails and raises AssertionError with the default message
assert_eq(1, 2, assertion_exception=AssertionError)
### AssertionError: Condition 1 == 2 is false

```

# Functions and Classes

```python
class AssertionFailed(Exception):
    pass


AssertionException = Union[AssertionFailed, AssertionError]


def prod_assert(
    condition: bool,
    message: str,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_eq(
    a: Any,
    b: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:
   

def assert_not_eq(
    a: Any,
    b: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_true(
    a: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:
 

def assert_false(
    a: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_is(
    a: Any,
    b: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_is_not(
    a: Any,
    b: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_is_none(
    a: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_is_not_none(
    a: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_in(
    a: Any,
    b: Container[Any],
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_not_in(
    a: Any,
    b: Container[Any],
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_is_instance(
    a: Any,
    b: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:


def assert_not_is_instance(
    a: Any,
    b: Any,
    message: Optional[str]=None,
    assertion_exception: AssertionException=AssertionFailed
) -> None:

```
datatoolsdemo 0.0.8
A small demo package to practice Dependabot.
Requires Python: <4.0,>=3.11

[![Coverage Status](https://coveralls.io/repos/github/Jyppara/python-dependabot-demo/badge.svg?branch=feature/add-coveralls)](https://coveralls.io/github/Jyppara/python-dependabot-demo?branch=feature/add-coveralls)
[![PyPI](https://img.shields.io/pypi/v/datatoolsdemo)](https://pypi.org/project/datatoolsdemo/)

# python-dependabot-demo

This repository is a lightweight practice project for experimenting with a  Python development workflow.
The goal is to demonstrate how dependency management, automated releases, and CI pipelines work together in a realistic setup.

The project includes:

- A Python package (AI-generated code: simple data utilities + tests)
- Poetry for dependency management and packaging
- Dependabot for automatic dependency update pull requests
- A CI pipeline (GitHub Actions) that:
    - runs tests on every branch
    - builds and publishes the package to PyPI when changes are merged into main
- Automatic version tagging and GitHub Releases on every successful publish
- A fully working PyPI release flow

All source code and tests were generated using AI to serve as a clean and minimal example of how to structure a Python package with automated tooling.
yeo 0.3.2a1
A declarative dotfiles snapshot tool
Requires Python: >=3.14

# Yeo

https://github.com/user-attachments/assets/7d1d95fe-e0be-482b-b265-462f2e0cd696

Yeo is a declarative dotfiles snapshot tool built in Python with zero third-party dependencies.

Yeo allows you to copy your dotfiles, or any set of specified files, into a different directory and keep them in sync by running the `sync` command. Your dotfiles snapshot can then be used with a VCS, uploaded to GitHub, etc.

## Using Yeo

Yeo is still a WIP.

### Prerequisites

While yeo is in active development and using a pre-release model, we recommend testing it out by using [uv](https://docs.astral.sh/uv/) and `uvx`. 

1. Create a directory for your dotfiles to be managed.
2. Run `uvx yeo init` from inside of the directory. This will create a `yeo.json` file.
3. Open the `yeo.json` file and replace the specified paths with your desired dotfiles. Paths assume a starting `~/` directory and work from there.
4. Run `uvx yeo sync` to sync your dotfiles.

That's it!

## Contributing

I am using [uv](https://docs.astral.sh/uv/) to develop Yeo. If you would like to contribute, please: 

1. Clone the Git repository
2. Create a new branch with your changes
3. Make changes
3. Open a pull request

Thank you!
python3-cyberfusion-rpc-client 1.1
Developer-friendly RPC client to publish RPC requests and receive responses.

# python3-cyberfusion-rpc-client

This library provides a developer-friendly interface to do RPC requests (using [Pika](https://github.com/pika/pika)).

The library can be used on the requesting side of [RabbitMQ consumer](https://github.com/CyberfusionIO/python3-cyberfusion-rabbitmq-consumer).

# Install

## Debian

Run the following commands to build a Debian package:

    mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
    dpkg-buildpackage -us -uc

## PyPI

Run the following command to install the package from PyPI:

    pip3 install python3-cyberfusion-rpc-client

# Configure

No configuration is supported.

# Usage

## Example

```python
from cyberfusion.RPCClient import RPCClient, ContentType
from cyberfusion.RPCClient.containers import RabbitMQCredentials

credentials = RabbitMQCredentials(
    ssl_enabled=True,
    port=5672,
    host='localhost',
    username='guest',
    password='guest',
    virtual_host_name='/',
)

queue_name = 'example.com'
exchange_name = 'dx_order_fruit'

client = RPCClient(credentials, queue_name=queue_name, exchange_name=exchange_name)
response = client.request(body={'amount': 10000, 'type': 'banana'}, content_type=ContentType.JSON)

print(response)
```