semvec/pypi-packages huggingface dataset:
LeetifyPy 0.15
A web scraping library using Selenium for Leetify to get player data.
License: MIT


Leetify Web Scraping Library

The Leetify Web Scraping Library is a Python package designed to facilitate the extraction of player data from the popular gaming platform Leetify. Leveraging the power of Selenium, this library provides a seamless interface to retrieve essential information about players, including their names, win rates, and teammate details.

Features


 get_player_name(): Extract the player name associated with a given account link on Leetify. The library navigates through the website's structure, locating the relevant elements and delivering accurate player names.

 get_player_win_rate(): Retrieve the win rate percentage of a player by supplying their Leetify account link. The library navigates dynamically loading pages, ensuring accurate and up-to-date win rate information.

 get_player_teammates(): Collect a dictionary of a player's teammates and their respective Leetify account links. The library intelligently identifies and fetches this data, providing a comprehensive overview of a player's gaming network.

 get_steam_profile_link(): gets the steam profile of the leetify profile passed into it

 
 get_player_steam_level(): gets the steam level of the steam profile passed into it

 get_banned(): Gets the banned status of the leetify account passed into it(True/False returns)

 get_aim_stat(): returns the aim stats for a leetify account
gemmaai 0.1.36
Gemma API python SDK
License: MIT
Requires Python: >=3.9,<4.0

# Llama API Client

GemmaAI 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 GemmaAI SDK using pip:

```python
pip install gemmaai
```

## Usage

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

```python
import json
from gemmaai import GemmaAI

# Initialize the gemmaai with your api_token
llama = GemmaAI("<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

gemmaai SDK is licensed under the MIT License. Please see the License File for more details.
gemmaapi 0.1.36
Gemma API python SDK
License: MIT
Requires Python: >=3.9,<4.0

# Llama API Client

GemmaAPI 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 GemmaAPI SDK using pip:

```python
pip install gemmaapi
```

## Usage

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

```python
import json
from gemmaapi import GemmaAPI

# Initialize the gemmaapi with your api_token
llama = GemmaAPI("<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

gemmaapi SDK is licensed under the MIT License. Please see the License File for more details.