semvec/pypi-packages huggingface dataset:
llamaapi 0.1.36
Llama API python SDK
License: MIT
Requires Python: >=3.9,<4.0

# Llama API Client

LlamaAPI is a Python SDK for interacting with the Llama API. It abstracts away the handling of aiohttp sessions and headers, allowing for a simplified interaction with the API.

## Installation

You can install the LlamaAPI SDK using pip:

```python
pip install llamaapi
```

## Usage

After installing the SDK, you can use it in your Python projects like so:

```python
import json
from llamaapi import LlamaAPI

# Initialize the llamaapi with your api_token
llama = LlamaAPI("<your_api_token>")

# Define your API request
api_request_json = {
  "messages": [
    {"role": "user", "content": "Extract the desired information from the following passage.:\n\nHi!"},
  ],
  "functions": [
        {'name': 'information_extraction',
         'description': 'Extracts the relevant information from the passage.',
         'parameters': {
             'type': 'object',
             'properties': {
                 'sentiment': {
                    'title': 'sentiment',
                    'type': 'string',
                    'description': 'the sentiment encountered in the passage'
                    },
                 'aggressiveness': {
                    'title': 'aggressiveness',
                    'type': 'integer',
                    'description': 'a 0-10 score of how aggressive the passage is'
                    },
                 'language': {
                    'title': 'language',
                    'type': 'string',
                    'description': 'the language of the passage'
                    }
             },
             'required': ['sentiment', 'aggressiveness', 'language']
         }
      }
    ],
  "stream": False,
  "function_call": {"name": "information_extraction"},
}

# Make your request and handle the response
response = llama.run(api_request_json)
print(json.dumps(response.json(), indent=2))
```

Other parameters that you can pass in the request json is:

```
{
  ...
  "max_length" = 500,
  "temperature"= 0.1,
  "top_p"= 1.0,
  "frequency_penalty"=1.0
  ...
}
```

Note: Stream is still not working, so it is recommended to submit with `stream: False`.

## Change Log

Version 0.1: Initial release

## Contributing

We welcome contributions to this project. Please see the Contributing Guidelines for more details.

## License

llamaapi SDK is licensed under the MIT License. Please see the License File for more details.
lamadava 1.0.8
Lamadava client, for Python 3.
License: MIT
Requires Python: >=3.8
Keywords: instagram private api,instagram-private-api,instagram api,instagram-api,instagram,instagram-scraper,instagram-client,instagram-stories,instagram-feed,instagram-reels,instagram-insights,downloader,uploader,videos,photos,albums,igtv,reels,stories,pictures,instagram-user-photos,instagram-photos,instagram-metadata,instagram-downloader,instagram-uploader

# Lamadava client, for Python 3

![PyPI](https://img.shields.io/pypi/v/lamadava)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/lamadava)

[![Downloads](https://pepy.tech/badge/lamadava)](https://pepy.tech/project/lamadava)
[![Downloads](https://pepy.tech/badge/lamadava/month)](https://pepy.tech/project/lamadava)
[![Downloads](https://pepy.tech/badge/lamadava/week)](https://pepy.tech/project/lamadava)


## Installation

```
pip install lamadava
```

## Usage

Create token https://lamadava.com/tokens and copy "Access key"

```
from lamadava import Client
cl = Client(token="<ACCESS_KEY>")
user = cl.user_by_username_v2("instagram")
print(user)
```
ethcx 0.0.4
Python wrapper and version management tool for ethereum-targeting compilers.
License: MIT
Requires Python: >=3.6, <4
Keywords: ethereum solidity solc vyper

# ethcx

[![Pypi Status](https://img.shields.io/pypi/v/ethcx.svg)](https://pypi.org/project/ethcx/) [![Build Status](https://img.shields.io/github/workflow/status/ethpwn/ethcx/ethcx%20workflow)](https://github.com/ethpwn/ethcx/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/ethpwn/ethcx)](https://codecov.io/gh/ethpwn/ethcx)

Python wrapper and version management tool for compilers target the ethereum platform.

Currently supports the `solc` Solidity compiler and the `vyper` compiler.

Forked from [`py-solc-x`](https://github.com/iamdefinitelyahuman/py-solc-x).

## Features

* Full support for Solidity `>=0.4.11` and Vyper
* Install Solidity and Vyper on Linux, OSX and Windows
* Compile Solidity from source on Linux and OSX

## Dependencies

`ethcx` allows the use of multiple versions of solc, and can install or compile them as needed. If you wish to compile from source you must first insall the required [solc dependencies](https://solidity.readthedocs.io/en/latest/installing-solidity.html#building-from-source).

For Vyper, `ethcx` can download and install all released versions of the `vyper` compiler binaries from [Github Release](https://github.com/vyperlang/vyper/releases).


## Installation

### From `pypi`

```bash
pip install ethcx
```

### Local (editable) install

```bash
git clone https://github.com/ethpwn/ethcx.git
cd ethcx
pip install -e .
```

## Documentation

Documentation is hosted at [Read the Docs](https://ethcx.readthedocs.io/en/latest/).

## Testing

ethcx is tested on Linux, OSX and Windows with solc versions ``>=0.4.11``.

To run the test suite:

```bash
pytest tests/
```

By default, the test suite installs all available `solc` versions for your OS. If you only wish to test against already installed versions, include the `--no-install` flag.

## Contributing

Help is always appreciated! Feel free to open an issue if you find a problem, or a pull request if you've solved an issue.

Please check out our [Contribution Guide](CONTRIBUTING.md) prior to opening a pull request.

## License

This project is licensed under the [MIT license](LICENSE).