semvec/pypi-packages huggingface dataset:
portalai 0.1
Convert code from one language to another using AI.

# Portal

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Description

Portal is an AI code converter for all! Portal can port code from one programming language to another using CodeLLaMA.

## Features

- Accurate code translation via CodeLLaMa and Ollama

## Installation

Install via `pip install portalai` on Windows, `pip3 install portalai` on MacOS/Linux, or `!pip install portalai` on Jupyter Notebook.

## Usage

`portal myscript.py python c`

The command above will translate `myscript.py` into C code from Python.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.
JokeMachine 0.0.1
A library to fetch dad jokes from a list of 3000 jokes.
Requires Python: >=3.6
Keywords: joke, dad joke, humor, funny

# JokeMachine

A Python library to fetch dad jokes from a list of 3000 jokes.

## Installation

You can install JokeMachine via pip:

```bash
pip install JokeMachine
```





```python
from JokeMachine import Dad_Joke

# Fetch a random dad joke
setup, punchline = Dad_Joke()
print(setup)
print(punchline)

# Fetch a random dad joke and print the full joke
full_joke = Dad_Joke(full=True)
print(full_joke)
```
# Documentation
 ## `Dad_Joke()`
Fetches a random dad joke from the API.

**Arguments**
* `full` (bool, optional): If `True`, returns the full joke with a newline between setup and punchline. 
* `str` if `full` is `None`: The full joke as a single string with a newline between setup and punchline.
* `None` if the request fails or no jokes are available.

**Returns**

* `Tuple` if `full` is `None` (Default): A tuple representing the random joke fetched from the API, containing the setup (str) and punchline (str).
* `str` if `full` is `True`: The full joke as a single string with a newline between setup and punchline.
* None if the request fails or no jokes are available.

# Dependencies   
* `requests`


# Author
 Sarah Andersson

* Email Ripsweetener@gmail.com
convertanything 0.0.16
convertanything is a Python package that allows you to convert any text into a structured format according to the schema provided.
Requires Python: >=3.10

# convertanything

`convertanything` is a simple way to convert any unstructured texts into pydantic models in Python with the use of language models. See the [examples notebook](https://github.com/DevXT-LLC/convertanything/blob/main/example.ipynb) for more details.

## Installation

```bash
pip install convertanything
```

## Usage Examples

### ezLocalai

To use with [ezLocalai](https://github.com/DevXT-LLC/ezlocalai) in Python, make sure your ezLocalai server is running then run the following code:

```python
from convertanything import convertanything
from pydantic import BaseModel
from typing import List


class Person(BaseModel):
    name: str
    age: int
    email: str
    interests: List[str]


response = convertanything(
    input_string="Hi my name is John Doe, I am 30 years old, my email is johndoe@example.com . I like to go fishing and watching football.",
    model=Person,
    api_key="Your ezlocalai API Key",
    server="http://localhost:8091",
)
print(response)
```

### AGiXT

To use with [AGiXT](https://github.com/Josh-XT/AGiXT) in Python, make sure your AGiXT server is running then run the following code:

```python
from convertanything import convertanything
from pydantic import BaseModel
from typing import List


class Person(BaseModel):
    name: str
    age: int
    email: str
    interests: List[str]


response = convertanything(
    input_string="Hi my name is John Doe, I am 30 years old, my email is johndoe@example.com . I like to go fishing and watching football.",
    model=Person,
    api_key="Your AGiXT API Key",
    server="http://localhost:7437",
    llm="Your AGiXT Agent Name",
    prompt_name="User Input",
)
print(response)
```

### OpenAI

If you have an OpenAI API key, you can use it as follows with OpenAI language models:

```python
from convertanything import convertanything
from pydantic import BaseModel
from typing import List

class Person(BaseModel):
    name: str
    age: int
    email: str
    interests: List[str]

response = convertanything(
    input_string="Hi my name is John Doe, I am 30 years old, my email is johndoe@example.com . I like to go fishing.",
    model=Person,
    api_key="Your OpenAI API Key",
    llm="gpt-3.5-turbo",
)
print(response)
```
sadif 0.2.0
Secure Asses Data Insight Framework - SADIF
Requires Python: <4.0,>=3.10

# Secure Asses Data Insight Framework - SADIF


[![Release](https://img.shields.io/github/v/release/florestleaks/SADIF)](https://img.shields.io/github/v/release/florestleaks/SADIF)
[![Build status](https://img.shields.io/github/actions/workflow/status/florestleaks/SADIF/main.yml?branch=main)](https://github.com/florestleaks/SADIF/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/florestleaks/SADIF/graph/badge.svg?token=IE1G7T0wo0)](https://codecov.io/gh/florestleaks/SADIF)
[![Commit activity](https://img.shields.io/github/commit-activity/m/florestleaks/SADIF)](https://img.shields.io/github/commit-activity/m/florestleaks/SADIF)
[![License](https://img.shields.io/github/license/florestleaks/SADIF)](https://img.shields.io/github/license/florestleaks/SADIF)


- **Github repository**: <https://github.com/florestleaks/SADIF/>
- **Github Documentation** <https://florestleaks.github.io/SADIF/>
- **OFFICIAL Documentation** <https://forestleaks.com/SADIF/>

# install
```bash
pip3 install sadif 
```