semvec/pypi-packages huggingface dataset:
pyrdfj2 0.0.5
Python wrapper on jinja SPARQL templating
License: MIT
Requires Python: >=3.8.1,<4.0

pyrdfj2
===================================

Python wrapper on jinja SPARQL templating

Started on 2023-06-09

Setup
-----
Start using this project with poetry


.. code-block:: bash

    $ make init       # install dependencies
    $ make init-dev   # includes the previous + adds dependencies for developers

Build Docs

.. code-block:: bash

    $ make docs



Developers
----------

Run Tests

.. code-block:: bash

    $ make test                                                   # to run all tests
    $ PYTEST_LOGCONF=debug-logconf.yml python tests/test_demo.py  # to run a specific test with specific logging
    $ make test-coverage                                          # to run all tests and check the test coverage


Check the code-style and syntax (flake8, black, isort)

.. code-block:: bash

    $ make check
coder-retriever 0.1.4
Coder Retriever: your loyal coding companion
License: MIT
Requires Python: >=3.9,<4.0

# Coder Retriever 🦮

[![Pylint](https://github.com/GitMarco27/coder_retriever/actions/workflows/pylint.yml/badge.svg?branch=main)](https://github.com/GitMarco27/coder_retriever/actions/workflows/pylint.yml)
![example workflow](https://img.shields.io/github/license/GitMarco27/GitMarco)
[![Testing](https://github.com/GitMarco27/coder_retriever/actions/workflows/python-package.yml/badge.svg)](https://github.com/GitMarco27/coder_retriever/actions/workflows/python-package.yml)

CodeRetriever: Your loyal coding companion. Just like a Golden Retriever, we're here to fetch and provide you with the most essential pieces of code.

## Installation

Install the latest release:

`
  pip install coder_retriever
`

or intall the up-to-date version (might be unstable):

`
  pip install git+https://github.com/GitMarco27/coder_retriever.git
`

## Examples

### AI Assistant Digit Mnist Classifier

You can find the complete example [here](https://github.com/GitMarco27/coder_retriever/blob/main/examples/notebooks/digit_mnist_0_1_2.ipynb)

```python
import coder_retriever as cr

assistant = cr.ai.assistant.AiAssistant(openai_api_key="YOUR API KEY")

query = """

- Load the digit mnist dataset from tensorflow datasets and covert it to X (images) and Y (labels) as numpy arrays

"""
assistant.run_code(query, vars=vars())

...

query = """

- Show a batch of classified images, displaying True and Predicted labels.

"""
assistant.run_code(query, vars=vars())
```

![download](https://github.com/GitMarco27/coder_retriever/assets/72693100/7a646205-9e3b-4bba-89f5-317d2a313369)
sd-meh 0.9.5
stable diffusion merging execution helper
License: MIT
Requires Python: >=3.10,<4.0

# sd-meh

[![PyPI version](https://badge.fury.io/py/sd-meh.svg)](https://badge.fury.io/py/sd-meh)

[![](https://dcbadge.vercel.app/api/server/EZJuBfNVHh)](https://discord.gg/EZJuBfNVHh)


The merging execution helper (meh) is a python module for stable diffusion models merging.
This repository will never contain code for a webui extension.
This is because the aim is to have a GUI agnostic merging engine that can be reused in multiple extensions. 

You can install the module as

```
pip install sd-meh
```

and then use it in your extension as

```python
from sd_meh.merge import merge_models

merged_model = merge_models(models, weights, bases, merge_mode, precision)
```

You can have a look at the provided `merge_models.py` cli for an example on how to use the function. Run `python3 merge_models.py --help` for a list of the available arguments.

[Join](https://discord.gg/EZJuBfNVHh) our discord server for discussion and features/bugfix requests

## Changelog

### 0.9.1 ... 0.9.3
- bugfixes
- support for pix2pix and inpainting models

### 0.8.0
- add `-bwpab, --block_weights_preset_alpha_b"` and `-pal, --presets_alpha_lambda` for presets interpolation (same for `beta`)
- add `-ll, --logging_level`, default to `INFO`

### 0.7.0
- add `-bwpa, --block_weights_preset_alpha` and `-bwpb, --block_weights_preset_beta` to use pre-defined merging weights. Have a look at the [wiki](https://github.com/s1dlx/meh/wiki/Presets) for all the presets
- add `-wd, --work_device`
- add `-pr, --prune`
- add `-j, --threads`


## DEV

PRs are welcome for both new features and bug fixes. 

Please make sure you format the code with black (you can `make format`) before submitting a PR.

### You want to add a `feature`

- open a `feat:` PR merging to `dev` branch, not `main`
- *do not* update version numbers
- ask for a review

### You want to make a bug `fix`

- open a `fix:` PR mergin to `main`
- update version number in `pyproject.toml` and `sd_meh/__init__.py`
- ask for a review