semvec/pypi-packages huggingface dataset:
pydantic2graphene 0.5.1
Easy way to convert pydantic2graphene models to graphene objects.
License: MIT
Requires Python: >=3.6,<3.11
Keywords: python,api,graphql,graphene,pydantinc

# pydantic2graphene

[![CI](https://github.com/lfvilella/pydantic2graphene/workflows/CI/badge.svg?event=push)](https://github.com/lfvilella/pydantic2graphene/actions?query=event%3Apush+branch%3Amaster+workflow%3ACI)
[![Forwards Compatibility](https://github.com/lfvilella/pydantic2graphene/workflows/Forwards%20Compatibility/badge.svg?event=schedule)](https://github.com/lfvilella/pydantic2graphene/actions?query=event:schedule+branch:master+workflow:Forwards%20Compatibility)
[![Coverage](https://codecov.io/gh/lfvilella/pydantic2graphene/branch/master/graph/badge.svg)](https://codecov.io/gh/lfvilella/pydantic2graphene)
[![pypi](https://img.shields.io/pypi/v/pydantic2graphene.svg)](https://pypi.python.org/pypi/pydantic2graphene)
[![versions](https://img.shields.io/pypi/pyversions/pydantic2graphene.svg)](https://github.com/lfvilella/pydantic2graphene)
[![license](https://img.shields.io/github/license/lfvilella/pydantic2graphene.svg)](https://github.com/lfvilella/pydantic2graphene/blob/master/LICENSE)

Easy way to convert pydantic2graphene models to graphene objects.

## Install

    $ pip install pydantic2graphene

## A Simple Example

Using `to_graphene`

```py
import pydantic
import pydantic2graphene

class User(pydantic.BaseModel):
    email: str
    active: bool = False

UserGql = pydantic2graphene.to_graphene(User)
```

Converting to multiple graphene types with `ConverterToGrapheneBase`

```py
import pydantic
import pydantic2graphene

class User(pydantic.BaseModel):
    email: str
    active: bool = False

class UserConverter(pydantic2graphene.ConverterToGrapheneBase):
    class Config:
        model = User

UserGql = UserConverter.as_class()  # graphene.ObjectType
UserInputGql = UserConverter.as_class(graphene.InputObjectType)
UserInterfaceGql = UserConverter.as_class(graphene.Interface)
```

[More Examples](https://github.com/lfvilella/pydantic2graphene/tree/master/docs/examples)
flurs 0.0.5
A library for streaming recommendation algorithms
License: MIT

FluRS: Streaming Recommendation in Python
==========================================

|Build status| |PyPI version|

.. |Build status| image:: https://github.com/takuti/flurs/actions/workflows/dryrun.yml/badge.svg
   :target: https://github.com/takuti/flurs/actions/workflows/dryrun.yml
.. |PyPI version| image:: https://badge.fury.io/py/flurs.svg
   :target: https://badge.fury.io/py/flurs

**FluRS** is a Python library for online item recommendation. The name indicates *Flu-** (Flux, Fluid, Fluent) *Recommender Systems* which incrementally adapt to dynamic user-item interactions in a streaming environment.

.. image:: https://raw.githubusercontent.com/takuti/flurs/master/doc/images/structure.png
    :width: 512 px

Installation
------------

.. code:: sh

    pip install flurs

Usage
-----

See `documentation <https://flurs.readthedocs.io/>`_ for detail.

Learn More
----------

* `FluRS: A Library for Streaming Recommendation Algorithms <https://speakerdeck.com/takuti/flurs-a-library-for-streaming-recommendation-algorithms>`_ at `EuroSciPy 2017 <https://www.euroscipy.org/2017/>`_ (`video <https://www.youtube.com/watch?v=nARfsX63nDc>`_)
* `FluRS: A Python Library for Online Item Recommendation | takuti.me <https://takuti.me/note/flurs/>`_
* A repository `takuti/stream-recommender <https://github.com/takuti/stream-recommender>`_ uses `FluRS v0.0.1 <https://pypi.python.org/pypi/flurs/0.0.1>`_ to write research papers.
bb-python 0.1.3
bb Python Client
License: MIT

# bb Python Client

### Install

First install the bb binary, then pip install:

    go install github.com/MattSimmons1/bb@latest
    pip install bb-python

If you don't have go installed, download the bb binary from the [releases page](https://github.com/MattSimmons1/bb/releases) 
and save to a location on your PATH or your working directory.

### Usage

Convert bb strings to Python lists/dicts (JSON objects):

```python
import bb

data = bb.convert("""
    
    ∆ = { type: pizza }
    
    3∆ 5∆ 5∆ 8∆ 2∆
    
""")

print(data)  # [{'type': 'pizza', 'quantity': 3}, {...
```

Convert files by providing a file path:

```python
import bb

data = bb.convert("path/to/file.bb.txt")
```

Convert in injection mode with `bb.extract`:

```python
import bb
documentation = bb.extract("my_code.py")
```