semvec/pypi-packages huggingface dataset:
meu-primeiro-pacote 1.0
Este pacote foi criado como exemplo na aula
Keywords: primeiro,pacote,criar

# CriaÃ§Ã£o de Pacote Python - exemplo

DescriÃ§Ã£o de como o pacote funciona...

- Passos para instalaÃ§Ã£o
- Outras informaÃ§Ãµes importantes (autores, empresa, contato)
JoyMondalSIG 0.1
A Python package to gather system information and check Python installation.

# JoyMondalSIG

JoyMondalSIG is a Python package designed to gather system information and check Python installation.

## Installation

You can install the `JoyMondalSIG` package using `pip`. Open your terminal or command prompt and run:

```bash
pip install JoyMondalSIG
```
### Example 
### Retrieving System Information

```bash 
from JoyMondalSIG import get_system_info

# Retrieve system information
system_info = get_system_info()

# Display system information
for key, value in system_info.items():
    print(f"{key}: {value}")

```
### Checking Python Installation
```bash 
from JoyMondalSIG import check_python_installation

# Check if Python is installed and install if not found
check_python_installation()

```
ttpalette 0.1.1
A library for coloring texts in the terminal
Requires Python: >=3.8

# TTPALETTE
### A library for coloring texts in the terminal

This library works with [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code)

### 256 Color table

The photo is from [here](https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797)<br>
![256 Color table](https://user-images.githubusercontent.com/995050/47952855-ecb12480-df75-11e8-89d4-ac26c50e80b9.png)


## Install

```
pip install ttpalette
```


## Examples

#### Use a specific color

```python
from ttpalette import ttpalette

ttpalette.BackColor().list_costum_colors(14)
ttpalette.Color().list_costum_colors(14)
```

#### Use a solid color

```python
from ttpalette import ttpalette

ttpalette.Color.RED()
ttpalette.BackColor.RED()
```

#### Fixed colors available

```
BLACK
RED
GREEN
YELLOW
BLUE
MAGENTA
CYAN
WHITE

RESET

```

#### Back to normal

```python
from ttpalette import ttpalette


ttpalette.Color.RESET
ttpalette.BackColor.RESET
```
GPTIntegration 0.0.7
A module for integrating various GPT models for diverse tasks.
Requires Python: >=3.6

[![PyPI version](https://badge.fury.io/py/GPTIntegration.svg)](https://badge.fury.io/py/GPTIntegration)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Downloads](https://static.pepy.tech/badge/gptintegration)](https://pepy.tech/project/gptintegration)

# GPTIntegration

`GPTIntegration` is a Python module for integrating GPT models from OpenAI into your projects. It simplifies querying GPT models by handling the setup, communication, and response parsing with the OpenAI API, enabling easy integration and efficient interaction with GPT models.

## Installation

To install `GPTIntegration`, you can use pip:

```bash
pip install GPTIntegration
```

## Usage

### As a Python Module

You can use `GPTIntegration` as a module in your Python scripts.

Example:

```python
from gptintegration import GPTIntegration

# Initialize the integration with your OpenAI API key
gpt_integration = GPTIntegration('your-openai-api-key')

# Prepare messages
system_message = "Your system message goes here."
user_messages = ["Your prompt or user message goes here."]

# Query GPT and get the response
response = gpt_integration.query_gpt(system_message, user_messages)
print(response)
```

### Customizing Your Query

You can customize your query by adjusting the initialization parameters of the `GPTIntegration` class, such as model, temperature, max tokens, and others to fit the specific needs of your application or to tweak the behavior of the GPT model.

## Output Example

When you query GPT using `GPTIntegration`, it sends the system and user messages to the specified GPT model and returns the model's response. Here is an example output:

```
{
    "id": "example-response-id",
    "object": "text_completion",
    "created": 123456789,
    "model": "gpt-3.5-turbo",
    ...,
    "choices": [
        {
            "text": "Response from the GPT model based on the provided messages...",
            "index": 0,
            "logprobs": null,
            "finish_reason": "length"
        }
    ]
}
```

## Contributing

Contributions, issues, and feature requests are welcome! Feel free to check [issues page](https://github.com/chigwell/gptintegration/issues).

## License

[MIT](https://choosealicense.com/licenses/mit/)
jsonschematools 0.2.0
Utilities for working with JSON Schema.
Requires Python: >=3.11
Keywords: json,python,schema

# jsonschematools

## Description
`jsonschematools` is a Python library that provides utilities for working with JSON Schema. It includes features for adding and updating enums in the `$defs` section of a JSON schema, and updating a property of a JSON schema with an existing enum reference.

## Installation
To install `jsonschematools`, you can use pip:

```bash
pip install jsonschematools
```

## Usage
Here is a basic example of how to use `jsonschematools`:

```python
from jsonschematools.enums import add_or_update_enum_in_defs, update_property_with_enum

# Define a basic schema
schema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "tags": {"type": "array", "items": {"type": "string"}},
    },
    "$defs": {},
}

# Add a new enum to the schema
schema = add_or_update_enum_in_defs(schema, "Colors", ["Red", "Blue", "Green"])

# schema now looks like this:
# {
#   "type": "object",
#   "properties": {
#     "name": {
#       "type": "string"
#     },
#     "tags": {
#       "type": "array",
#       "items": {
#         "type": "string"
#       }
#     }
#   },
#   "$defs": {
#     "Colors": {
#       "type": "string",
#       "enum": [
#         "Red",
#         "Blue",
#         "Green"
#       ]
#     }
#   }
# }

# Update a property with the new enum
schema = update_property_with_enum(schema, "Colors", "tags")

# schema now looks like this:
# {
#   "type": "object",
#   "properties": {
#     "name": {
#       "type": "string"
#     },
#     "tags": {
#       "type": "array",
#       "items": {
#         "$ref": "#/$defs/Colors"
#       }
#     }
#   },
#   "$defs": {
#     "Colors": {
#       "type": "string",
#       "enum": [
#         "Red",
#         "Blue",
#         "Green"
#       ]
#     }
#   }
# }
```

## Testing
Tests are written using pytest. To run the tests, use the following command:

```bash
pytest
```

## Contributing
Contributions are welcome! Please fork the repository and create a pull request with your changes.

## License
`jsonschematools` is licensed under the MIT License.

## Contact
For any questions or concerns, please open an issue on GitHub.