semvec/pypi-packages huggingface dataset:
mongomock-motor 0.0.36
Library for mocking AsyncIOMotorClient built on top of mongomock.
License: MIT
Requires Python: <4.0,>=3.8
Keywords: library, mongodb

# mongomock-motor

[![PyPI version](https://badge.fury.io/py/mongomock-motor.svg)](https://badge.fury.io/py/mongomock-motor)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmichaelkryukov%2Fmongomock_motor.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmichaelkryukov%2Fmongomock_motor?ref=badge_shield)

Best effort mock for [AsyncIOMotorClient](https://motor.readthedocs.io/en/stable/api-asyncio/asyncio_motor_client.html)
(Database, Collection, e.t.c) built on top of [mongomock](https://github.com/mongomock/mongomock) library.

## Example / Showcase

```py
from mongomock_motor import AsyncMongoMockClient


async def test_mock_client():
    collection = AsyncMongoMockClient()['tests']['test-1']

    assert await collection.find({}).to_list(None) == []

    result = await collection.insert_one({'a': 1})
    assert result.inserted_id

    assert len(await collection.find({}).to_list(None)) == 1
```

## License

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmichaelkryukov%2Fmongomock_motor.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmichaelkryukov%2Fmongomock_motor?ref=badge_large)
kmux.py 0.2.1
Tmux launcher for kubernetes
License: MIT
Requires Python: >=3.8

kmux
====================

A tmux launcher for Kubernetes that creates one pane per pod, sets the env
variables ``POD``, ``KUBE_CONTEXT``, and ``KUBE_NAMESPACE`` and runs the commands in
the given input file in every pane.

Dependencies
========================================

* Python3.8+
* smux
* tmux (any version)

Installation
========================================

Run the following command::

    pip3 install kmux.py

Usage
========================================

0. Create a new file, either from scratch or by copying Sample.kmux.
1. Type in the commands that you want to run, likely dependent on the
   selected POD.::

     ---------
     command1
     command2
     command3

  Note that a pane does not necessary need to run any commands.

3. Run ``kmux.py <input_file_name>``. By default, this will run the commands
   in the input file against all pods in the current Kubernetes context.
   You may also specify a target context with the command line option
   ``--kube_context``. It will exhibit undefined behavior if there is no
   current context and no context has been specified.
awsome-python-tamplate 0.1.0
A fancy modern Python project template.
License: MIT
Requires Python: <4.0,>=3.11

# awsome-python-tamplate

A fancy modern Python project template.

![CI](https://github.com/YOUR_USERNAME/awsome-python-tamplate/actions/workflows/ci.yml/badge.svg)
[![PyPI version](https://badge.fury.io/py/awsome-python-tamplate.svg)](https://badge.fury.io/py/awsome-python-tamplate)

## Features

- 🧪 Pytest + Coverage
- 🔧 Pre-commit: black, ruff, mypy, pytest
- 🐍 Poetry for dependency management
- ⚙️ Dynaconf for configuration
- ✅ GitHub Actions CI
- 📦 PyPI-ready packaging
- 🔁 justfile for quick commands

---

## Setup

```bash
poetry install
just setup
```

---

MIT License
nixeval 0.1.1
Read and write nix expressions in python
License: MIT
Requires Python: >=3.7
Keywords: rust, pyo3, maturin

# py-nixeval

Python bindings for evaluating and round‑tripping Nix expressions into Python Values, powered by \[snix\_eval] and \[PyO3].

## Features

* **Parse Nix expressions** into native Python objects.
* **Serialize Python objects** to JSON then convert back into Nix values using
* **Windows/Linux/Mac support** Nix is usually not seen in windows, but thanks to tvix/snix projects now you can use it on windows as well as common platforms.
* **Seamless round‑trip** between Nix and Python data structures.

## Limitations

The implementation internally relies on the python json module and on nix features builtins.toJSON and builtins.fromJSON, this means that an unevaluated lambda in the result will not work.  
## Installation

Install from PyPI:

```bash
pip install nixeval
```

Or test it from source:

```bash
git clone https://github.com/yourusername/py-nixeval.git
cd py-nixeval
nix-shell
maturin develop --release
```

## Quickstart

```python
import nixeval

# Parse a Nix list into Python
data = nixeval.loads('[ 1 2 3 ]')
assert data == [1,2,3]

# Parse a Nix attribute set into Python dict
config = nixeval.loads('{ foo = "bar"; baz = [ true false ]; }')
print(config)
# {'baz': [True, False], 'foo': 'bar'}
```